// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r14
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
leaq 0x210e5d(%rip), %rax    # 0x2f6fc0
movq (%rax), %rdx
leaq 0x39445(%rip), %rsi     # 0x11f5b2
leaq -0x110(%rbp), %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x23f132(%rip), %r14    # 0x3252b4
movl (%r14), %eax
movb $0x1, %bl
testl %eax, %eax
je 0xe61b0
leaq 0x211132(%rip), %rcx    # 0x2f72c4
cmpl $0x0, (%rcx)
je 0xe61b0
leaq -0x110(%rbp), %rdi
callq 0x988f
callq 0xe5ffa
testl %eax, %eax
sete %bl
movl (%r14), %eax
testl %eax, %eax
je 0xe6202
leaq 0x11c709(%rip), %rax    # 0x2028c4
cmpb $0x0, (%rax)
je 0xe6202
leaq 0x23f0c9(%rip), %rax    # 0x325290
movsd (%rax), %xmm0
leaq 0x23f13e(%rip), %rax    # 0x325310
movsd 0xcf86(%rip), %xmm2     # 0xf3160
movsd (%rax), %xmm1
mulsd %xmm2, %xmm1
leaq 0x23f12f(%rip), %rax    # 0x325318
mulsd (%rax), %xmm2
leaq 0x242cec(%rip), %rdi    # 0x328ee0
leaq 0x39264(%rip), %rsi     # 0x11f45f
movb $0x3, %al
callq 0x9060
leaq 0x21059f(%rip), %rax    # 0x2f67a8
movzbl (%rax), %eax
cmpl $0x4c, %eax
je 0xe6219
testl %eax, %eax
jne 0xe63eb
leaq 0x11c5b8(%rip), %rax    # 0x2027d8
cmpl $0x0, (%rax)
jne 0xe6249
leaq 0x11c5d4(%rip), %rax    # 0x202800
movl (%rax), %ecx
leaq 0x12730f(%rip), %rax    # 0x20d544
imull $0x31a, (%rax), %eax    # imm = 0x31A
pushq $0x64
popq %rsi
cltd
idivl %esi
cmpl %eax, %ecx
jle 0xe62cb
leaq 0x23f090(%rip), %rax    # 0x3252e0
cmpb $0x0, (%rax)
je 0xe6276
movups 0x391df(%rip), %xmm0    # 0x11f43b
leaq 0x23ffbd(%rip), %rax    # 0x326220
movups %xmm0, 0xa(%rax)
movups 0x391c3(%rip), %xmm0    # 0x11f431
movaps %xmm0, (%rax)
jmp 0xe63eb
leaq 0x23f057(%rip), %rax    # 0x3252d4
cmpb $0x0, (%rax)
je 0xe62f4
leaq 0x11c647(%rip), %rax    # 0x2028d0
cmpq $0x800000, (%rax)       # imm = 0x800000
je 0xe62a2
leaq 0x210de7(%rip), %rax    # 0x2f7080
cmpl $0x0, (%rax)
je 0xe637d
leaq 0x23ff77(%rip), %rdi    # 0x326220
leaq 0x391cd(%rip), %rsi     # 0x11f47d
leaq 0x21b18(%rip), %rdx     # 0x107dcf
movsd 0x22269(%rip), %xmm0    # 0x108528
movb $0x1, %al
callq 0x9060
jmp 0xe63eb
leaq 0x23f00e(%rip), %rax    # 0x3252e0
cmpb $0x0, (%rax)
je 0xe631e
movups 0x3916d(%rip), %xmm0    # 0x11f44b
leaq 0x23ff3b(%rip), %rax    # 0x326220
movaps %xmm0, (%rax)
movl $0x202020, 0x10(%rax)   # imm = 0x202020
jmp 0xe63eb
leaq 0x23efdc(%rip), %rax    # 0x3252d7
cmpb $0x0, (%rax)
je 0xe6352
leaq 0x23ef89(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23ff0e(%rip), %rdi    # 0x326220
leaq 0x39230(%rip), %rsi     # 0x11f549
jmp 0xe63dd
leaq 0x14207b(%rip), %rax    # 0x2283a0
cmpq $0x0, (%rax)
jne 0xe6334
cmpb $0x0, 0x27e07e(%rip)    # 0x3643b0
jne 0xe6368
leaq 0x23ef55(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23feda(%rip), %rdi    # 0x326220
leaq 0x39234(%rip), %rsi     # 0x11f581
jmp 0xe63dd
leaq 0x142047(%rip), %rax    # 0x2283a0
cmpq $0x0, (%rax)
jne 0xe63c4
cmpb $0x0, 0x27e04a(%rip)    # 0x3643b0
je 0xe63c4
leaq 0x23feb1(%rip), %rdi    # 0x326220
leaq 0x27e03a(%rip), %rsi    # 0x3643b0
callq 0x9330
jmp 0xe63eb
testb %bl, %bl
je 0xe6406
leaq 0x210d44(%rip), %rax    # 0x2f70d0
movzbl (%rax), %edx
testl %edx, %edx
je 0xe643f
cmpl $0x3, %edx
je 0xe6424
cmpl $0x4, %edx
jne 0xe645a
leaq 0x23eee0(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23fe65(%rip), %rdi    # 0x326220
leaq 0x390fb(%rip), %rsi     # 0x11f4bd
jmp 0xe63dd
leaq 0x23eec5(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23fe4a(%rip), %rdi    # 0x326220
leaq 0x39188(%rip), %rsi     # 0x11f565
leaq -0x110(%rbp), %rcx
xorl %eax, %eax
callq 0x9060
leaq 0x23fe2e(%rip), %rdi    # 0x326220
pushq $0xe
popq %rsi
callq 0xe5a5f
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %rbp
retq
movups 0x390a0(%rip), %xmm0    # 0x11f4ad
leaq 0x23fe0c(%rip), %rax    # 0x326220
movups %xmm0, 0xe(%rax)
movups 0x39080(%rip), %xmm0    # 0x11f49f
jmp 0xe626e
leaq 0x23ee65(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23fdea(%rip), %rdi    # 0x326220
leaq 0x3909c(%rip), %rsi     # 0x11f4d9
jmp 0xe63dd
leaq 0x23ee4a(%rip), %rax    # 0x325290
cvttsd2si (%rax), %edx
leaq 0x23fdcf(%rip), %rdi    # 0x326220
leaq 0x3909d(%rip), %rsi     # 0x11f4f5
jmp 0xe63dd
leaq 0x210c71(%rip), %rax    # 0x2f70d2
cmpb $0x5, (%rax)
leaq 0x23ee25(%rip), %rax    # 0x325290
cvttsd2si (%rax), %ecx
leaq 0x23fdaa(%rip), %rdi    # 0x326220
jne 0xe6484
leaq 0x39092(%rip), %rsi     # 0x11f511
pushq $0x5
popq %rdx
jmp 0xe648b
leaq 0x390a2(%rip), %rsi     # 0x11f52d
leaq -0x110(%rbp), %r8
xorl %eax, %eax
callq 0x9060
jmp 0xe63eb