// File: /workspace/github_cpp_makefile_star2_O2/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 0x258f69(%rip), %rax    # 0x2f6fd0
leaq 0x258f6a(%rip), %rcx    # 0x2f6fd8
movsd (%rcx), %xmm0
xorpd %xmm1, %xmm1
movsd (%rax), %xmm2
cmpneqpd %xmm1, %xmm2
cmpneqpd %xmm1, %xmm0
orpd %xmm2, %xmm0
leaq 0x258f51(%rip), %rax    # 0x2f6fe0
movsd (%rax), %xmm2
ucomisd %xmm1, %xmm2
pushq $0xf
popq %rax
pushq $0x8
popq %rcx
cmovnel %eax, %ecx
cmovpl %eax, %ecx
movd %xmm0, %edx
testb $0x1, %dl
cmovnel %eax, %ecx
movl %esi, -0x2c(%rbp)
leaq 0x259759(%rip), %rax    # 0x2f7810
cmpl $0x0, (%rax)
movl %edi, %r15d
pushq $0xe
popq %r13
cmovel %ecx, %r13d
leaq 0x2586dc(%rip), %rbx    # 0x2f67a8
cmpb $0x0, (%rbx)
leaq 0x1646d2(%rip), %rax    # 0x2027a8
jne 0x9e0e1
cmpl %r15d, (%rax)
jle 0x9e18e
leaq 0x2596e8(%rip), %rax    # 0x2f77d0
movsd (%rax), %xmm0
movsd 0x2be574(%rip), %xmm1   # 0x35c668
ucomisd %xmm0, %xmm1
pushq $0x19
popq %rax
pushq $0x3a
popq %r14
movl %r14d, %edx
cmoval %eax, %edx
ucomisd %xmm1, %xmm0
pushq $0x18
popq %rax
cmoval %eax, %edx
movsd %xmm0, 0x2be551(%rip)   # 0x35c668
leaq 0x288102(%rip), %rdi    # 0x326220
leaq 0x72450(%rip), %rsi     # 0x110575
pushq $0x1
popq %rcx
movb $0x1, %al
callq 0x9060
leaq 0x25a1aa(%rip), %rax    # 0x2f82e0
cmpl $0x0, 0x28cf4(%rax)
je 0x9e160
cmpl $0x0, 0x28cf0(%rax)
jle 0x9e160
leaq 0x2596b9(%rip), %rax    # 0x2f7808
testb $0x1, (%rax)
je 0x9e160
leaq 0x2880c5(%rip), %rdi    # 0x326220
callq 0x988f
leal 0x1(%r15), %r12d
movzbl %r13b, %r13d
leaq 0x2880b1(%rip), %rcx    # 0x326220
movl %r15d, %edi
movl -0x2c(%rbp), %esi
movl %r13d, %edx
callq 0xe2d2
cmpb $0x0, (%rbx)
leaq 0x164621(%rip), %rax    # 0x2027a8
jne 0x9e19d
cmpl (%rax), %r12d
jl 0x9e19d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x259614(%rip), %rax    # 0x2f77b8
movsd (%rax), %xmm0
movsd 0x2be4c0(%rip), %xmm1   # 0x35c670
ucomisd %xmm0, %xmm1
pushq $0x19
popq %rax
cmoval %eax, %r14d
ucomisd %xmm1, %xmm0
pushq $0x18
popq %rax
cmoval %eax, %r14d
movsd %xmm0, 0x2be4a2(%rip)   # 0x35c670
leaq 0x28804b(%rip), %rdi    # 0x326220
leaq 0x723ab(%rip), %rsi     # 0x110587
pushq $0x1
popq %rcx
movl %r14d, %edx
movb $0x1, %al
callq 0x9060
leaq 0x25a0f0(%rip), %rax    # 0x2f82e0
cmpl $0x0, 0x28cf4(%rax)
je 0x9e21a
cmpl $0x0, 0x28cf0(%rax)
jle 0x9e21a
leaq 0x2595ff(%rip), %rax    # 0x2f7808
testb $0x1, (%rax)
je 0x9e21a
leaq 0x28800b(%rip), %rdi    # 0x326220
callq 0x988f
leaq 0x287fff(%rip), %rcx    # 0x326220
movl %r12d, %edi
movl -0x2c(%rbp), %esi
movl %r13d, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe2d2