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

   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)) { 
      AZEL_SIZE = ((SCREEN_WIDTH / 2) * 8) / 10;
   }
   else {
      AZEL_SIZE = ((SCREEN_HEIGHT / 2) * 8) / 10;
   }

   erase_screen();

   plot_signals = 0;
   ACLOCK_SIZE = AZEL_SIZE;
   aclock_x = 0 + TEXT_WIDTH*8 + ACLOCK_SIZE/2;
   aclock_y = TEXT_HEIGHT*2 + ACLOCK_SIZE/2;
   draw_watch(9);

   AZEL_ROW = TEXT_HEIGHT*2;
   AZEL_COL = SCREEN_WIDTH/2;
// AZEL_RADIUS = AZEL_SIZE/2;
   erase_azel(6);
   draw_azel_plot(4);

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

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

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x122726(%rip), %r15    # 0x205415
movb (%r15), %al
movb %al, -0x29(%rbp)
leaq 0x242694(%rip), %rax    # 0x325390
movl (%rax), %ecx
movl %ecx, -0x38(%rbp)
leaq 0x24268c(%rip), %r13    # 0x325394
movl (%r13), %eax
movl %eax, -0x34(%rbp)
leaq 0x242676(%rip), %rdx    # 0x32538c
leaq 0x11fae3(%rip), %rax    # 0x202800
movl (%rax), %ecx
leaq 0x11fade(%rip), %rax    # 0x202804
movl (%rax), %eax
cmpl %eax, %ecx
cmovll %ecx, %eax
movl (%rdx), %esi
movl %esi, -0x30(%rbp)
movq %rdx, %r14
cmpl $0x1c2, %ecx            # imm = 0x1C2
cmovll %ecx, %eax
pushq $0x2
popq %r12
cltd
idivl %r12d
shll $0x3, %eax
cltd
pushq $0xa
popq %rcx
idivl %ecx
movl %eax, (%r14)
callq 0xe7d9
movb $0x0, (%r15)
movl (%r14), %eax
leaq 0x24260b(%rip), %rcx    # 0x325370
movl %eax, (%rcx)
leaq 0x11faa2(%rip), %rcx    # 0x202810
movl (%rcx), %ecx
cltd
idivl %r12d
leal (%rax,%rcx,8), %ecx
leaq 0x2425f6(%rip), %rdx    # 0x325374
movl %ecx, (%rdx)
leaq 0x11fa8d(%rip), %r14    # 0x202814
movl (%r14), %ecx
leal (%rax,%rcx,2), %eax
leaq 0x2425e4(%rip), %rcx    # 0x325378
movl %eax, (%rcx)
callq 0xde84e
movl (%r14), %eax
addl %eax, %eax
leaq 0x2425e9(%rip), %rbx    # 0x325390
movl %eax, (%rbx)
leaq 0x11fa50(%rip), %rax    # 0x202800
movl (%rax), %eax
cltd
idivl %r12d
movl %eax, (%r13)
pushq $0x6
popq %rdi
callq 0xe87c
callq 0xe2e51
movb $0x2, (%r15)
leaq 0x11fa3e(%rip), %rax    # 0x202810
movl (%rax), %eax
shll $0x3, %eax
movl %eax, (%r13)
leaq 0x11fa22(%rip), %rax    # 0x202804
movl (%rax), %eax
cltd
idivl %r12d
movl %eax, %ecx
movl (%r14), %eax
cltd
idivl %r12d
addl %ecx, %eax
movl %eax, (%rbx)
pushq $0x7
popq %rdi
callq 0xe87c
callq 0xe35a6
movb $0x4, (%r15)
leaq 0x11f9f3(%rip), %rax    # 0x202800
movl (%rax), %eax
cltd
idivl %r12d
movl %eax, (%r13)
pushq $0x8
popq %rdi
callq 0xe87c
callq 0xe35a6
movl -0x34(%rbp), %eax
movl %eax, (%r13)
movl -0x38(%rbp), %eax
movl %eax, (%rbx)
movl -0x30(%rbp), %eax
leaq 0x242552(%rip), %rcx    # 0x32538c
movl %eax, (%rcx)
movb -0x29(%rbp), %al
movb %al, (%r15)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq