// File: /workspace/github_cpp_makefile_star2_O3/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 0x122ebe(%rip), %rbx    # 0x21b415
movb (%rbx), %al
movb %al, -0x29(%rbp)
leaq 0x242e2d(%rip), %rax    # 0x33b390
movl (%rax), %ecx
movl %ecx, -0x38(%rbp)
leaq 0x242e25(%rip), %r13    # 0x33b394
movl (%r13), %eax
movl %eax, -0x34(%rbp)
leaq 0x242e0f(%rip), %rdx    # 0x33b38c
leaq 0x12027c(%rip), %rax    # 0x218800
movl (%rax), %eax
leaq 0x120277(%rip), %rcx    # 0x218804
movl (%rcx), %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
movl (%rdx), %esi
movl %esi, -0x30(%rbp)
movq %rdx, %r14
cmpl $0x1c2, %eax            # imm = 0x1C2
cmovll %eax, %ecx
movl %ecx, %eax
shrl $0x1f, %eax
addl %ecx, %eax
shll $0x2, %eax
andl $-0x8, %eax
cltq
imulq $0x66666667, %rax, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x22, %rax
addl %ecx, %eax
movl %eax, (%rdx)
callq 0xeceb
movb $0x0, (%rbx)
movl (%r14), %eax
leaq 0x242d95(%rip), %rcx    # 0x33b370
movl %eax, (%rcx)
leaq 0x12022c(%rip), %r12    # 0x218810
movl (%r12), %ecx
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
leal (%rdx,%rcx,8), %eax
leaq 0x242d79(%rip), %rcx    # 0x33b374
movl %eax, (%rcx)
leaq 0x120210(%rip), %r15    # 0x218814
movl (%r15), %eax
leal (%rdx,%rax,2), %eax
leaq 0x242d67(%rip), %rcx    # 0x33b378
movl %eax, (%rcx)
callq 0xf3c61
movl (%r15), %eax
addl %eax, %eax
leaq 0x242d6c(%rip), %r14    # 0x33b390
movl %eax, (%r14)
leaq 0x1201d2(%rip), %rax    # 0x218800
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, (%r13)
movl $0x6, %edi
callq 0xed9e
callq 0xf86e1
movb $0x2, (%rbx)
movl (%r12), %eax
shll $0x3, %eax
movl %eax, (%r13)
leaq 0x1201a3(%rip), %rax    # 0x218804
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl (%r15), %eax
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
addl %ecx, %edx
movl %edx, (%r14)
movl $0x7, %edi
callq 0xed9e
callq 0xf8e75
movb $0x4, (%rbx)
leaq 0x12016a(%rip), %rax    # 0x218800
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, (%r13)
movl $0x8, %edi
callq 0xed9e
callq 0xf8e75
movl -0x34(%rbp), %eax
movl %eax, (%r13)
movl -0x38(%rbp), %eax
movl %eax, (%r14)
movl -0x30(%rbp), %eax
leaq 0x242cc1(%rip), %rcx    # 0x33b38c
movl %eax, (%rcx)
movb -0x29(%rbp), %al
movb %al, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq