// File: 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:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movzbl 0x27b54f(%rip), %eax    # 0x29bf1e
cmpl $0x0, %eax
je 0x209e1
cmpb $0x0, 0x27b542(%rip)    # 0x29bf1d
je 0x20d9c
movzbl 0x34afa0(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x209f6
movl $0x0, -0xc(%rbp)
jmp 0x20a15
cmpb $0x0, 0x27d721(%rip)    # 0x29e11e
je 0x20a0a
movl 0x256f73(%rip), %eax    # 0x277978
movl %eax, -0xc(%rbp)
jmp 0x20a13
movl 0x256f74(%rip), %eax    # 0x277984
movl %eax, -0xc(%rbp)
jmp 0x20a15
cmpb $0x0, 0x27b502(%rip)    # 0x29bf1e
je 0x20a4d
cmpl $0x2, 0x27b443(%rip)    # 0x29be68
jle 0x20a4d
cmpl $0x4fa, 0x256faf(%rip)  # imm = 0x4FA
jge 0x20a4d
leaq 0x37a9c6(%rip), %rdi    # 0x39b400
leaq 0x175c78(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x20d97
cmpb $0x0, 0x379b7c(%rip)    # 0x39a5d0
je 0x20d95
movq 0x259b1f(%rip), %rax    # 0x27a580
imulq 0x259b0f(%rip), %rax    # 0x27a578
movslq 0x256ff4(%rip), %rcx    # 0x277a64
imulq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x8(%rbp)
cvtsi2sdl 0x259b2a(%rip), %xmm1 # 0x27a5b0
movsd -0x8(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
movsd 0x14e577(%rip), %xmm1   # 0x16f018
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
cvtsi2sdl 0x256fb2(%rip), %xmm1 # 0x277a64
cvtsi2sdl 0x256f9a(%rip), %xmm0 # 0x277a54
divsd %xmm0, %xmm1
movsd -0x8(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd 0x259a64(%rip), %xmm1   # 0x27a538
movsd -0x8(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movl 0x256ef8(%rip), %eax    # 0x2779e0
movl %eax, -0x14(%rbp)
imull $0x31a, 0x261c2f(%rip), %eax # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x14(%rbp), %eax
cmpl %ecx, %eax
jl 0x20b12
cmpl $0x258, 0x256ed4(%rip)  # imm = 0x258
jge 0x20b31
movsd -0x8(%rbp), %xmm0
leaq 0x37a8e2(%rip), %rdi    # 0x39b400
leaq 0x14fedf(%rip), %rsi    # 0x170a04
movb $0x1, %al
callq 0x9060
jmp 0x20bce
movl 0x256ea9(%rip), %eax    # 0x2779e0
movl %eax, -0x18(%rbp)
imull $0x31a, 0x261be0(%rip), %eax # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x18(%rbp), %eax
cmpl %ecx, %eax
jg 0x20b7d
movzbl 0x256edd(%rip), %eax    # 0x277a39
cmpl $0x1, %eax
je 0x20b7d
movsd -0x8(%rbp), %xmm0
leaq 0x37a893(%rip), %rdi    # 0x39b400
leaq 0x14fe90(%rip), %rsi    # 0x170a04
movb $0x1, %al
callq 0x9060
jmp 0x20bcc
movsd 0x14e4e3(%rip), %xmm0   # 0x16f068
ucomisd -0x8(%rbp), %xmm0
jbe 0x20bb0
movsd 0x14e484(%rip), %xmm0   # 0x16f018
mulsd -0x8(%rbp), %xmm0
leaq 0x37a860(%rip), %rdi    # 0x39b400
leaq 0x14fe6b(%rip), %rsi    # 0x170a12
movb $0x1, %al
callq 0x9060
jmp 0x20bca
movsd -0x8(%rbp), %xmm0
leaq 0x37a844(%rip), %rdi    # 0x39b400
leaq 0x14fe64(%rip), %rsi    # 0x170a27
movb $0x1, %al
callq 0x9060
jmp 0x20bcc
jmp 0x20bce
cmpq $0x1, 0x2599aa(%rip)    # 0x27a580
je 0x20be1
movl $0x9, -0x10(%rbp)
jmp 0x20be8
movl $0xf, -0x10(%rbp)
cmpb $0x0, 0x27b32f(%rip)    # 0x29bf1e
je 0x20c1d
cmpl $0x1e0, 0x256de9(%rip)  # imm = 0x1E0
jg 0x20c1d
cmpl $0x2, 0x27b264(%rip)    # 0x29be68
jle 0x20c1d
leaq 0x37a7f3(%rip), %rdi    # 0x39b400
leaq 0x175aa5(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x20c6a
movl 0x256d89(%rip), %edi    # 0x2779ac
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %eax
leaq 0x37a7d0(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
movzbl 0x34ad49(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x20c4f
movl -0xc(%rbp), %eax
addl $0x14, %eax
movl %eax, -0xc(%rbp)
jmp 0x20c5e
movl 0x256d57(%rip), %eax    # 0x2779ac
addl $-0x1, %eax
movl %eax, 0x256d4e(%rip)    # 0x2779ac
movl 0x256d48(%rip), %eax    # 0x2779ac
movl %eax, 0x256d46(%rip)    # 0x2779b0
movq 0x25990f(%rip), %rax    # 0x27a580
imulq 0x2598ff(%rip), %rax    # 0x27a578
movslq 0x256de4(%rip), %rcx    # 0x277a64
imulq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x8(%rbp)
cvtsi2sdl 0x25991a(%rip), %xmm1 # 0x27a5b0
movsd -0x8(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd 0x25988c(%rip), %xmm1   # 0x27a538
movsd -0x8(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
cmpb $0x0, 0x27b25d(%rip)    # 0x29bf1e
je 0x20cf2
cmpl $0x1e0, 0x256d17(%rip)  # imm = 0x1E0
jg 0x20cf2
cmpl $0x2, 0x27b192(%rip)    # 0x29be68
jle 0x20cf2
leaq 0x37a721(%rip), %rdi    # 0x39b400
leaq 0x1759d3(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x20d93
movsd 0x14e43e(%rip), %xmm0   # 0x16f138
ucomisd -0x8(%rbp), %xmm0
jbe 0x20d29
movsd -0x8(%rbp), %xmm0
movsd 0x14e30a(%rip), %xmm1   # 0x16f018
divsd %xmm1, %xmm0
leaq 0x37a6e7(%rip), %rdi    # 0x39b400
leaq 0x14fd1c(%rip), %rsi    # 0x170a3c
movb $0x1, %al
callq 0x9060
jmp 0x20d4f
movsd -0x8(%rbp), %xmm0
movsd 0x14e2da(%rip), %xmm1   # 0x16f010
divsd %xmm1, %xmm0
leaq 0x37a6bf(%rip), %rdi    # 0x39b400
leaq 0x14fd08(%rip), %rsi    # 0x170a50
movb $0x1, %al
callq 0x9060
movl 0x256c57(%rip), %edi    # 0x2779ac
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %eax
leaq 0x37a69e(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
movzbl 0x34ac17(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x20d78
jmp 0x20d87
movl 0x256c2e(%rip), %eax    # 0x2779ac
addl $-0x1, %eax
movl %eax, 0x256c25(%rip)    # 0x2779ac
movl 0x256c1f(%rip), %eax    # 0x2779ac
movl %eax, 0x256c1d(%rip)    # 0x2779b0
jmp 0x20d95
jmp 0x20d97
callq 0x1e8f0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)