// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heathgps.cpp
// Function: show_sun_azel(int, int)
void show_sun_azel(int row, int col)
{
int color;
static double last_sun_az = 0.0;
static double last_sun_el = 0.0;
char c;

   color = GREY;
   if(lat || lon || alt) color = WHITE;
   if(eclipsed) color = YELLOW;
if((zoom_screen == 0) && (row >= MOUSE_ROW)) return;

   if(sun_az > last_sun_az) c = UP_ARROW;
   else if(sun_az < last_sun_az) c = DOWN_ARROW;
   else c = ':';
   last_sun_az = sun_az;
   sprintf(out, "Sun az%c  %9.5f%c", c,sun_az, DEGREES);
   if(com[TRACK_PORT].process_com && (com[TRACK_PORT].com_running > 0)) {
      if(track_port_info & SEND_SUN) strupr(out);
   }
   vidstr(row++, col, color, out);

   if((zoom_screen == 0) && (row >= MOUSE_ROW)) return;

   if(sun_el > last_sun_el) c = UP_ARROW;
   else if(sun_el < last_sun_el) c = DOWN_ARROW;
   else c = ':';
   last_sun_el = sun_el;
   sprintf(out, "Sun el%c  %9.5f%c", c, sun_el, DEGREES);
   if(com[TRACK_PORT].process_com && (com[TRACK_PORT].com_running > 0)) {
      if(track_port_info & SEND_SUN) strupr(out);
   }
   vidstr(row++, col, color, out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x25ef0e(%rip), %rax    # 0x30cfd0
leaq 0x25ef0f(%rip), %rcx    # 0x30cfd8
movsd (%rcx), %xmm0
xorpd %xmm1, %xmm1
movsd (%rax), %xmm2
cmpneqpd %xmm1, %xmm2
cmpneqpd %xmm1, %xmm0
orpd %xmm2, %xmm0
leaq 0x25eef6(%rip), %rax    # 0x30cfe0
movsd (%rax), %xmm2
ucomisd %xmm1, %xmm2
movl $0xf, %eax
movl $0x8, %ecx
cmovnel %eax, %ecx
cmovpl %eax, %ecx
movd %xmm0, %edx
testb $0x1, %dl
cmovnel %eax, %ecx
movl %esi, %ebx
leaq 0x25f6fb(%rip), %rax    # 0x30d810
cmpl $0x0, (%rax)
movl %edi, %r14d
movl $0xe, %r12d
cmovel %ecx, %r12d
leaq 0x25e67c(%rip), %r13    # 0x30c7a8
cmpb $0x0, (%r13)
leaq 0x16a670(%rip), %rax    # 0x2187a8
jne 0xae143
cmpl %r14d, (%rax)
jle 0xae1f5
leaq 0x25f686(%rip), %rax    # 0x30d7d0
movsd (%rax), %xmm0
movsd 0x2c4512(%rip), %xmm1   # 0x372668
ucomisd %xmm0, %xmm1
movl $0x19, %eax
movl $0x3a, %ecx
cmoval %eax, %ecx
ucomisd %xmm1, %xmm0
movl $0x18, %edx
cmovbel %ecx, %edx
movsd %xmm0, 0x2c44ed(%rip)   # 0x372668
leaq 0x28e09e(%rip), %rdi    # 0x33c220
leaq 0x784a7(%rip), %rsi     # 0x126630
movl $0x1, %ecx
movb $0x1, %al
callq 0x9060
leaq 0x260144(%rip), %rax    # 0x30e2e0
cmpl $0x0, 0x28cf4(%rax)
je 0xae1c6
cmpl $0x0, 0x28cf0(%rax)
jle 0xae1c6
leaq 0x25f653(%rip), %rax    # 0x30d808
testb $0x1, (%rax)
je 0xae1c6
leaq 0x28e05f(%rip), %rdi    # 0x33c220
callq 0x9899
leal 0x1(%r14), %r15d
movzbl %r12b, %r12d
leaq 0x28e04b(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl %ebx, %esi
movl %r12d, %edx
callq 0xe787
cmpb $0x0, (%r13)
leaq 0x16a5ba(%rip), %rax    # 0x2187a8
jne 0xae204
cmpl (%rax), %r15d
jl 0xae204
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x25f5ad(%rip), %rax    # 0x30d7b8
movsd (%rax), %xmm0
movsd 0x2c4459(%rip), %xmm1   # 0x372670
ucomisd %xmm0, %xmm1
movl $0x19, %eax
movl $0x3a, %ecx
cmoval %eax, %ecx
ucomisd %xmm1, %xmm0
movl $0x18, %edx
cmovbel %ecx, %edx
movsd %xmm0, 0x2c4434(%rip)   # 0x372670
leaq 0x28dfdd(%rip), %rdi    # 0x33c220
leaq 0x783f8(%rip), %rsi     # 0x126642
movl $0x1, %ecx
movb $0x1, %al
callq 0x9060
leaq 0x260083(%rip), %rax    # 0x30e2e0
cmpl $0x0, 0x28cf4(%rax)
je 0xae287
cmpl $0x0, 0x28cf0(%rax)
jle 0xae287
leaq 0x25f592(%rip), %rax    # 0x30d808
testb $0x1, (%rax)
je 0xae287
leaq 0x28df9e(%rip), %rdi    # 0x33c220
callq 0x9899
leaq 0x28df92(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl %ebx, %esi
movl %r12d, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe787