// File: /workspace/github_cpp_makefile_star2_O2/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 0x25bb72(%rip), %rax    # 0x3252c0
andl $0x0, (%rax)
leaq 0x25bb58(%rip), %rcx    # 0x3252b0
cmpb $0x0, (%rcx)
je 0xc97c9
leaq 0x139074(%rip), %rbx    # 0x2027d8
cmpl $0x0, (%rbx)
jne 0xc97c9
leaq 0x15f7e8(%rip), %rcx    # 0x228f58
movl (%rcx), %ecx
testl %ecx, %ecx
je 0xc9785
leaq 0x139087(%rip), %rdx    # 0x202804
cmpl $0x258, (%rdx)          # imm = 0x258
jl 0xc97c9
testl %ecx, %ecx
je 0xc97a1
leaq 0x25bc58(%rip), %rcx    # 0x3253e8
cmpb $0x0, (%rcx)
je 0xc97a1
leaq 0x25bc50(%rip), %rcx    # 0x3253ec
testb $0x8, (%rcx)
jne 0xc97c9
leaq 0x22d000(%rip), %rcx    # 0x2f67a8
movzbl (%rcx), %ecx
cmpl $0x4c, %ecx
je 0xc97b4
testl %ecx, %ecx
jne 0xc97c9
movl $0x1, (%rax)
callq 0xe817
callq 0xe614e
cmpl $0x0, (%rbx)
je 0xc97d8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x25bacd(%rip), %rcx    # 0x3252ac
leaq 0x25bab6(%rip), %rax    # 0x32529c
movl (%rax), %edi
leal -0x1(%rdi), %ebx
leaq 0x25bab6(%rip), %rax    # 0x3252a8
movl (%rax), %esi
leaq 0x139081(%rip), %rax    # 0x20287c
movq %rsi, -0x30(%rbp)
cmpl (%rax), %esi
jl 0xc9810
leaq 0x25bbe2(%rip), %rax    # 0x3253ec
movl $0x8, (%rax)
addl (%rcx), %ebx
movq -0x30(%rbp), %rax
movq %rdi, -0x38(%rbp)
leal (%rdi,%rax), %r13d
decl %r13d
leaq 0x25ba78(%rip), %rax    # 0x3252a0
movl (%rax), %eax
pushq $0xf
popq %r12
pushq $0x8
popq %r14
movl %r13d, %r15d
imull $0xa, %eax, %edx
leal (%rdx,%r13), %ecx
cmpl %ecx, %r15d
jg 0xc986f
addl %ebx, %edx
cmpl %ecx, %r15d
movl %r14d, %r8d
cmovel %r12d, %r8d
cmpl %r13d, %r15d
cmovel %r12d, %r8d
movl %ebx, %edi
movl %r15d, %esi
movl %r15d, %ecx
callq 0xdedf
leaq 0x25ba38(%rip), %rax    # 0x3252a0
movl (%rax), %eax
addl %eax, %r15d
jmp 0xc9835
movq -0x30(%rbp), %rcx
addl -0x38(%rbp), %ecx
movq %rcx, -0x30(%rbp)
decl %r13d
movl %ebx, %r15d
imull $0xa, %eax, %ecx
leal (%rcx,%rbx), %eax
cmpl %eax, %r15d
jg 0xc98bc
addl %r13d, %ecx
cmpl %eax, %r15d
movl %r14d, %r8d
cmovel %r12d, %r8d
cmpl %ebx, %r15d
cmovel %r12d, %r8d
movl %r15d, %edi
movq -0x30(%rbp), %rsi
movl %r15d, %edx
callq 0xdedf
leaq 0x25b9eb(%rip), %rax    # 0x3252a0
movl (%rax), %eax
addl %eax, %r15d
jmp 0xc9880
leaq 0x25b9e9(%rip), %rax    # 0x3252ac
movl (%rax), %esi
leaq 0x25b9cc(%rip), %rax    # 0x325298
movl (%rax), %eax
pushq $0x2
popq %rcx
cltd
idivl %ecx
movl %eax, %ebx
movq %rsi, -0x30(%rbp)
leal (%rbx,%rsi), %eax
movl %eax, -0x38(%rbp)
leal -0x1(%rbx,%rsi), %r13d
leaq 0x25b9bc(%rip), %rax    # 0x3252a8
movl (%rax), %r12d
leal (%rbx,%r12), %eax
movl %eax, -0x3c(%rbp)
leal -0x1(%r12,%rbx), %r14d
pushq $0xf
popq %r15
movl %r13d, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $-0x2, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $-0x3, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $-0x4, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $-0x5, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $-0x6, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
movl %r13d, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
movl %r13d, %edi
movl -0x3c(%rbp), %esi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
incl %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $0x2, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $0x3, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
leal (%r12,%rbx), %esi
addl $0x4, %esi
movl %r13d, %edi
movl %r15d, %edx
callq 0xe1a7
movl -0x38(%rbp), %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
movq -0x30(%rbp), %r12
leal (%rbx,%r12), %edi
incl %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $0x2, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $0x3, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $0x4, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $-0x2, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $-0x3, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $-0x4, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $-0x5, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
leal (%rbx,%r12), %edi
addl $-0x6, %edi
movl %r14d, %esi
movl %r15d, %edx
callq 0xe1a7
callq 0xe649e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe6b6b