// File: /workspace/github_cpp_makefile_star2_O3/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 0x21133b(%rip), %rax    # 0x30cfc0
movq (%rax), %rdx
leaq 0x39a03(%rip), %rsi     # 0x135692
leaq -0x110(%rbp), %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x23f610(%rip), %r14    # 0x33b2b4
movl (%r14), %eax
movb $0x1, %bl
testl %eax, %eax
je 0xfbcd2
leaq 0x211610(%rip), %rcx    # 0x30d2c4
cmpl $0x0, (%rcx)
je 0xfbcd2
leaq -0x110(%rbp), %rdi
callq 0x9899
callq 0xfbb1a
testl %eax, %eax
sete %bl
movl (%r14), %eax
testl %eax, %eax
je 0xfbd24
leaq 0x11cbe7(%rip), %rax    # 0x2188c4
cmpb $0x0, (%rax)
je 0xfbd24
leaq 0x23f5a7(%rip), %rax    # 0x33b290
movsd (%rax), %xmm0
leaq 0x23f61c(%rip), %rax    # 0x33b310
movsd 0xd464(%rip), %xmm2     # 0x109160
movsd (%rax), %xmm1
mulsd %xmm2, %xmm1
leaq 0x23f60d(%rip), %rax    # 0x33b318
mulsd (%rax), %xmm2
leaq 0x2431ca(%rip), %rdi    # 0x33eee0
leaq 0x39822(%rip), %rsi     # 0x13553f
movb $0x3, %al
callq 0x9060
leaq 0x210a7d(%rip), %rax    # 0x30c7a8
movzbl (%rax), %eax
cmpl $0x4c, %eax
je 0xfbd3b
testl %eax, %eax
jne 0xfbf1c
leaq 0x11ca96(%rip), %rax    # 0x2187d8
cmpl $0x0, (%rax)
jne 0xfbd7a
leaq 0x11cab2(%rip), %rax    # 0x218800
leaq 0x1277ef(%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 0xfbdfc
leaq 0x23f55f(%rip), %rax    # 0x33b2e0
cmpb $0x0, (%rax)
je 0xfbda7
movups 0x3978e(%rip), %xmm0    # 0x13551b
leaq 0x24048c(%rip), %rax    # 0x33c220
movups %xmm0, 0xa(%rax)
movups 0x39772(%rip), %xmm0    # 0x135511
movaps %xmm0, (%rax)
jmp 0xfbf1c
leaq 0x23f526(%rip), %rax    # 0x33b2d4
cmpb $0x0, (%rax)
je 0xfbe25
leaq 0x11cb16(%rip), %rax    # 0x2188d0
cmpq $0x800000, (%rax)       # imm = 0x800000
je 0xfbdd3
leaq 0x2112b6(%rip), %rax    # 0x30d080
cmpl $0x0, (%rax)
je 0xfbeae
leaq 0x240446(%rip), %rdi    # 0x33c220
leaq 0x3977c(%rip), %rsi     # 0x13555d
leaq 0x21f67(%rip), %rdx     # 0x11dd4f
movsd 0x22748(%rip), %xmm0    # 0x11e538
movb $0x1, %al
callq 0x9060
jmp 0xfbf1c
leaq 0x23f4dd(%rip), %rax    # 0x33b2e0
cmpb $0x0, (%rax)
je 0xfbe4f
movups 0x3971c(%rip), %xmm0    # 0x13552b
leaq 0x24040a(%rip), %rax    # 0x33c220
movaps %xmm0, (%rax)
movl $0x202020, 0x10(%rax)   # imm = 0x202020
jmp 0xfbf1c
leaq 0x23f4ab(%rip), %rax    # 0x33b2d7
cmpb $0x0, (%rax)
je 0xfbe83
leaq 0x23f458(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x2403dd(%rip), %rdi    # 0x33c220
leaq 0x397df(%rip), %rsi     # 0x135629
jmp 0xfbf0e
leaq 0x14254a(%rip), %rax    # 0x23e3a0
cmpq $0x0, (%rax)
jne 0xfbe65
cmpb $0x0, 0x27e54d(%rip)    # 0x37a3b0
jne 0xfbe99
leaq 0x23f424(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x2403a9(%rip), %rdi    # 0x33c220
leaq 0x397e3(%rip), %rsi     # 0x135661
jmp 0xfbf0e
leaq 0x142516(%rip), %rax    # 0x23e3a0
cmpq $0x0, (%rax)
jne 0xfbef5
cmpb $0x0, 0x27e519(%rip)    # 0x37a3b0
je 0xfbef5
leaq 0x240380(%rip), %rdi    # 0x33c220
leaq 0x27e509(%rip), %rsi    # 0x37a3b0
callq 0x9340
jmp 0xfbf1c
testb %bl, %bl
je 0xfbf39
leaq 0x211213(%rip), %rax    # 0x30d0d0
movzbl (%rax), %edx
testl %edx, %edx
je 0xfbf72
cmpl $0x3, %edx
je 0xfbf57
cmpl $0x4, %edx
jne 0xfbf8d
leaq 0x23f3af(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240334(%rip), %rdi    # 0x33c220
leaq 0x396aa(%rip), %rsi     # 0x13559d
jmp 0xfbf0e
leaq 0x23f394(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x240319(%rip), %rdi    # 0x33c220
leaq 0x39737(%rip), %rsi     # 0x135645
leaq -0x110(%rbp), %rcx
xorl %eax, %eax
callq 0x9060
leaq 0x2402fd(%rip), %rdi    # 0x33c220
movl $0xe, %esi
callq 0xfb514
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %rbp
retq
movups 0x3964d(%rip), %xmm0    # 0x13558d
leaq 0x2402d9(%rip), %rax    # 0x33c220
movups %xmm0, 0xe(%rax)
movups 0x3962d(%rip), %xmm0    # 0x13557f
jmp 0xfbd9f
leaq 0x23f332(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x2402b7(%rip), %rdi    # 0x33c220
leaq 0x39649(%rip), %rsi     # 0x1355b9
jmp 0xfbf0e
leaq 0x23f317(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %edx
leaq 0x24029c(%rip), %rdi    # 0x33c220
leaq 0x3964a(%rip), %rsi     # 0x1355d5
jmp 0xfbf0e
leaq 0x21113e(%rip), %rax    # 0x30d0d2
cmpb $0x5, (%rax)
leaq 0x23f2f2(%rip), %rax    # 0x33b290
cvttsd2si (%rax), %ecx
leaq 0x240277(%rip), %rdi    # 0x33c220
jne 0xfbfc0
leaq 0x3963f(%rip), %rsi     # 0x1355f1
leaq -0x110(%rbp), %r8
movl $0x5, %edx
jmp 0xfbfce
leaq 0x39646(%rip), %rsi     # 0x13560d
leaq -0x110(%rbp), %r8
xorl %eax, %eax
callq 0x9060
jmp 0xfbf1c