// File: jkingan[P]ladyheather/heathmsc.cpp
// Function: small_screen_watch()
void small_screen_watch()
{
int medium_touch;  // for 1024x600 touch screen

if(plot_lla && lla_showing) return;

   medium_touch = ((SCREEN_WIDTH > MEDIUM_WIDTH) && (SCREEN_WIDTH <= (MEDIUM_WIDTH+X11_MARGIN)) && (SCREEN_HEIGHT <= SHORT_SCREEN) && (all_adevs == SINGLE_ADEVS));

   if(medium_touch || (SMALL_SCREEN && (SCREEN_WIDTH > NARROW_SCREEN) && (all_adevs == SINGLE_ADEVS))) {
      if(rcvr_type == NO_RCVR) {
         aclock_y = WATCH_ROW + ACLOCK_R + TEXT_WIDTH;
         aclock_x = WATCH_COL + TEXT_WIDTH;
      }
      else {
         ACLOCK_SIZE = WATCH_SIZE;
         aclock_y = WATCH_ROW + ACLOCK_R + TEXT_WIDTH;
         aclock_x = WATCH_COL + ACLOCK_R + TEXT_WIDTH;
      }
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x2457d5(%rip), %rax    # 0x39a490
cmpb $0x0, (%rax)
je 0x154cd1
leaq 0x2457d9(%rip), %rax    # 0x39a4a0
cmpl $0x0, (%rax)
je 0x154cd1
jmp 0x154e98
xorl %eax, %eax
leaq 0x122d06(%rip), %rcx    # 0x2779e0
cmpl $0x3e2, (%rcx)          # imm = 0x3E2
movb %al, -0x5(%rbp)
jle 0x154d20
xorl %eax, %eax
leaq 0x122cf2(%rip), %rcx    # 0x2779e0
cmpl $0x3e8, (%rcx)          # imm = 0x3E8
movb %al, -0x5(%rbp)
jg 0x154d20
xorl %eax, %eax
leaq 0x122ce2(%rip), %rcx    # 0x2779e4
cmpl $0x258, (%rcx)          # imm = 0x258
movb %al, -0x5(%rbp)
jg 0x154d20
leaq 0x14720a(%rip), %rax    # 0x29bf1e
movzbl (%rax), %eax
cmpl $0x0, %eax
sete %al
movb %al, -0x5(%rbp)
movb -0x5(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x4(%rbp)
cmpl $0x0, -0x4(%rbp)
jne 0x154daf
leaq 0x122ca8(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq 0x12d9e0(%rip), %rax    # 0x282724
imull $0x31a, (%rax), %eax    # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc(%rbp), %eax
cmpl %ecx, %eax
jl 0x154d6e
leaq 0x122c82(%rip), %rax    # 0x2779e4
cmpl $0x258, (%rax)          # imm = 0x258
jge 0x154e98
leaq 0x122c6b(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl %eax, -0x10(%rbp)
leaq 0x12d9a3(%rip), %rax    # 0x282724
imull $0x31a, (%rax), %eax    # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x10(%rbp), %eax
cmpl %ecx, %eax
jle 0x154e98
leaq 0x14717b(%rip), %rax    # 0x29bf1e
movzbl (%rax), %eax
cmpl $0x0, %eax
jne 0x154e98
leaq 0x122cfa(%rip), %rax    # 0x277ab0
cmpq $0x400, (%rax)          # imm = 0x400
jne 0x154e16
leaq 0x24577e(%rip), %rax    # 0x39a544
movl (%rax), %ecx
leaq 0x245781(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
leaq 0x122c10(%rip), %rdx    # 0x2779f0
subl (%rdx), %eax
addl %eax, %ecx
leaq 0x122c05(%rip), %rax    # 0x2779f0
addl (%rax), %ecx
leaq 0x245764(%rip), %rax    # 0x39a558
movl %ecx, (%rax)
leaq 0x24574b(%rip), %rax    # 0x39a548
movl (%rax), %ecx
leaq 0x122bea(%rip), %rax    # 0x2779f0
addl (%rax), %ecx
leaq 0x245745(%rip), %rax    # 0x39a554
movl %ecx, (%rax)
jmp 0x154e96
leaq 0x24572f(%rip), %rax    # 0x39a54c
movl (%rax), %ecx
leaq 0x24572a(%rip), %rax    # 0x39a550
movl %ecx, (%rax)
leaq 0x245715(%rip), %rax    # 0x39a544
movl (%rax), %ecx
leaq 0x245718(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
leaq 0x122ba7(%rip), %rdx    # 0x2779f0
subl (%rdx), %eax
addl %eax, %ecx
leaq 0x122b9c(%rip), %rax    # 0x2779f0
addl (%rax), %ecx
leaq 0x2456fb(%rip), %rax    # 0x39a558
movl %ecx, (%rax)
leaq 0x2456e2(%rip), %rax    # 0x39a548
movl (%rax), %ecx
leaq 0x2456e1(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
leaq 0x122b70(%rip), %rdx    # 0x2779f0
subl (%rdx), %eax
addl %eax, %ecx
leaq 0x122b65(%rip), %rax    # 0x2779f0
addl (%rax), %ecx
leaq 0x2456c0(%rip), %rax    # 0x39a554
movl %ecx, (%rax)
jmp 0x154e98
popq %rbp
retq
nopw (%rax,%rax)