// File: jkingan[P]ladyheather/heathmsc.cpp
// Function: label_lla_header()
void label_lla_header()
{
int moused;
char s[SLEN];

   // draw the lat/lon scattergram label

   sprintf(s, "%s/div", angle_units);
   moused = 0;
   if(autoscale_lla && have_valid_lla) {
      strupr(s);
      moused = find_mouse_lla();
   }

if(autoscale_lla && show_debug_info) sprintf(debug_text5, "lla span: %.9f  ref:%.9f %.9f", LLA_SPAN,  ref_lat*RAD_TO_DEG,ref_lon*RAD_TO_DEG);  //llascale
   if(zoom_screen && (zoom_screen != 'L')) ;
   else if(text_mode || (SCREEN_WIDTH > NARROW_SCREEN)) {
      if(check_precise_posn) sprintf(out, "Saving precise position  ");
      else if(show_fixes) {
         if(rcvr_type == TIDE_RCVR)  sprintf(out, "Earth tide (%.1f %s/div from):   ", (TIDE_LLA_SPAN), TIDE_UNITS);   // ckckck
         else if(show_tides) sprintf(out, "Earth tide (%.1f %s/div from):   ", (TIDE_LLA_SPAN), TIDE_UNITS);   // ckckckck
         else if(moused) sprintf(out, "Mouse lat/lon:               ");
         else if(rcvr_mode == 4)     sprintf(out, "3D Fixes (%d %s from):     ", ((int)LLA_SPAN), s);
         else if(rcvr_mode == 3)     sprintf(out, "2D Fixes (%d %s from):     ", ((int)LLA_SPAN), s);
         else if(rcvr_mode == 0)     sprintf(out, "2D/3D Fixes (%d %s from):  ", ((int)LLA_SPAN), s);
         else if(configed_mode == 5) sprintf(out, "Mode %d Fixes (%d %s from):", configed_mode, ((int)LLA_SPAN), s);
         else                        sprintf(out, "Mode %d fixes (%d %s from):", rcvr_mode, ((int)LLA_SPAN), s);
      }
      else if(reading_lla)           sprintf(out, "Read LLA (%d %s from):     ", ((int)LLA_SPAN), s);
      else if((lla_file == 0) && lla_msg[0]) sprintf(out, "%s", lla_msg);
      else                           sprintf(out, "Surveying (%d %s from):    ", ((int)LLA_SPAN), s);
   }
   else {
      if(check_precise_posn) sprintf(out, "Saving position    ");
      else if((lla_file == 0) && lla_msg[0]) sprintf(out, "%s", lla_msg);
      else                   sprintf(out, "%d %s from: ", ((int)LLA_SPAN), s);
   }

   lla_header(out, YELLOW);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
leaq -0x100(%rbp), %rdi
leaq 0x2113e7(%rip), %rax    # 0x36c1a0
movq (%rax), %rdx
leaq 0x3d461(%rip), %rsi     # 0x198224
movb $0x0, %al
callq 0x9060
movl $0x0, -0x4(%rbp)
leaq 0x23f6bc(%rip), %rax    # 0x39a494
cmpl $0x0, (%rax)
je 0x15adfd
leaq 0x2116c0(%rip), %rax    # 0x36c4a4
cmpl $0x0, (%rax)
je 0x15adfd
leaq -0x100(%rbp), %rdi
callq 0x9890
callq 0x15ab00
movl %eax, -0x4(%rbp)
leaq 0x23f690(%rip), %rax    # 0x39a494
cmpl $0x0, (%rax)
je 0x15ae5b
leaq 0x11cc94(%rip), %rax    # 0x277aa4
cmpb $0x0, (%rax)
je 0x15ae5b
leaq 0x23f654(%rip), %rax    # 0x39a470
movsd (%rax), %xmm0
movsd 0x14358(%rip), %xmm1    # 0x16f180
leaq 0x23f6c1(%rip), %rax    # 0x39a4f0
mulsd (%rax), %xmm1
movsd 0x14345(%rip), %xmm2    # 0x16f180
leaq 0x23f6b6(%rip), %rax    # 0x39a4f8
mulsd (%rax), %xmm2
leaq 0x243273(%rip), %rdi    # 0x39e0c0
leaq 0x3d27d(%rip), %rsi     # 0x1980d1
movb $0x3, %al
callq 0x9060
leaq 0x210b26(%rip), %rax    # 0x36b988
cmpb $0x0, (%rax)
je 0x15ae7b
leaq 0x210b1a(%rip), %rax    # 0x36b988
movzbl (%rax), %eax
cmpl $0x4c, %eax
je 0x15ae7b
jmp 0x15b1d0
leaq 0x11cb36(%rip), %rax    # 0x2779b8
cmpl $0x0, (%rax)
jne 0x15aebb
leaq 0x11cb52(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl %eax, -0x104(%rbp)
leaq 0x127887(%rip), %rax    # 0x282724
imull $0x31a, (%rax), %eax    # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x104(%rbp), %eax
cmpl %ecx, %eax
jle 0x15b14c
leaq 0x23f5fe(%rip), %rax    # 0x39a4c0
cmpb $0x0, (%rax)
je 0x15aee1
leaq 0x240532(%rip), %rdi    # 0x39b400
leaq 0x3d1ce(%rip), %rsi     # 0x1980a3
movb $0x0, %al
callq 0x9060
jmp 0x15b147
leaq 0x23f5cc(%rip), %rax    # 0x39a4b4
cmpb $0x0, (%rax)
je 0x15b0b1
leaq 0x11cbb8(%rip), %rax    # 0x277ab0
cmpq $0x800000, (%rax)       # imm = 0x800000
jne 0x15af2a
leaq 0x2404f8(%rip), %rdi    # 0x39b400
leaq 0x3d1e0(%rip), %rsi     # 0x1980ef
movsd 0x28031(%rip), %xmm0    # 0x182f48
leaq 0x2784d(%rip), %rdx     # 0x18276b
movb $0x1, %al
callq 0x9060
jmp 0x15b0ac
leaq 0x21132f(%rip), %rax    # 0x36c260
cmpl $0x0, (%rax)
je 0x15af5f
leaq 0x2404c3(%rip), %rdi    # 0x39b400
leaq 0x3d1ab(%rip), %rsi     # 0x1980ef
movsd 0x27ffc(%rip), %xmm0    # 0x182f48
leaq 0x27818(%rip), %rdx     # 0x18276b
movb $0x1, %al
callq 0x9060
jmp 0x15b0aa
cmpl $0x0, -0x4(%rbp)
je 0x15af7f
leaq 0x240494(%rip), %rdi    # 0x39b400
leaq 0x3d19e(%rip), %rsi     # 0x198111
movb $0x0, %al
callq 0x9060
jmp 0x15b0a8
leaq 0x21132a(%rip), %rax    # 0x36c2b0
movzbl (%rax), %eax
cmpl $0x4, %eax
jne 0x15afba
leaq 0x23f4db(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x240459(%rip), %rdi    # 0x39b400
leaq 0x3d181(%rip), %rsi     # 0x19812f
movb $0x0, %al
callq 0x9060
jmp 0x15b0a6
leaq 0x2112ef(%rip), %rax    # 0x36c2b0
movzbl (%rax), %eax
cmpl $0x3, %eax
jne 0x15aff5
leaq 0x23f4a0(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x24041e(%rip), %rdi    # 0x39b400
leaq 0x3d162(%rip), %rsi     # 0x19814b
movb $0x0, %al
callq 0x9060
jmp 0x15b0a4
leaq 0x2112b4(%rip), %rax    # 0x36c2b0
movzbl (%rax), %eax
cmpl $0x0, %eax
jne 0x15b02d
leaq 0x23f465(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x2403e3(%rip), %rdi    # 0x39b400
leaq 0x3d143(%rip), %rsi     # 0x198167
movb $0x0, %al
callq 0x9060
jmp 0x15b0a2
leaq 0x21127e(%rip), %rax    # 0x36c2b2
movzbl (%rax), %eax
cmpl $0x5, %eax
jne 0x15b06f
leaq 0x21126f(%rip), %rax    # 0x36c2b2
movzbl (%rax), %edx
leaq 0x23f423(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %ecx
leaq -0x100(%rbp), %r8
leaq 0x2403a1(%rip), %rdi    # 0x39b400
leaq 0x3d11d(%rip), %rsi     # 0x198183
movb $0x0, %al
callq 0x9060
jmp 0x15b0a0
leaq 0x21123a(%rip), %rax    # 0x36c2b0
movzbl (%rax), %edx
leaq 0x23f3f0(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %ecx
leaq -0x100(%rbp), %r8
leaq 0x24036e(%rip), %rdi    # 0x39b400
leaq 0x3d106(%rip), %rsi     # 0x19819f
movb $0x0, %al
callq 0x9060
jmp 0x15b0a2
jmp 0x15b0a4
jmp 0x15b0a6
jmp 0x15b0a8
jmp 0x15b0aa
jmp 0x15b0ac
jmp 0x15b145
leaq 0x23f3ff(%rip), %rax    # 0x39a4b7
cmpb $0x0, (%rax)
je 0x15b0e6
leaq 0x23f3ac(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x24032a(%rip), %rdi    # 0x39b400
leaq 0x3d0de(%rip), %rsi     # 0x1981bb
movb $0x0, %al
callq 0x9060
jmp 0x15b143
leaq 0x142493(%rip), %rax    # 0x29d580
cmpq $0x0, (%rax)
jne 0x15b11a
cmpb $0x0, 0x27e4f6(%rip)    # 0x3d95f0
je 0x15b11a
leaq 0x2402fd(%rip), %rdi    # 0x39b400
leaq 0x35a23(%rip), %rsi     # 0x190b2d
leaq 0x27e4df(%rip), %rdx    # 0x3d95f0
movb $0x0, %al
callq 0x9060
jmp 0x15b141
leaq 0x23f34f(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x2402cd(%rip), %rdi    # 0x39b400
leaq 0x3d09d(%rip), %rsi     # 0x1981d7
movb $0x0, %al
callq 0x9060
jmp 0x15b143
jmp 0x15b145
jmp 0x15b147
jmp 0x15b1ce
leaq 0x23f36d(%rip), %rax    # 0x39a4c0
cmpb $0x0, (%rax)
je 0x15b16f
leaq 0x2402a1(%rip), %rdi    # 0x39b400
leaq 0x3cf57(%rip), %rsi     # 0x1980bd
movb $0x0, %al
callq 0x9060
jmp 0x15b1cc
leaq 0x14240a(%rip), %rax    # 0x29d580
cmpq $0x0, (%rax)
jne 0x15b1a3
cmpb $0x0, 0x27e46d(%rip)    # 0x3d95f0
je 0x15b1a3
leaq 0x240274(%rip), %rdi    # 0x39b400
leaq 0x3599a(%rip), %rsi     # 0x190b2d
leaq 0x27e456(%rip), %rdx    # 0x3d95f0
movb $0x0, %al
callq 0x9060
jmp 0x15b1ca
leaq 0x23f2c6(%rip), %rax    # 0x39a470
cvttsd2si (%rax), %edx
leaq -0x100(%rbp), %rcx
leaq 0x240244(%rip), %rdi    # 0x39b400
leaq 0x3d030(%rip), %rsi     # 0x1981f3
movb $0x0, %al
callq 0x9060
jmp 0x15b1cc
jmp 0x15b1ce
jmp 0x15b1d0
leaq 0x240229(%rip), %rdi    # 0x39b400
movl $0xe, %esi
callq 0x15a360
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw (%rax,%rax)