// File: /workspace/github_cpp_makefile_star2_O1/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 0x123638(%rip), %rbx    # 0x21b415
movb (%rbx), %al
movb %al, -0x29(%rbp)
leaq 0x2435a7(%rip), %rax    # 0x33b390
movl (%rax), %ecx
movl %ecx, -0x38(%rbp)
leaq 0x24359f(%rip), %r13    # 0x33b394
movl (%r13), %eax
movl %eax, -0x34(%rbp)
leaq 0x243589(%rip), %rdx    # 0x33b38c
leaq 0x1209f6(%rip), %rax    # 0x218800
movl (%rax), %eax
leaq 0x1209f1(%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 0xed5e
movb $0x0, (%rbx)
movl (%r14), %eax
leaq 0x24350f(%rip), %rcx    # 0x33b370
movl %eax, (%rcx)
leaq 0x1209a6(%rip), %r12    # 0x218810
movl (%r12), %ecx
movl %eax, %edx
shrl $0x1f, %edx
addl %eax, %edx
sarl %edx
leal (%rdx,%rcx,8), %eax
leaq 0x2434f3(%rip), %rcx    # 0x33b374
movl %eax, (%rcx)
leaq 0x12098a(%rip), %r15    # 0x218814
movl (%r15), %eax
leal (%rdx,%rax,2), %eax
leaq 0x2434e1(%rip), %rcx    # 0x33b378
movl %eax, (%rcx)
callq 0xf3598
movl (%r15), %eax
addl %eax, %eax
leaq 0x2434e6(%rip), %r14    # 0x33b390
movl %eax, (%r14)
leaq 0x12094c(%rip), %rax    # 0x218800
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, (%r13)
movl $0x6, %edi
callq 0xee11
callq 0xf7f67
movb $0x2, (%rbx)
movl (%r12), %eax
shll $0x3, %eax
movl %eax, (%r13)
leaq 0x12091d(%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 0xee11
callq 0xf86eb
movb $0x4, (%rbx)
leaq 0x1208e4(%rip), %rax    # 0x218800
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, (%r13)
movl $0x8, %edi
callq 0xee11
callq 0xf86eb
movl -0x34(%rbp), %eax
movl %eax, (%r13)
movl -0x38(%rbp), %eax
movl %eax, (%r14)
movl -0x30(%rbp), %eax
leaq 0x24343b(%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