// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathmsc.cpp
// Function: plot_lla_axes(int)
void plot_lla_axes(int why)
{
int x,y;
int xx,yy;
int color;

   // draw the lat/lon scattergram grid and label it

   lla_showing = 0;
   if(plot_lla == 0) return;
   if(text_mode || (first_key && (SCREEN_HEIGHT < SHORT_SCREEN))) return;
if(first_key && shared_plot && (shared_item & SHARE_LLA)) return;
   if(zoom_screen && (zoom_screen != 'L')) return;

   lla_showing = 1;
   erase_lla();

   label_lla_header();
   if(text_mode) return;  // plot area is in use for help/warning message

   x = LLA_X - LLA_SIZE/2 + LLA_MARGIN;
   y = LLA_Y - LLA_SIZE/2 + LLA_MARGIN;
   if(LLA_ROW >= PLOT_ROW) shared_item = SHARE_LLA;

   for(yy=y; yy<=y+lla_step*LLA_DIVISIONS; yy+=lla_step) {  // horizontals
     color = GREY;
     if(yy == y) color = WHITE;
     if(yy == y+lla_step*LLA_DIVISIONS) color = WHITE;
     line(x,yy, x+lla_step*LLA_DIVISIONS,yy, color);
   }

   for(xx=x; xx<=x+lla_step*LLA_DIVISIONS; xx+=lla_step) {  // verticals
     color = GREY;
     if(xx == x) color = WHITE;
     if(xx == x+lla_step*LLA_DIVISIONS) color = WHITE;
     line(xx,y+1,    xx,y+lla_step*LLA_DIVISIONS-1, color);
   }

   // draw the center cross
   xx = LLA_X;
   yy = LLA_Y;
   dot(xx+0, yy-0, WHITE);
   dot(xx+0, yy-1, WHITE);
   dot(xx+0, yy-2, WHITE);
   dot(xx+0, yy-3, WHITE);
   dot(xx+0, yy-4, WHITE);
   dot(xx+0, yy-5, WHITE);
   dot(xx+0, yy+0, WHITE);
   dot(xx+0, yy+1, WHITE);
   dot(xx+0, yy+2, WHITE);
   dot(xx+0, yy+3, WHITE);
   dot(xx+0, yy+4, WHITE);
   dot(xx+0, yy+5, WHITE);

   dot(xx+1, yy+0, WHITE);
   dot(xx+2, yy+0, WHITE);
   dot(xx+3, yy+0, WHITE);
   dot(xx+4, yy+0, WHITE);
   dot(xx+5, yy+0, WHITE);
   dot(xx-1, yy+0, WHITE);
   dot(xx-2, yy+0, WHITE);
   dot(xx-3, yy+0, WHITE);
   dot(xx-4, yy+0, WHITE);
   dot(xx-5, yy+0, WHITE);

   xx = LLA_COL/TEXT_WIDTH+1;
   if(SCREEN_WIDTH > (NARROW_SCREEN+X11_MARGIN)) xx += 5;
   else                                          xx -= 2;

   show_mouse_lla();

   #ifdef BUFFER_LLA
      redraw_lla_points();
   #endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x260683(%rip), %rax    # 0x33b2c0
movl $0x0, (%rax)
leaq 0x260666(%rip), %rcx    # 0x33b2b0
cmpb $0x0, (%rcx)
je 0xdacbb
leaq 0x13db82(%rip), %rbx    # 0x2187d8
cmpl $0x0, (%rbx)
jne 0xdacbb
leaq 0x1642f6(%rip), %rcx    # 0x23ef58
movl (%rcx), %ecx
testl %ecx, %ecx
je 0xdac77
leaq 0x13db95(%rip), %rdx    # 0x218804
cmpl $0x258, (%rdx)          # imm = 0x258
jl 0xdacbb
testl %ecx, %ecx
je 0xdac93
leaq 0x260766(%rip), %rcx    # 0x33b3e8
cmpb $0x0, (%rcx)
je 0xdac93
leaq 0x26075e(%rip), %rcx    # 0x33b3ec
testb $0x8, (%rcx)
jne 0xdacbb
leaq 0x231b0e(%rip), %rcx    # 0x30c7a8
movzbl (%rcx), %ecx
cmpl $0x4c, %ecx
je 0xdaca6
testl %ecx, %ecx
jne 0xdacbb
movl $0x1, (%rax)
callq 0xeda7
callq 0xfb4f4
cmpl $0x0, (%rbx)
je 0xdacca
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2605db(%rip), %rcx    # 0x33b2ac
leaq 0x2605c4(%rip), %rax    # 0x33b29c
movl (%rax), %edx
leal -0x1(%rdx), %ebx
leaq 0x2605c4(%rip), %rax    # 0x33b2a8
movl (%rax), %r14d
leaq 0x13db8e(%rip), %rax    # 0x21887c
cmpl (%rax), %r14d
jl 0xdad00
leaq 0x2606f2(%rip), %rax    # 0x33b3ec
movl $0x8, (%rax)
addl (%rcx), %ebx
movq %rdx, -0x30(%rbp)
leal (%rdx,%r14), %r12d
decl %r12d
leaq 0x26058c(%rip), %r13    # 0x33b2a0
movl (%r13), %eax
testl %eax, %eax
js 0xdad69
addl %eax, %eax
leal (%rax,%rax,4), %edx
leal (%rdx,%r12), %eax
movl %r12d, %r15d
movl $0xf, %ecx
movl $0xf, %r8d
cmpl %eax, %r15d
je 0xdad3e
movl $0x8, %r8d
addl %ebx, %edx
cmpl %r12d, %r15d
cmovel %ecx, %r8d
movl %ebx, %edi
movl %r15d, %esi
movl %r15d, %ecx
callq 0xe3c3
movl (%r13), %eax
addl %eax, %r15d
addl %eax, %eax
leal (%rax,%rax,4), %edx
leal (%rdx,%r12), %eax
cmpl %eax, %r15d
jle 0xdad28
movl (%r13), %eax
testl %eax, %eax
js 0xdadc5
addl %eax, %eax
leal (%rax,%rax,4), %ecx
leal (%rcx,%rbx), %eax
addl -0x30(%rbp), %r14d
decl %r12d
movl %ebx, %r15d
movl $0xf, %edx
movl $0xf, %r8d
cmpl %eax, %r15d
je 0xdad99
movl $0x8, %r8d
addl %r12d, %ecx
cmpl %ebx, %r15d
cmovel %edx, %r8d
movl %r15d, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe3c3
movl (%r13), %eax
addl %eax, %r15d
addl %eax, %eax
leal (%rax,%rax,4), %ecx
leal (%rcx,%rbx), %eax
cmpl %eax, %r15d
jle 0xdad83
leaq 0x2604e0(%rip), %rax    # 0x33b2ac
movl (%rax), %r13d
leaq 0x2604c2(%rip), %rax    # 0x33b298
movl (%rax), %eax
movl %eax, %r14d
shrl $0x1f, %r14d
addl %eax, %r14d
sarl %r14d
leal (%r14,%r13), %eax
movl %eax, -0x30(%rbp)
leal (%r14,%r13), %r15d
decl %r15d
leaq 0x2604ae(%rip), %rax    # 0x33b2a8
movl (%rax), %r12d
movl %r14d, %eax
addl %r12d, %eax
movl %eax, -0x34(%rbp)
leal (%r12,%r14), %ebx
decl %ebx
movl %r15d, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $-0x2, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $-0x3, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $-0x4, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $-0x5, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $-0x6, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
movl %r15d, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
movl %r15d, %edi
movl -0x34(%rbp), %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
incl %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $0x2, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $0x3, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
leal (%r12,%r14), %esi
addl $0x4, %esi
movl %r15d, %edi
movl $0xf, %edx
callq 0xe6a0
movl -0x30(%rbp), %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
incl %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $0x2, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $0x3, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $0x4, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $-0x2, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $-0x3, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $-0x4, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $-0x5, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
leal (%r14,%r13), %edi
addl $-0x6, %edi
movl %ebx, %esi
movl $0xf, %edx
callq 0xe6a0
callq 0xfb85c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xfbf69