// File: /workspace/github_cpp_makefile_star2_O1/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 0x211ab7(%rip), %rax    # 0x30cfc0
movq (%rax), %rdx
leaq 0x3a08f(%rip), %rsi     # 0x1355a2
leaq -0x110(%rbp), %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x23fd8c(%rip), %r14    # 0x33b2b4
cmpl $0x0, (%r14)
movb $0x1, %bl
je 0xfb552
leaq 0x211d8d(%rip), %rax    # 0x30d2c4
cmpl $0x0, (%rax)
je 0xfb552
leaq -0x110(%rbp), %rdi
callq 0x9899
callq 0xfb39f
testl %eax, %eax
sete %bl
cmpl $0x0, (%r14)
je 0xfb5a6
leaq 0x11d365(%rip), %rax    # 0x2188c4
cmpb $0x0, (%rax)
je 0xfb5a6
leaq 0x23fd25(%rip), %rax    # 0x33b290
movsd (%rax), %xmm0
leaq 0x23fd9a(%rip), %rax    # 0x33b310
movsd 0xdbda(%rip), %xmm2     # 0x109158
movsd (%rax), %xmm1
mulsd %xmm2, %xmm1
leaq 0x23fd8b(%rip), %rax    # 0x33b318
mulsd (%rax), %xmm2
leaq 0x243948(%rip), %rdi    # 0x33eee0
leaq 0x39eb0(%rip), %rsi     # 0x13544f
movb $0x3, %al
callq 0x9060
leaq 0x2111fb(%rip), %rax    # 0x30c7a8
movzbl (%rax), %eax
cmpl $0x4c, %eax
je 0xfb5bd
testl %eax, %eax
jne 0xfb79e
leaq 0x11d214(%rip), %rax    # 0x2187d8
cmpl $0x0, (%rax)
jne 0xfb5fc
leaq 0x11d230(%rip), %rax    # 0x218800
leaq 0x127f6d(%rip), %rcx    # 0x223544
imull $0x31a, (%rcx), %ecx    # imm = 0x31A
movslq %ecx, %rcx
imulq $0x51eb851f, %rcx, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
cmpl %ecx, (%rax)
jle 0xfb67e
leaq 0x23fcdd(%rip), %rax    # 0x33b2e0
cmpb $0x0, (%rax)
je 0xfb629
movups 0x39e1c(%rip), %xmm0    # 0x13542b
leaq 0x240c0a(%rip), %rax    # 0x33c220
movups %xmm0, 0xa(%rax)
movups 0x39e00(%rip), %xmm0    # 0x135421
movaps %xmm0, (%rax)
jmp 0xfb79e
leaq 0x23fca4(%rip), %rax    # 0x33b2d4
cmpb $0x0, (%rax)
je 0xfb6a7
leaq 0x11d294(%rip), %rax    # 0x2188d0
cmpq $0x800000, (%rax)       # imm = 0x800000
je 0xfb655
leaq 0x211a34(%rip), %rax    # 0x30d080
cmpl $0x0, (%rax)
je 0xfb730
leaq 0x240bc4(%rip), %rdi    # 0x33c220
leaq 0x39e0a(%rip), %rsi     # 0x13546d
leaq 0x22651(%rip), %rdx     # 0x11dcbb
movsd 0x22e26(%rip), %xmm0    # 0x11e498
movb $0x1, %al
callq 0x9060
jmp 0xfb79e
leaq 0x23fc5b(%rip), %rax    # 0x33b2e0
cmpb $0x0, (%rax)
je 0xfb6d1
movups 0x39daa(%rip), %xmm0    # 0x13543b
leaq 0x240b88(%rip), %rax    # 0x33c220
movaps %xmm0, (%rax)
movl $0x202020, 0x10(%rax)   # imm = 0x202020
jmp 0xfb79e
leaq 0x23fc29(%rip), %rax    # 0x33b2d7
cmpb $0x0, (%rax)
je 0xfb705
leaq 0x23fbd6(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240b5b(%rip), %rdi    # 0x33c220
leaq 0x39e6d(%rip), %rsi     # 0x135539
jmp 0xfb790
leaq 0x142cc8(%rip), %rax    # 0x23e3a0
cmpq $0x0, (%rax)
jne 0xfb6e7
cmpb $0x0, 0x27eccb(%rip)    # 0x37a3b0
jne 0xfb71b
leaq 0x23fba2(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240b27(%rip), %rdi    # 0x33c220
leaq 0x39e71(%rip), %rsi     # 0x135571
jmp 0xfb790
leaq 0x142c94(%rip), %rax    # 0x23e3a0
cmpq $0x0, (%rax)
jne 0xfb777
cmpb $0x0, 0x27ec97(%rip)    # 0x37a3b0
je 0xfb777
leaq 0x240afe(%rip), %rdi    # 0x33c220
leaq 0x27ec87(%rip), %rsi    # 0x37a3b0
callq 0x9340
jmp 0xfb79e
testb %bl, %bl
je 0xfb7bb
leaq 0x211991(%rip), %rax    # 0x30d0d0
movzbl (%rax), %edx
testl %edx, %edx
je 0xfb7f4
cmpl $0x3, %edx
je 0xfb7d9
cmpl $0x4, %edx
jne 0xfb80f
leaq 0x23fb2d(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240ab2(%rip), %rdi    # 0x33c220
leaq 0x39d38(%rip), %rsi     # 0x1354ad
jmp 0xfb790
leaq 0x23fb12(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240a97(%rip), %rdi    # 0x33c220
leaq 0x39dc5(%rip), %rsi     # 0x135555
leaq -0x110(%rbp), %rcx
xorl %eax, %eax
callq 0x9060
leaq 0x240a7b(%rip), %rdi    # 0x33c220
movl $0xe, %esi
callq 0xfad99
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %rbp
retq
movups 0x39cdb(%rip), %xmm0    # 0x13549d
leaq 0x240a57(%rip), %rax    # 0x33c220
movups %xmm0, 0xe(%rax)
movups 0x39cbb(%rip), %xmm0    # 0x13548f
jmp 0xfb621
leaq 0x23fab0(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240a35(%rip), %rdi    # 0x33c220
leaq 0x39cd7(%rip), %rsi     # 0x1354c9
jmp 0xfb790
leaq 0x23fa95(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240a1a(%rip), %rdi    # 0x33c220
leaq 0x39cd8(%rip), %rsi     # 0x1354e5
jmp 0xfb790
leaq 0x2118bc(%rip), %rax    # 0x30d0d2
cmpb $0x5, (%rax)
leaq 0x23fa70(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %ecx
leaq 0x2409f5(%rip), %rdi    # 0x33c220
jne 0xfb842
leaq 0x39ccd(%rip), %rsi     # 0x135501
leaq -0x110(%rbp), %r8
movl $0x5, %edx
jmp 0xfb850
leaq 0x39cd4(%rip), %rsi     # 0x13551d
leaq -0x110(%rbp), %r8
xorl %eax, %eax
callq 0x9060
jmp 0xfb79e