// File: /workspace/github_cpp_makefile_star2_O1/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 0x25f1c2(%rip), %rax    # 0x30cfd0
leaq 0x25f1c3(%rip), %rcx    # 0x30cfd8
movsd (%rcx), %xmm0
xorpd %xmm1, %xmm1
movsd (%rax), %xmm2
cmpneqpd %xmm1, %xmm2
cmpneqpd %xmm1, %xmm0
orpd %xmm2, %xmm0
leaq 0x25f1aa(%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 0x25f9af(%rip), %rax    # 0x30d810
cmpl $0x0, (%rax)
movl %edi, %r14d
movl $0xe, %r12d
cmovel %ecx, %r12d
leaq 0x25e930(%rip), %r13    # 0x30c7a8
cmpb $0x0, (%r13)
leaq 0x16a924(%rip), %rax    # 0x2187a8
jne 0xade8f
cmpl %r14d, (%rax)
jle 0xadf41
leaq 0x25f93a(%rip), %rax    # 0x30d7d0
movsd (%rax), %xmm0
movsd 0x2c47c6(%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, 0x2c47a1(%rip)   # 0x372668
leaq 0x28e352(%rip), %rdi    # 0x33c220
leaq 0x7867b(%rip), %rsi     # 0x126550
movl $0x1, %ecx
movb $0x1, %al
callq 0x9060
leaq 0x2603f8(%rip), %rax    # 0x30e2e0
cmpl $0x0, 0x28cf4(%rax)
je 0xadf12
cmpl $0x0, 0x28cf0(%rax)
jle 0xadf12
leaq 0x25f907(%rip), %rax    # 0x30d808
testb $0x1, (%rax)
je 0xadf12
leaq 0x28e313(%rip), %rdi    # 0x33c220
callq 0x9899
leal 0x1(%r14), %r15d
movzbl %r12b, %r12d
leaq 0x28e2ff(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl %ebx, %esi
movl %r12d, %edx
callq 0xe7d0
cmpb $0x0, (%r13)
leaq 0x16a86e(%rip), %rax    # 0x2187a8
jne 0xadf50
cmpl (%rax), %r15d
jl 0xadf50
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x25f861(%rip), %rax    # 0x30d7b8
movsd (%rax), %xmm0
movsd 0x2c470d(%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, 0x2c46e8(%rip)   # 0x372670
leaq 0x28e291(%rip), %rdi    # 0x33c220
leaq 0x785cc(%rip), %rsi     # 0x126562
movl $0x1, %ecx
movb $0x1, %al
callq 0x9060
leaq 0x260337(%rip), %rax    # 0x30e2e0
cmpl $0x0, 0x28cf4(%rax)
je 0xadfd3
cmpl $0x0, 0x28cf0(%rax)
jle 0xadfd3
leaq 0x25f846(%rip), %rax    # 0x30d808
testb $0x1, (%rax)
je 0xadfd3
leaq 0x28e252(%rip), %rdi    # 0x33c220
callq 0x9899
leaq 0x28e246(%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 0xe7d0