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

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

   if((SCREEN_WIDTH < TINY_TINY_WIDTH) || (SCREEN_WIDTH < SCREEN_HEIGHT)) {
      w = SCREEN_WIDTH;
   }
   else {
      w = SCREEN_HEIGHT;
   }
   AZEL_SIZE = ((w / 2) * 8) / 10;

   plot_signals = 1;
   AZEL_COL = 0 + TEXT_WIDTH*8;
   AZEL_ROW = TEXT_HEIGHT*2;
   erase_azel(2);
   draw_signal_map(3);

   plot_signals = 2;
   AZEL_COL = SCREEN_WIDTH/2;
   erase_azel(3);
   draw_signal_map(4);

   plot_signals = 3;
   AZEL_COL = 0 + TEXT_WIDTH*8;
   AZEL_ROW = (SCREEN_HEIGHT/2) + (TEXT_HEIGHT/2);
   erase_azel(4);
   draw_signal_map(5);

   plot_signals = 4;
   AZEL_COL = SCREEN_WIDTH/2;
   erase_azel(5);
   draw_signal_map(6);

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x124c66(%rip), %rax    # 0x27a5f5
movzbl (%rax), %eax
movl %eax, -0x4(%rbp)
leaq 0x244bd4(%rip), %rax    # 0x39a570
movl (%rax), %eax
movl %eax, -0x8(%rbp)
leaq 0x244bcc(%rip), %rax    # 0x39a574
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq 0x244bb8(%rip), %rax    # 0x39a56c
movl (%rax), %eax
movl %eax, -0x10(%rbp)
leaq 0x122020(%rip), %rax    # 0x2779e0
cmpl $0x1c2, (%rax)          # imm = 0x1C2
jl 0x1559dc
leaq 0x122011(%rip), %rax    # 0x2779e0
movl (%rax), %eax
leaq 0x12200c(%rip), %rcx    # 0x2779e4
cmpl (%rcx), %eax
jge 0x1559ea
leaq 0x121ffd(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl %eax, -0x14(%rbp)
jmp 0x1559f6
leaq 0x121ff3(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
shll $0x3, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244b57(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
leaq 0x124bd7(%rip), %rax    # 0x27a5f5
movb $0x1, (%rax)
leaq 0x121fc8(%rip), %rax    # 0x2779f0
movl (%rax), %ecx
shll $0x3, %ecx
addl $0x0, %ecx
leaq 0x244b3d(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
leaq 0x121fb4(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
shll %ecx
leaq 0x244b25(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl $0x2, %edi
callq 0x118d0
movl $0x3, %edi
callq 0x156a70
leaq 0x124b8d(%rip), %rax    # 0x27a5f5
movb $0x2, (%rax)
leaq 0x121f6e(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244aef(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl $0x3, %edi
callq 0x118d0
movl $0x4, %edi
callq 0x156a70
leaq 0x124b53(%rip), %rax    # 0x27a5f5
movb $0x3, (%rax)
leaq 0x121f44(%rip), %rax    # 0x2779f0
movl (%rax), %ecx
shll $0x3, %ecx
addl $0x0, %ecx
leaq 0x244ab9(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
leaq 0x121f20(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x121f1d(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
addl %eax, %ecx
leaq 0x244a86(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl $0x4, %edi
callq 0x118d0
movl $0x5, %edi
callq 0x156a70
leaq 0x124aee(%rip), %rax    # 0x27a5f5
movb $0x4, (%rax)
leaq 0x121ecf(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244a50(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl $0x5, %edi
callq 0x118d0
movl $0x6, %edi
callq 0x156a70
movl -0xc(%rbp), %ecx
leaq 0x244a30(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl -0x8(%rbp), %ecx
leaq 0x244a20(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl -0x10(%rbp), %ecx
leaq 0x244a10(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
movl -0x4(%rbp), %eax
movb %al, %cl
leaq 0x124a8b(%rip), %rax    # 0x27a5f5
movb %cl, (%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)