// File: jkingan[P]ladyheather/heathmsc.cpp
// Function: zoom_sat_info()
void zoom_sat_info()
{
int old_sigs;
int old_row, old_col;
int old_size;
int old_clk_r;

   old_sigs = plot_signals;
   old_row = AZEL_ROW;
   old_col = AZEL_COL;
   old_size = AZEL_SIZE;
   old_clk_r = ACLOCK_SIZE;

   if(SCREEN_HEIGHT < TINY_HEIGHT) AZEL_SIZE = ((SCREEN_WIDTH-((MINOR_COL+4)*TEXT_WIDTH)) * 6) / 10;
   else AZEL_SIZE = ((SCREEN_WIDTH-((MINOR_COL+4)*TEXT_WIDTH)) * 8) / 10;

   if(AZEL_SIZE > (SCREEN_HEIGHT/2)) AZEL_SIZE = ((SCREEN_HEIGHT/2) * 8) / 10;
   if(AZEL_SIZE > MAX_AZEL) AZEL_SIZE = MAX_AZEL;

   plot_signals = 0;
   AZEL_ROW = TEXT_HEIGHT*2;
   AZEL_COL = (MINOR_COL+4)*TEXT_WIDTH;
// AZEL_RADIUS = AZEL_SIZE/2;
   ACLOCK_SIZE = AZEL_SIZE;
   erase_azel(9);
   draw_azel_plot(5);

   plot_signals = 4;
   AZEL_ROW = (SCREEN_HEIGHT/2);// + TEXT_WIDTH*8;
   AZEL_COL = (MINOR_COL+4)*TEXT_WIDTH;
   erase_azel(10);
   draw_signal_map(9);

   AZEL_COL = old_col;
   AZEL_ROW = old_row;
   AZEL_SIZE = old_size;
   ACLOCK_SIZE= old_clk_r;
   plot_signals = old_sigs;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x124e96(%rip), %rax    # 0x27a5f5
movzbl (%rax), %eax
movl %eax, -0x4(%rbp)
leaq 0x244e04(%rip), %rax    # 0x39a570
movl (%rax), %eax
movl %eax, -0x8(%rbp)
leaq 0x244dfc(%rip), %rax    # 0x39a574
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq 0x244de8(%rip), %rax    # 0x39a56c
movl (%rax), %eax
movl %eax, -0x10(%rbp)
leaq 0x244dc0(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl %eax, -0x14(%rbp)
leaq 0x122248(%rip), %rax    # 0x2779e4
cmpl $0x1e0, (%rax)          # imm = 0x1E0
jge 0x1557dd
leaq 0x122235(%rip), %rax    # 0x2779e0
movl (%rax), %eax
leaq 0x1221c8(%rip), %rcx    # 0x27797c
movl (%rcx), %ecx
addl $0x4, %ecx
leaq 0x122230(%rip), %rdx    # 0x2779f0
imull (%rdx), %ecx
subl %ecx, %eax
imull $0x6, %eax, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244d93(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
jmp 0x155814
leaq 0x1221fc(%rip), %rax    # 0x2779e0
movl (%rax), %eax
leaq 0x12218f(%rip), %rcx    # 0x27797c
movl (%rcx), %ecx
addl $0x4, %ecx
leaq 0x1221f7(%rip), %rdx    # 0x2779f0
imull (%rdx), %ecx
subl %ecx, %eax
shll $0x3, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244d5a(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
leaq 0x244d51(%rip), %rax    # 0x39a56c
movl (%rax), %eax
movl %eax, -0x18(%rbp)
leaq 0x1221bd(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x18(%rbp), %eax
cmpl %ecx, %eax
jle 0x155861
leaq 0x1221a3(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
shll $0x3, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244d0d(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
leaq 0x244d04(%rip), %rax    # 0x39a56c
cmpl $0x140, (%rax)          # imm = 0x140
jle 0x15587d
leaq 0x244cf5(%rip), %rax    # 0x39a56c
movl $0x140, (%rax)          # imm = 0x140
leaq 0x124d71(%rip), %rax    # 0x27a5f5
movb $0x0, (%rax)
leaq 0x122166(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
shll %ecx
leaq 0x244cd7(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
leaq 0x1220da(%rip), %rax    # 0x27797c
movl (%rax), %ecx
addl $0x4, %ecx
leaq 0x122142(%rip), %rax    # 0x2779f0
imull (%rax), %ecx
leaq 0x244cbc(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
leaq 0x244cab(%rip), %rax    # 0x39a56c
movl (%rax), %ecx
leaq 0x244c86(%rip), %rax    # 0x39a550
movl %ecx, (%rax)
movl $0x9, %edi
callq 0x118d0
movl $0x5, %edi
callq 0x155dd0
leaq 0x124d0e(%rip), %rax    # 0x27a5f5
movb $0x4, (%rax)
leaq 0x1220f3(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244c6c(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
leaq 0x12206f(%rip), %rax    # 0x27797c
movl (%rax), %ecx
addl $0x4, %ecx
leaq 0x1220d7(%rip), %rax    # 0x2779f0
imull (%rax), %ecx
leaq 0x244c51(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl $0xa, %edi
callq 0x118d0
movl $0x9, %edi
callq 0x156a70
movl -0xc(%rbp), %ecx
leaq 0x244c31(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl -0x8(%rbp), %ecx
leaq 0x244c21(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl -0x10(%rbp), %ecx
leaq 0x244c11(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
movl -0x14(%rbp), %ecx
leaq 0x244be9(%rip), %rax    # 0x39a550
movl %ecx, (%rax)
movl -0x4(%rbp), %eax
movb %al, %cl
leaq 0x124c80(%rip), %rax    # 0x27a5f5
movb %cl, (%rax)
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)