// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathmsc.cpp
// Function: draw_watch_face()
void draw_watch_face()
{
int x, y;
int hh;
int lasth;
char **wf;
float hr;
u08 bottom_blocked, top_blocked;
int i;
int old_time_color;

   old_time_color = time_color;
   if(eclipsed) time_color = YELLOW;

   wf = face[watch_face%NUM_FACES];
   graphics_coords = 1;

   // find the best place to put the watch brand name
   bottom_blocked = top_blocked = 0;
   hh = (pri_hours / WATCH_MULT) % 12;
   hh *= 100;
   hh += pri_minutes;
   if((pri_minutes >= 20) && (pri_minutes <= 40)) bottom_blocked |= 1;
   if((hh >= 400) && (hh <= 800))                 bottom_blocked |= 2;
   if((pri_minutes >= 10) && (pri_minutes <= 50)) top_blocked |= 0;
   else                                           top_blocked |= 5;
   if((hh >= 200) && (hh <= 1000))                top_blocked |= 0;
   else                                           top_blocked |= 6;

   moon_x = 0;
   if     (top_blocked == 0)    { y = aclock_y-ACLOCK_SIZE/4; moon_y = (+ACLOCK_SIZE/4); }
   else if(bottom_blocked == 0) { y = aclock_y+ACLOCK_SIZE/4; moon_y = (-ACLOCK_SIZE/4); }
   else if(top_blocked & 1)     { y = aclock_y-ACLOCK_SIZE/4; moon_y = (+ACLOCK_SIZE/4); }
   else                         { y = aclock_y+ACLOCK_SIZE/4; moon_y = (-ACLOCK_SIZE/4); }

// sprintf(plot_title, "lwf:%d  wn[%02X]:%s  hlt:%d  r:%d  xy:%d,%d  gc:%d", label_watch_face, watch_name[0], watch_name, have_local_time, ACLOCK_R, aclock_x,y, graphics_coords);
   if(label_watch_face) {
      out[0] = 0;
      if(eclipsed) strcpy(out, "ECLIPSE!");
      else if(watch_name[0]) strcpy(out, watch_name);
      else if(!have_local_time) ;
      else if(ACLOCK_R < 70) ;
      else strcpy(out, days[day_of_week(pri_day, pri_month, pri_year)]);
      vidstr(y+TEXT_HEIGHT*0,aclock_x-strlen(out)*TEXT_WIDTH/2, time_color, out);

      out[0] = 0;
      if(watch_name2[0]) strcpy(out, watch_name2);
      else if(ACLOCK_R < 120) ;
      else strcpy(out, fmt_date(1));
      i = strlen(out);
      while(i--) {
         if(out[i] == ' ') out[i] = 0;
         else break;
      }
      vidstr(y+TEXT_HEIGHT*1,aclock_x-strlen(out)*TEXT_WIDTH/2, time_color, out);

      #ifdef GREET_STUFF
         if(moons[pri_day] && (watch_name[0] != ' ')) {
            if(y < aclock_y) vidstr(y+TEXT_HEIGHT*2,aclock_x-strlen(moons[pri_day])*TEXT_WIDTH/2, time_color, moons[pri_day]);
            else             vidstr(y-TEXT_HEIGHT*1,aclock_x-strlen(moons[pri_day])*TEXT_WIDTH/2, time_color, moons[pri_day]);
         }
      #endif
//sprintf(debug_text, "asize:%d", ACLOCK_R);
   }


   for(lasth=1; lasth<=WATCH_HOURS; lasth++) {  // draw the watch numerals
      hr = (float) lasth;
      hr *= (60.0F/(float)WATCH_HOURS);
      if(lasth == 24) x = 0;
      else if(lasth == (6*WATCH_MULT)) x = 0;
      else x = (int) (ACLOCK_R * cos(hand_angle(hr))); 
      if(x > 0) x -= strlen(wf[lasth])*TEXT_WIDTH;
      else if(x == 0) x -= (strlen(wf[lasth])*TEXT_WIDTH/2-(TEXT_WIDTH/2));
      x += aclock_x;
      x -= TEXT_WIDTH/2;

      y = (int) (ACLOCK_R * sin(hand_angle(hr))); 
      if(y > 0) y -= TEXT_HEIGHT;
      else if(y < 0) y += TEXT_HEIGHT;
      y += aclock_y;
      y -= TEXT_HEIGHT/2;


      // tweak text positions for more natural goodness
      hh = lasth;
      if((hh >= (2*WATCH_MULT)) && (hh <= (4*WATCH_MULT))) {
         x -= TEXT_WIDTH/2;
         if(hh == (3*WATCH_MULT)) x -= TEXT_WIDTH/2;
      }
      else if((hh >= (8*WATCH_MULT)) && (hh <= (10*WATCH_MULT))) {
         x += TEXT_WIDTH;  // *3/4;
         if(hh == (9*WATCH_MULT)) x += TEXT_WIDTH/2;
      }

      if(WATCH_HOURS == 24) {
         if     (hh == 1)  {                     x += TEXT_WIDTH/2;   }
         else if(hh == 7)  { y += TEXT_HEIGHT;                        }
         else if(hh == 3)  { y += TEXT_HEIGHT/2; x += TEXT_WIDTH/2;   }
         else if(hh == 9)  { y += TEXT_HEIGHT/2; x -= TEXT_WIDTH/2;   }
         else if(hh == 19) { y -= TEXT_HEIGHT;   x += TEXT_WIDTH/2;   }
         else if(hh == 21) { y -= TEXT_HEIGHT/2; x += TEXT_WIDTH;     }
         else if(hh == 13) { 
            if((watch_face%NUM_FACES) == 0) {  // special tweak for roman numerals
               y -= TEXT_HEIGHT/4; x -= TEXT_WIDTH*3/2;
            }
            else {
               x -= TEXT_WIDTH*3/4;
            }
         }
      }

      if(SCREEN_WIDTH <= NARROW_SCREEN) {  // tweaks for small screens
         if(hh == (1*WATCH_MULT)) {           // 1:00
            x += TEXT_WIDTH;
            if(PLOT_HEIGHT < 160) y += TEXT_HEIGHT/4;
         }
         else if(hh == (11*WATCH_MULT)) {     // 11:00
            if(PLOT_HEIGHT < 160) y += TEXT_HEIGHT/4;
         }
         else if(hh == (5*WATCH_MULT)) {      // 5:00
            x += TEXT_WIDTH;
            if(PLOT_HEIGHT < 160) y -= TEXT_HEIGHT/4;
         }
         else if(hh == (7*WATCH_MULT)) {      // 7:00
            if(PLOT_HEIGHT < 160) {
               x += TEXT_WIDTH/2;
               y -= TEXT_HEIGHT/4;
            }
         }
         else if(hh == (2*WATCH_MULT)) {
            y -= TEXT_HEIGHT/2;
         }
         else if(hh == (10*WATCH_MULT)) {
            y -= TEXT_HEIGHT/2;
         }

         if(WATCH_HOURS == 24) {
            if     (hh == 1)  { x += TEXT_WIDTH;                       }
            else if(hh == 3)  { x += TEXT_WIDTH/2; y -= TEXT_HEIGHT/2; }
            else if(hh == 4)  { x += TEXT_WIDTH/2;                     }
            else if(hh == 5)  { x += TEXT_WIDTH/2; y -= TEXT_HEIGHT/2; }
            else if(hh == 6)  { x += TEXT_WIDTH/2;                     }
            else if(hh == 8)  { x += TEXT_WIDTH/2; y += TEXT_HEIGHT/2; }
            else if(hh == 9)  { x += TEXT_WIDTH/2;                     }
            else if(hh == 11) { x += TEXT_WIDTH/2;                     }
//          else if(hh == 13) { x -= TEXT_WIDTH/1; y -= TEXT_HEIGHT/2; }
            else if(hh == 14) { x += TEXT_WIDTH/4;                     }
            else if(hh == 16) { x -= TEXT_WIDTH/4; y += TEXT_HEIGHT/4; }
            else if(hh == 17) {                    y += TEXT_HEIGHT/4; }
            else if(hh == 22) { x += TEXT_WIDTH*0; y -= TEXT_HEIGHT/4; }
            else if(hh == 23) { x += TEXT_WIDTH/2; y -= TEXT_HEIGHT/4; }
         }
      }

      vidstr(y,x, time_color, wf[lasth]);
   }

   time_color = old_time_color;
   graphics_coords = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x130e37(%rip), %rcx    # 0x20d5d4
movl (%rcx), %ebx
leaq 0x21b06a(%rip), %rax    # 0x2f7810
movl (%rax), %esi
movl %ebx, -0x3c(%rbp)
testl %esi, %esi
je 0xdc7b8
movl $0xe, (%rcx)
pushq $0xe
popq %rbx
leaq 0x128c53(%rip), %rax    # 0x205412
movzbl (%rax), %eax
movb $0x3, %cl
divb %cl
movzbl %ah, %ecx
leaq 0x7e050(%rip), %rdx     # 0x15a820
movq (%rdx,%rcx,8), %rcx
movq %rcx, -0x30(%rbp)
leaq 0x126089(%rip), %rcx    # 0x202868
movb $0x1, (%rcx)
leaq 0x21ad1f(%rip), %rcx    # 0x2f7508
movl (%rcx), %ecx
incb %al
movzbl %al, %edi
movl %ecx, %eax
cltd
idivl %edi
pushq $0xc
popq %rcx
cltd
idivl %ecx
imull $0x64, %edx, %edi
leaq 0x21acff(%rip), %rax    # 0x2f7504
movl (%rax), %r9d
andl $0x0, 0x287541(%rip)    # 0x363d50
leal -0xa(%r9), %r8d
cmpl $0x28, %r8d
ja 0xdc849
leal (%rdi,%r9), %eax
addl $0xffffff38, %eax       # imm = 0xFFFFFF38
cmpl $0x320, %eax            # imm = 0x320
ja 0xdc849
leaq 0x248b48(%rip), %rax    # 0x325378
movl (%rax), %r13d
leaq 0x248b36(%rip), %rax    # 0x325370
movl (%rax), %ecx
movl %ecx, %eax
cltd
pushq $0x4
popq %rdi
idivl %edi
subl %eax, %r13d
jmp 0xdc89f
leal -0x29(%r9), %r10d
leaq 0x248b1c(%rip), %rax    # 0x325370
movl (%rax), %ecx
movl %ecx, %eax
cltd
pushq $0x4
popq %r11
idivl %r11d
movl %eax, %r13d
leaq 0x248b0e(%rip), %rax    # 0x325378
movl (%rax), %edx
cmpl $-0x16, %r10d
ja 0xdc883
addl %r9d, %edi
addl $0xfffffcdf, %edi       # imm = 0xFFFFFCDF
cmpl $0xfffffe6e, %edi       # imm = 0xFFFFFE6E
jbe 0xdc889
cmpl $0x29, %r8d
jae 0xdc896
addl %edx, %r13d
movl %ecx, %eax
cltd
pushq $-0x4
popq %rdi
idivl %edi
jmp 0xdc89f
subl %r13d, %edx
movl %r13d, %eax
movl %edx, %r13d
movl %eax, 0x2874af(%rip)    # 0x363d54
leaq 0x24be83(%rip), %rax    # 0x32872f
cmpb $0x0, (%rax)
je 0xdca70
leaq 0x249964(%rip), %r14    # 0x326220
movb $0x0, (%r14)
testl %esi, %esi
je 0xdc8d8
movabsq $0x21455350494c4345, %rax # imm = 0x21455350494C4345
movq %rax, (%r14)
movb $0x0, 0x8(%r14)
jmp 0xdc8fb
leaq 0x24be11(%rip), %rax    # 0x3286f0
cmpb $0x0, (%rax)
je 0xdcec5
leaq 0x249931(%rip), %rdi    # 0x326220
leaq 0x24bdfa(%rip), %rsi    # 0x3286f0
callq 0x9330
leaq 0x248a72(%rip), %rax    # 0x325374
movl (%rax), %r15d
movq %r14, %rdi
callq 0x9120
leaq 0x125efc(%rip), %rcx    # 0x202810
movslq (%rcx), %rcx
imulq %rax, %rcx
shrq %rcx
subl %ecx, %r15d
movzbl %bl, %edx
movl %r13d, %edi
movl %r15d, %esi
movq %r14, %rcx
callq 0xe2d2
movb $0x0, (%r14)
leaq 0x24bdd3(%rip), %rsi    # 0x328710
cmpb $0x0, (%rsi)
jne 0xdc96e
leaq 0x248a27(%rip), %rax    # 0x325370
movl (%rax), %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
leaq 0x125eb8(%rip), %rcx    # 0x202810
subl (%rcx), %eax
cmpl $0x78, %eax
jl 0xdc97a
pushq $0x1
popq %rdi
callq 0xdab87
leaq 0x288ed2(%rip), %rsi    # 0x365840
leaq 0x2498ab(%rip), %rdi    # 0x326220
callq 0x9330
movq %r14, %rdi
callq 0x9120
cltq
movq %rax, %rcx
subq $0x1, %rcx
jb 0xdc9a0
cmpb $0x20, -0x1(%r14,%rax)
jne 0xdc9a0
movb $0x0, -0x1(%r14,%rax)
movq %rcx, %rax
jmp 0xdc987
leaq 0x125e6d(%rip), %r12    # 0x202814
movl (%r12), %r14d
addl %r13d, %r14d
leaq 0x2489bf(%rip), %rax    # 0x325374
movl (%rax), %r15d
leaq 0x249861(%rip), %rbx    # 0x326220
movq %rbx, %rdi
callq 0x9120
leaq 0x125e42(%rip), %rcx    # 0x202810
movslq (%rcx), %rcx
imulq %rax, %rcx
shrq %rcx
subl %ecx, %r15d
leaq 0x130bf2(%rip), %rax    # 0x20d5d4
movzbl (%rax), %edx
movl %r14d, %edi
movl %r15d, %esi
movq %rbx, %rcx
callq 0xe2d2
leaq 0x21ab12(%rip), %rax    # 0x2f750c
movslq (%rax), %rax
leaq 0x7e5bc(%rip), %rcx     # 0x15afc0
movq (%rcx,%rax,8), %r14
testq %r14, %r14
je 0xdca70
leaq 0x24bcdc(%rip), %rax    # 0x3286f0
cmpb $0x20, (%rax)
je 0xdca70
leaq 0x248958(%rip), %rax    # 0x325378
movl (%r12), %r15d
leal (%r15,%r15), %ecx
negl %r15d
cmpl (%rax), %r13d
cmovll %ecx, %r15d
addl %r13d, %r15d
leaq 0x248938(%rip), %rax    # 0x325374
movl (%rax), %ebx
movq %r14, %rdi
callq 0x9120
leaq 0x125dc3(%rip), %rcx    # 0x202810
movslq (%rcx), %rcx
imulq %rax, %rcx
shrq %rcx
subl %ecx, %ebx
leaq 0x130b74(%rip), %rax    # 0x20d5d4
movzbl (%rax), %edx
movl %r15d, %edi
movl %ebx, %esi
movq %r14, %rcx
callq 0xe2d2
pushq $0x1
popq %r15
xorl %r13d, %r13d
leaq 0x125d92(%rip), %r12    # 0x202810
pushq $0x2
popq %r14
leaq 0x128989(%rip), %rax    # 0x205412
movzbl (%rax), %eax
movb $0x3, %cl
divb %cl
incb %al
movzbl %al, %eax
imull $0xc, %eax, %ecx
cmpq %rcx, %r15
ja 0xdcea0
cvtsi2ss %r15d, %xmm1
cvtsi2ss %ecx, %xmm2
movss 0x1a64a(%rip), %xmm0    # 0xf70fc
divss %xmm2, %xmm0
mulss %xmm1, %xmm0
cmpq $0x18, %r15
je 0xdcb39
imull $0x6, %eax, %eax
cmpq %rax, %r15
je 0xdcb39
leaq 0x2488a1(%rip), %rax    # 0x325370
movl (%rax), %eax
cltd
idivl %r14d
subl (%r12), %eax
cvtsi2sd %eax, %xmm1
movsd %xmm1, -0x38(%rbp)
cvtss2sd %xmm0, %xmm0
mulsd 0x2bc2a(%rip), %xmm0    # 0x108718
addsd 0x39b72(%rip), %xmm0    # 0x116668
mulsd 0x18da2(%rip), %xmm0    # 0xf58a0
divsd 0x18da2(%rip), %xmm0    # 0xf58a8
movsd %xmm0, -0x48(%rbp)
callq 0x9710
mulsd -0x38(%rbp), %xmm0
cvttsd2si %xmm0, %ebx
testl %ebx, %ebx
jle 0xdccb3
movq -0x30(%rbp), %rax
movq (%rax,%r15,8), %rdi
callq 0x9120
movl (%r12), %ecx
imull %ecx, %eax
subl %eax, %ebx
jmp 0xdcb87
cvtss2sd %xmm0, %xmm0
mulsd 0x2bbd3(%rip), %xmm0    # 0x108718
addsd 0x39b1b(%rip), %xmm0    # 0x116668
mulsd 0x18d4b(%rip), %xmm0    # 0xf58a0
divsd 0x18d4b(%rip), %xmm0    # 0xf58a8
movsd %xmm0, -0x48(%rbp)
movq -0x30(%rbp), %rax
movq (%rax,%r15,8), %rdi
callq 0x9120
movq %rax, %rsi
movslq (%r12), %rcx
imulq %rcx, %rsi
shrq %rsi
movl %ecx, %eax
cltd
idivl %r14d
movl %eax, %ebx
subl %esi, %ebx
movl %r14d, %esi
leaq 0x2487e3(%rip), %rax    # 0x325374
addl (%rax), %ebx
movl %ecx, %eax
cltd
pushq $-0x2
popq %rdi
idivl %edi
movl %eax, %r14d
leaq 0x2487cb(%rip), %rax    # 0x325370
movl (%rax), %eax
cltd
idivl %esi
subl %ecx, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x38(%rbp)
movsd -0x48(%rbp), %xmm0
callq 0x9080
mulsd -0x38(%rbp), %xmm0
cvttsd2si %xmm0, %edi
leaq 0x125c45(%rip), %rax    # 0x202814
testl %edi, %edi
jle 0xdcbd9
movl (%rax), %ecx
subl %ecx, %edi
jmp 0xdcbe5
movl (%rax), %ecx
leal (%rcx,%rdi), %eax
testl %edi, %edi
cmovel %edi, %eax
movl %eax, %edi
addl %r14d, %ebx
movl %ecx, %eax
cltd
leaq 0x248786(%rip), %rsi    # 0x325378
addl (%rsi), %edi
pushq $-0x2
popq %rsi
idivl %esi
movl %eax, %esi
leaq 0x128810(%rip), %rax    # 0x205412
movzbl (%rax), %r8d
movzbl %r8b, %eax
movb $0x3, %dl
divb %dl
incb %al
movzbl %al, %r9d
leal (%r9,%r9), %r10d
cmpq %r10, %r15
setb %al
leal (,%r9,4), %edx
cmpq %rdx, %r15
seta %dl
orb %al, %dl
je 0xdcc61
leal (,%r9,8), %eax
cmpq %rax, %r15
pushq $0x2
popq %r14
jb 0xdcc80
imull $0xa, %r9d, %eax
cmpq %rax, %r15
ja 0xdcc80
movl (%r12), %eax
addl %eax, %ebx
leal (%r9,%r9,8), %edx
cmpq %rdx, %r15
jne 0xdcc80
cltd
idivl %r14d
addl %eax, %ebx
jmp 0xdcc80
movl (%r12), %eax
cltd
pushq $0x2
popq %r14
idivl %r14d
leal (%r9,%r9,2), %edx
cmpq %rdx, %r15
movl $0x0, %edx
cmovel %eax, %edx
addl %eax, %edx
subl %edx, %ebx
addl %esi, %edi
leal -0x3(%r8), %eax
cmpl $0x2, %eax
ja 0xdcd13
movl %r13d, %eax
rorl %eax
cmpl $0xa, %eax
ja 0xdcd13
leaq 0x384c0(%rip), %rdx     # 0x115160
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movl %ecx, %eax
cltd
idivl %r14d
addl %eax, %edi
jmp 0xdccc4
je 0xdcb62
movl (%r12), %ecx
jmp 0xdcb87
subl %ecx, %edi
movl (%r12), %eax
cltd
idivl %r14d
jmp 0xdcd11
addl %esi, %edi
addl (%r12), %ebx
jmp 0xdcd13
addl %ecx, %edi
jmp 0xdcd13
movl %ecx, %eax
cltd
idivl %r14d
addl %eax, %edi
movl (%r12), %eax
jmp 0xdccff
cmpl $0x3, %r8d
jne 0xdcd04
movl %ecx, %eax
cltd
pushq $-0x4
popq %r11
idivl %r11d
addl %eax, %edi
imull $0x3, (%r12), %eax
cltd
pushq $-0x2
jmp 0xdcd0c
imull $0x3, (%r12), %eax
cltd
pushq $-0x4
popq %r11
idivl %r11d
addl %eax, %ebx
leaq 0x125ae6(%rip), %rax    # 0x202800
movl (%rax), %r11d
leaq 0x130820(%rip), %rax    # 0x20d544
imull $0x31a, (%rax), %eax    # imm = 0x31A
cltd
pushq $0x64
popq %r12
idivl %r12d
cmpl %eax, %r11d
jle 0xdcd43
leaq 0x125ad2(%rip), %r12    # 0x202810
jmp 0xdce41
movl %r9d, %eax
cmpq %rax, %r15
leaq 0x125ac0(%rip), %r12    # 0x202810
jne 0xdcd58
addl (%r12), %ebx
jmp 0xdcd61
imull $0xb, %r9d, %eax
cmpq %rax, %r15
jne 0xdcdb6
leaq 0x125b20(%rip), %rax    # 0x202888
cmpl $0x9f, (%rax)
jg 0xdcd7c
movl %ecx, %eax
cltd
pushq $0x4
popq %r9
idivl %r9d
addl %eax, %edi
addb $-0x3, %r8b
cmpb $0x2, %r8b
ja 0xdce41
leal -0x1(%r15), %eax
cmpl $0x16, %eax
ja 0xdce41
leaq 0x383ee(%rip), %rdx     # 0x11518c
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movl (%r12), %eax
cltd
idivl %r14d
addl %eax, %ebx
jmp 0xdce41
leal (%r9,%r9,4), %eax
cmpq %rax, %r15
jne 0xdcdd4
addl (%r12), %ebx
leaq 0x125abe(%rip), %rax    # 0x202888
cmpl $0x9f, (%rax)
jg 0xdcd7c
jmp 0xdcdf6
imull $0x7, %r9d, %eax
cmpq %rax, %r15
jne 0xdce0e
leaq 0x125aa4(%rip), %rax    # 0x202888
cmpl $0x9f, (%rax)
jg 0xdcd7c
movl (%r12), %eax
cltd
idivl %r14d
addl %eax, %ebx
movl %ecx, %eax
cltd
pushq $-0x4
jmp 0xdcd75
movl (%r12), %eax
cltd
idivl %r14d
addl %eax, %ebx
addl %esi, %edi
jmp 0xdce41
cmpq %r10, %r15
jne 0xdce8c
addl %esi, %edi
jmp 0xdcd7c
movl (%r12), %eax
cltd
pushq $-0x4
popq %rsi
idivl %esi
addl %eax, %ebx
movl %ecx, %eax
cltd
pushq $0x4
jmp 0xdce3c
movl (%r12), %eax
cltd
idivl %r14d
addl %eax, %ebx
movl %ecx, %eax
cltd
pushq $-0x4
popq %rcx
idivl %ecx
addl %eax, %edi
leaq 0x13078c(%rip), %rax    # 0x20d5d4
movzbl (%rax), %edx
movq -0x30(%rbp), %rax
movq (%rax,%r15,8), %rcx
movl %ebx, %esi
callq 0xe2d2
incq %r15
incl %r13d
jmp 0xdca82
addl (%r12), %ebx
jmp 0xdce41
movl (%r12), %eax
cltd
idivl %r14d
addl %eax, %ebx
movl %ecx, %eax
cltd
idivl %r14d
jmp 0xdce3f
movl (%r12), %eax
cltd
pushq $0x4
popq %rcx
idivl %ecx
jmp 0xdcdaf
imull $0xa, %r9d, %eax
cmpq %rax, %r15
movl $0x0, %eax
cmovel %esi, %eax
jmp 0xdcd7a
leaq 0x13072d(%rip), %rax    # 0x20d5d4
movl -0x3c(%rbp), %ecx
movl %ecx, (%rax)
leaq 0x1259b5(%rip), %rax    # 0x202868
movb $0x0, (%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x21a780(%rip), %rax    # 0x2f764c
cmpl $0x0, (%rax)
je 0xdc8fb
movl %ecx, %eax
cltd
pushq $0x2
popq %rcx
idivl %ecx
leaq 0x12592c(%rip), %rcx    # 0x202810
subl (%rcx), %eax
cmpl $0x46, %eax
jl 0xdc8fb
leaq 0x21a616(%rip), %rax    # 0x2f750c
movl (%rax), %edi
leaq 0x21a611(%rip), %rax    # 0x2f7510
movl (%rax), %esi
leaq 0x21a60c(%rip), %rax    # 0x2f7514
movl (%rax), %edx
callq 0xcd7b8
movzbl %al, %eax
leaq 0x777a7(%rip), %rcx     # 0x1546c0
movq (%rcx,%rax,8), %rsi
leaq 0x2492fc(%rip), %rdi    # 0x326220
jmp 0xdc8f6