// File: 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
subq $0xd0, %rsp
leaq 0x136cd2(%rip), %rax    # 0x2827b4
movl (%rax), %eax
movl %eax, -0x28(%rbp)
leaq 0x220f02(%rip), %rax    # 0x36c9f0
cmpl $0x0, (%rax)
je 0x14bb00
leaq 0x136cba(%rip), %rax    # 0x2827b4
movl $0xe, (%rax)
leaq 0x12eaeb(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
movslq %edx, %rcx
leaq 0x83ee4(%rip), %rax     # 0x1cfa00
movq (%rax,%rcx,8), %rax
movq %rax, -0x18(%rbp)
leaq 0x12bf1d(%rip), %rax    # 0x277a48
movb $0x1, (%rax)
movb $0x0, -0x1e(%rbp)
movb $0x0, -0x1d(%rbp)
leaq 0x220bab(%rip), %rax    # 0x36c6e8
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
leaq 0x12eaa9(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x2c(%rbp), %eax
cltd
idivl %ecx
movl $0xc, %ecx
cltd
idivl %ecx
movl %edx, -0xc(%rbp)
imull $0x64, -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
leaq 0x220b61(%rip), %rax    # 0x36c6e4
movl (%rax), %eax
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
leaq 0x220b52(%rip), %rax    # 0x36c6e4
cmpl $0x14, (%rax)
jl 0x14bbad
leaq 0x220b46(%rip), %rax    # 0x36c6e4
cmpl $0x28, (%rax)
jg 0x14bbad
movzbl -0x1d(%rbp), %eax
orl $0x1, %eax
movb %al, -0x1d(%rbp)
cmpl $0x190, -0xc(%rbp)      # imm = 0x190
jl 0x14bbc9
cmpl $0x320, -0xc(%rbp)      # imm = 0x320
jg 0x14bbc9
movzbl -0x1d(%rbp), %eax
orl $0x2, %eax
movb %al, -0x1d(%rbp)
leaq 0x220b14(%rip), %rax    # 0x36c6e4
cmpl $0xa, (%rax)
jl 0x14bbed
leaq 0x220b08(%rip), %rax    # 0x36c6e4
cmpl $0x32, (%rax)
jg 0x14bbed
movzbl -0x1e(%rbp), %eax
orl $0x0, %eax
movb %al, -0x1e(%rbp)
jmp 0x14bbf7
movzbl -0x1e(%rbp), %eax
orl $0x5, %eax
movb %al, -0x1e(%rbp)
cmpl $0xc8, -0xc(%rbp)
jl 0x14bc15
cmpl $0x3e8, -0xc(%rbp)      # imm = 0x3E8
jg 0x14bc15
movzbl -0x1e(%rbp), %eax
orl $0x0, %eax
movb %al, -0x1e(%rbp)
jmp 0x14bc1f
movzbl -0x1e(%rbp), %eax
orl $0x6, %eax
movb %al, -0x1e(%rbp)
movl $0x0, 0x28d367(%rip)    # 0x3d8f90
movzbl -0x1e(%rbp), %eax
cmpl $0x0, %eax
jne 0x14bc75
leaq 0x24e91f(%rip), %rax    # 0x39a558
movl (%rax), %eax
movl %eax, -0x30(%rbp)
leaq 0x24e90b(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x30(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x24e8f0(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, 0x28d324(%rip)    # 0x3d8f94
jmp 0x14bd53
movzbl -0x1d(%rbp), %eax
cmpl $0x0, %eax
jne 0x14bcc3
leaq 0x24e8d3(%rip), %rax    # 0x39a558
movl (%rax), %eax
movl %eax, -0x34(%rbp)
leaq 0x24e8bf(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x34(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x8(%rbp)
xorl %eax, %eax
leaq 0x24e8a2(%rip), %rcx    # 0x39a550
subl (%rcx), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, 0x28d2d6(%rip)    # 0x3d8f94
jmp 0x14bd51
movzbl -0x1e(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x14bd0f
leaq 0x24e882(%rip), %rax    # 0x39a558
movl (%rax), %eax
movl %eax, -0x38(%rbp)
leaq 0x24e86e(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x38(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x24e853(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, 0x28d287(%rip)    # 0x3d8f94
jmp 0x14bd4f
leaq 0x24e842(%rip), %rax    # 0x39a558
movl (%rax), %eax
movl %eax, -0x3c(%rbp)
leaq 0x24e82e(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x3c(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x8(%rbp)
xorl %eax, %eax
leaq 0x24e811(%rip), %rcx    # 0x39a550
subl (%rcx), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, 0x28d245(%rip)    # 0x3d8f94
jmp 0x14bd51
jmp 0x14bd53
leaq 0x251bb5(%rip), %rax    # 0x39d90f
cmpb $0x0, (%rax)
je 0x14c0e9
leaq 0x24f696(%rip), %rax    # 0x39b400
movb $0x0, (%rax)
leaq 0x220c7c(%rip), %rax    # 0x36c9f0
cmpl $0x0, (%rax)
je 0x14bd91
leaq 0x24f680(%rip), %rdi    # 0x39b400
leaq 0x4bda3(%rip), %rsi     # 0x197b2a
callq 0x9350
jmp 0x14be23
leaq 0x251b38(%rip), %rax    # 0x39d8d0
cmpb $0x0, (%rax)
je 0x14bdb2
leaq 0x24f65c(%rip), %rdi    # 0x39b400
leaq 0x251b25(%rip), %rsi    # 0x39d8d0
callq 0x9350
jmp 0x14be21
leaq 0x220a73(%rip), %rax    # 0x36c82c
cmpl $0x0, (%rax)
jne 0x14bdc0
jmp 0x14be1f
leaq 0x24e789(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
leaq 0x12bc18(%rip), %rcx    # 0x2779f0
subl (%rcx), %eax
cmpl $0x46, %eax
jge 0x14bde1
jmp 0x14be1d
leaq 0x220904(%rip), %rax    # 0x36c6ec
movl (%rax), %edi
leaq 0x2208ff(%rip), %rax    # 0x36c6f0
movl (%rax), %esi
leaq 0x2208fa(%rip), %rax    # 0x36c6f4
movl (%rax), %edx
callq 0x132a50
movzbl %al, %eax
movl %eax, %ecx
leaq 0x7d8b3(%rip), %rax     # 0x1c96c0
movq (%rax,%rcx,8), %rsi
leaq 0x24f5e8(%rip), %rdi    # 0x39b400
callq 0x9350
jmp 0x14be1f
jmp 0x14be21
jmp 0x14be23
movl -0x8(%rbp), %eax
leaq 0x12bbc7(%rip), %rcx    # 0x2779f4
imull $0x0, (%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x4c(%rbp)
leaq 0x24e718(%rip), %rax    # 0x39a554
movslq (%rax), %rax
movq %rax, -0x48(%rbp)
leaq 0x24f5b6(%rip), %rdi    # 0x39b400
callq 0x9120
movl -0x4c(%rbp), %edi
movq %rax, %rcx
movq -0x48(%rbp), %rax
leaq 0x12bb90(%rip), %rdx    # 0x2779f0
movslq (%rdx), %rdx
imulq %rdx, %rcx
shrq %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x13693e(%rip), %rax    # 0x2827b4
movl (%rax), %eax
leaq 0x24f581(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x24f572(%rip), %rax    # 0x39b400
movb $0x0, (%rax)
leaq 0x251a58(%rip), %rax    # 0x39d8f0
cmpb $0x0, (%rax)
je 0x14beb2
leaq 0x24f55c(%rip), %rdi    # 0x39b400
leaq 0x251a45(%rip), %rsi    # 0x39d8f0
callq 0x9350
jmp 0x14beee
leaq 0x24e697(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
leaq 0x12bb26(%rip), %rcx    # 0x2779f0
subl (%rcx), %eax
cmpl $0x78, %eax
jge 0x14bed3
jmp 0x14beec
movl $0x1, %edi
callq 0x148a00
movq %rax, %rsi
leaq 0x24f519(%rip), %rdi    # 0x39b400
callq 0x9350
jmp 0x14beee
leaq 0x24f50b(%rip), %rdi    # 0x39b400
callq 0x9120
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x24(%rbp)
cmpl $0x0, %eax
je 0x14bf36
movslq -0x24(%rbp), %rcx
leaq 0x24f4e8(%rip), %rax    # 0x39b400
movsbl (%rax,%rcx), %eax
cmpl $0x20, %eax
jne 0x14bf32
movslq -0x24(%rbp), %rcx
leaq 0x24f4d4(%rip), %rax    # 0x39b400
movb $0x0, (%rax,%rcx)
jmp 0x14bf34
jmp 0x14bf36
jmp 0x14befd
movl -0x8(%rbp), %eax
leaq 0x12bab4(%rip), %rcx    # 0x2779f4
movl (%rcx), %ecx
shll $0x0, %ecx
addl %ecx, %eax
movl %eax, -0x5c(%rbp)
leaq 0x24e603(%rip), %rax    # 0x39a554
movslq (%rax), %rax
movq %rax, -0x58(%rbp)
leaq 0x24f4a1(%rip), %rdi    # 0x39b400
callq 0x9120
movl -0x5c(%rbp), %edi
movq %rax, %rcx
movq -0x58(%rbp), %rax
leaq 0x12ba7b(%rip), %rdx    # 0x2779f0
movslq (%rdx), %rdx
imulq %rdx, %rcx
shrq %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x136829(%rip), %rax    # 0x2827b4
movl (%rax), %eax
leaq 0x24f46c(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x220749(%rip), %rax    # 0x36c6ec
movslq (%rax), %rcx
leaq 0x841f3(%rip), %rax     # 0x1d01a0
cmpq $0x0, (%rax,%rcx,8)
je 0x14c0e7
leaq 0x251911(%rip), %rax    # 0x39d8d0
movsbl (%rax), %eax
cmpl $0x20, %eax
je 0x14c0e7
movl -0x8(%rbp), %eax
leaq 0x24e583(%rip), %rcx    # 0x39a558
cmpl (%rcx), %eax
jge 0x14c063
movl -0x8(%rbp), %eax
leaq 0x12ba0d(%rip), %rcx    # 0x2779f4
movl (%rcx), %ecx
shll %ecx
addl %ecx, %eax
movl %eax, -0x6c(%rbp)
leaq 0x24e55d(%rip), %rax    # 0x39a554
movslq (%rax), %rax
movq %rax, -0x68(%rbp)
leaq 0x2206e7(%rip), %rax    # 0x36c6ec
movslq (%rax), %rcx
leaq 0x84191(%rip), %rax     # 0x1d01a0
movq (%rax,%rcx,8), %rdi
callq 0x9120
movl -0x6c(%rbp), %edi
movq %rax, %rcx
movq -0x68(%rbp), %rax
leaq 0x12b9c7(%rip), %rdx    # 0x2779f0
movslq (%rdx), %rdx
imulq %rdx, %rcx
shrq %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x136775(%rip), %rax    # 0x2827b4
movl (%rax), %eax
leaq 0x2206a4(%rip), %rcx    # 0x36c6ec
movslq (%rcx), %rdx
leaq 0x8414e(%rip), %rcx     # 0x1d01a0
movq (%rcx,%rdx,8), %rcx
movzbl %al, %edx
callq 0x10ee0
jmp 0x14c0e5
movl -0x8(%rbp), %eax
leaq 0x12b987(%rip), %rcx    # 0x2779f4
movl (%rcx), %ecx
shll $0x0, %ecx
subl %ecx, %eax
movl %eax, -0x7c(%rbp)
leaq 0x24e4d6(%rip), %rax    # 0x39a554
movslq (%rax), %rax
movq %rax, -0x78(%rbp)
leaq 0x220660(%rip), %rax    # 0x36c6ec
movslq (%rax), %rcx
leaq 0x8410a(%rip), %rax     # 0x1d01a0
movq (%rax,%rcx,8), %rdi
callq 0x9120
movl -0x7c(%rbp), %edi
movq %rax, %rcx
movq -0x78(%rbp), %rax
leaq 0x12b940(%rip), %rdx    # 0x2779f0
movslq (%rdx), %rdx
imulq %rdx, %rcx
shrq %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x1366ee(%rip), %rax    # 0x2827b4
movl (%rax), %eax
leaq 0x22061d(%rip), %rcx    # 0x36c6ec
movslq (%rcx), %rdx
leaq 0x840c7(%rip), %rcx     # 0x1d01a0
movq (%rcx,%rdx,8), %rcx
movzbl %al, %edx
callq 0x10ee0
jmp 0x14c0e7
jmp 0x14c0e9
movl $0x1, -0x10(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x80(%rbp)
leaq 0x12e4f5(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x80(%rbp), %eax
addl $0x1, %ecx
imull $0xc, %ecx, %ecx
cmpl %ecx, %eax
jg 0x14cc7b
cvtsi2ssl -0x10(%rbp), %xmm0
movss %xmm0, -0x1c(%rbp)
leaq 0x12e4c6(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
cvtsi2ss %eax, %xmm1
movss 0x257fb(%rip), %xmm0    # 0x171944
divss %xmm1, %xmm0
mulss -0x1c(%rbp), %xmm0
movss %xmm0, -0x1c(%rbp)
cmpl $0x18, -0x10(%rbp)
jne 0x14c169
movl $0x0, -0x4(%rbp)
jmp 0x14c226
movl -0x10(%rbp), %eax
movl %eax, -0x84(%rbp)
leaq 0x12e479(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x84(%rbp), %eax
imull $0x6, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c1aa
movl $0x0, -0x4(%rbp)
jmp 0x14c224
leaq 0x24e39f(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
leaq 0x12b82e(%rip), %rcx    # 0x2779f0
subl (%rcx), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x90(%rbp)
movss -0x1c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x36e8f(%rip), %xmm1    # 0x183070
mulsd %xmm1, %xmm0
movsd 0x42f4b(%rip), %xmm1    # 0x18f138
addsd %xmm1, %xmm0
movsd 0x253cf(%rip), %xmm1    # 0x1715c8
mulsd %xmm1, %xmm0
movsd 0x22e73(%rip), %xmm1    # 0x16f078
divsd %xmm1, %xmm0
callq 0x96f0
movaps %xmm0, %xmm1
movsd -0x90(%rbp), %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -0x4(%rbp)
jmp 0x14c226
cmpl $0x0, -0x4(%rbp)
jle 0x14c25a
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x9120
movq %rax, %rcx
leaq 0x12b7a9(%rip), %rax    # 0x2779f0
movslq (%rax), %rax
imulq %rax, %rcx
movslq -0x4(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x4(%rbp)
jmp 0x14c2a7
cmpl $0x0, -0x4(%rbp)
jne 0x14c2a5
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x9120
movq %rax, %rcx
leaq 0x12b775(%rip), %rax    # 0x2779f0
movslq (%rax), %rax
imulq %rax, %rcx
shrq %rcx
leaq 0x12b764(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
cltq
subq %rax, %rcx
movslq -0x4(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x4(%rbp)
jmp 0x14c2a7
leaq 0x24e2a6(%rip), %rax    # 0x39a554
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12b733(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
leaq 0x24e278(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
leaq 0x12b707(%rip), %rcx    # 0x2779f0
subl (%rcx), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x98(%rbp)
movss -0x1c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x36d68(%rip), %xmm1    # 0x183070
mulsd %xmm1, %xmm0
movsd 0x42e24(%rip), %xmm1    # 0x18f138
addsd %xmm1, %xmm0
movsd 0x252a8(%rip), %xmm1    # 0x1715c8
mulsd %xmm1, %xmm0
movsd 0x22d4c(%rip), %xmm1    # 0x16f078
divsd %xmm1, %xmm0
callq 0x9080
movaps %xmm0, %xmm1
movsd -0x98(%rbp), %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -0x8(%rbp)
cmpl $0x0, -0x8(%rbp)
jle 0x14c364
leaq 0x12b69c(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14c37b
cmpl $0x0, -0x8(%rbp)
jge 0x14c379
leaq 0x12b683(%rip), %rax    # 0x2779f4
movl (%rax), %eax
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14c37b
leaq 0x24e1d6(%rip), %rax    # 0x39a558
movl (%rax), %eax
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
leaq 0x12b663(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x9c(%rbp)
leaq 0x12e237(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x9c(%rbp), %eax
shll %ecx
cmpl %ecx, %eax
jl 0x14c491
movl -0xc(%rbp), %eax
movl %eax, -0xa0(%rbp)
leaq 0x12e1fc(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xa0(%rbp), %eax
shll $0x2, %ecx
cmpl %ecx, %eax
jg 0x14c491
leaq 0x12b5cb(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0xa4(%rbp)
leaq 0x12e1a9(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xa4(%rbp), %eax
imull $0x3, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c48c
leaq 0x12b578(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x14c567
movl -0xc(%rbp), %eax
movl %eax, -0xa8(%rbp)
leaq 0x12e151(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xa8(%rbp), %eax
shll $0x3, %ecx
cmpl %ecx, %eax
jl 0x14c565
movl -0xc(%rbp), %eax
movl %eax, -0xac(%rbp)
leaq 0x12e115(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xac(%rbp), %eax
imull $0xa, %ecx, %ecx
cmpl %ecx, %eax
jg 0x14c565
leaq 0x12b4e4(%rip), %rax    # 0x2779f0
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0xb0(%rbp)
leaq 0x12e0ce(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xb0(%rbp), %eax
imull $0x9, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c563
leaq 0x12b49d(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14c565
jmp 0x14c567
leaq 0x12e084(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
cmpl $0x18, %eax
jne 0x14c721
cmpl $0x1, -0xc(%rbp)
jne 0x14c5aa
leaq 0x12b45b(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14c71f
cmpl $0x7, -0xc(%rbp)
jne 0x14c5c4
leaq 0x12b43d(%rip), %rax    # 0x2779f4
movl (%rax), %eax
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14c71d
cmpl $0x3, -0xc(%rbp)
jne 0x14c5fd
leaq 0x12b423(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
leaq 0x12b408(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14c71b
cmpl $0x9, -0xc(%rbp)
jne 0x14c63a
leaq 0x12b3ea(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
leaq 0x12b3cf(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x14c719
cmpl $0x13, -0xc(%rbp)
jne 0x14c66d
leaq 0x12b3ad(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x12b398(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14c717
cmpl $0x15, -0xc(%rbp)
jne 0x14c69f
leaq 0x12b37a(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x12b35b(%rip), %rax    # 0x2779f0
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14c715
cmpl $0xd, -0xc(%rbp)
jne 0x14c713
leaq 0x12df46(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x14c6f5
leaq 0x12b331(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x12b312(%rip), %rax    # 0x2779f0
imull $0x3, (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x14c711
leaq 0x12b2f4(%rip), %rax    # 0x2779f0
imull $0x3, (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x14c713
jmp 0x14c715
jmp 0x14c717
jmp 0x14c719
jmp 0x14c71b
jmp 0x14c71d
jmp 0x14c71f
jmp 0x14c721
leaq 0x12b2b8(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl %eax, -0xb4(%rbp)
leaq 0x135fed(%rip), %rax    # 0x282724
imull $0x31a, (%rax), %eax    # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xb4(%rbp), %eax
cmpl %ecx, %eax
jg 0x14cc4a
movl -0xc(%rbp), %eax
movl %eax, -0xb8(%rbp)
leaq 0x12de8d(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xb8(%rbp), %eax
shll $0x0, %ecx
cmpl %ecx, %eax
jne 0x14c7c7
leaq 0x12b25c(%rip), %rax    # 0x2779f0
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12b2c5(%rip), %rax    # 0x277a68
cmpl $0xa0, (%rax)
jge 0x14c7c2
leaq 0x12b242(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9cf
movl -0xc(%rbp), %eax
movl %eax, -0xbc(%rbp)
leaq 0x12de1b(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xbc(%rbp), %eax
imull $0xb, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c82a
leaq 0x12b262(%rip), %rax    # 0x277a68
cmpl $0xa0, (%rax)
jge 0x14c825
leaq 0x12b1df(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9cd
movl -0xc(%rbp), %eax
movl %eax, -0xc0(%rbp)
leaq 0x12ddb8(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc0(%rbp), %eax
imull $0x5, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c8a0
leaq 0x12b187(%rip), %rax    # 0x2779f0
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12b1f0(%rip), %rax    # 0x277a68
cmpl $0xa0, (%rax)
jge 0x14c89b
leaq 0x12b16d(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9cb
movl -0xc(%rbp), %eax
movl %eax, -0xc4(%rbp)
leaq 0x12dd42(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc4(%rbp), %eax
imull $0x7, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c91e
leaq 0x12b189(%rip), %rax    # 0x277a68
cmpl $0xa0, (%rax)
jge 0x14c919
leaq 0x12b102(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12b0ef(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9c9
movl -0xc(%rbp), %eax
movl %eax, -0xc8(%rbp)
leaq 0x12dcc4(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc8(%rbp), %eax
shll %ecx
cmpl %ecx, %eax
jne 0x14c972
leaq 0x12b098(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9c7
movl -0xc(%rbp), %eax
movl %eax, -0xcc(%rbp)
leaq 0x12dc70(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
movl $0xc, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xcc(%rbp), %eax
imull $0xa, %ecx, %ecx
cmpl %ecx, %eax
jne 0x14c9c5
leaq 0x12b043(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14c9c7
jmp 0x14c9c9
jmp 0x14c9cb
jmp 0x14c9cd
jmp 0x14c9cf
leaq 0x12dc1c(%rip), %rax    # 0x27a5f2
movzbl (%rax), %eax
movl $0x3, %ecx
cltd
idivl %ecx
addl $0x1, %eax
imull $0xc, %eax, %eax
cmpl $0x18, %eax
jne 0x14cc48
cmpl $0x1, -0xc(%rbp)
jne 0x14ca0a
leaq 0x12aff3(%rip), %rax    # 0x2779f0
movl (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc46
cmpl $0x3, -0xc(%rbp)
jne 0x14ca47
leaq 0x12afd9(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12afc6(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc44
cmpl $0x4, -0xc(%rbp)
jne 0x14ca69
leaq 0x12af9c(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc42
cmpl $0x5, -0xc(%rbp)
jne 0x14caa6
leaq 0x12af7a(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12af67(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc40
cmpl $0x6, -0xc(%rbp)
jne 0x14cac8
leaq 0x12af3d(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc3e
cmpl $0x8, -0xc(%rbp)
jne 0x14cb01
leaq 0x12af1b(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12af08(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc3c
cmpl $0x9, -0xc(%rbp)
jne 0x14cb23
leaq 0x12aee2(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc3a
cmpl $0xb, -0xc(%rbp)
jne 0x14cb45
leaq 0x12aec0(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc38
cmpl $0xe, -0xc(%rbp)
jne 0x14cb67
leaq 0x12ae9e(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x14cc36
cmpl $0x10, -0xc(%rbp)
jne 0x14cba4
leaq 0x12ae7c(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x4(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
leaq 0x12ae65(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc34
cmpl $0x11, -0xc(%rbp)
jne 0x14cbc3
leaq 0x12ae43(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
addl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc32
cmpl $0x16, -0xc(%rbp)
jne 0x14cbf6
leaq 0x12ae20(%rip), %rax    # 0x2779f0
imull $0x0, (%rax), %eax
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12ae14(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc30
cmpl $0x17, -0xc(%rbp)
jne 0x14cc2e
leaq 0x12aded(%rip), %rax    # 0x2779f0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq 0x12adda(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
jmp 0x14cc30
jmp 0x14cc32
jmp 0x14cc34
jmp 0x14cc36
jmp 0x14cc38
jmp 0x14cc3a
jmp 0x14cc3c
jmp 0x14cc3e
jmp 0x14cc40
jmp 0x14cc42
jmp 0x14cc44
jmp 0x14cc46
jmp 0x14cc48
jmp 0x14cc4a
movl -0x8(%rbp), %edi
movl -0x4(%rbp), %esi
leaq 0x135b5d(%rip), %rax    # 0x2827b4
movl (%rax), %eax
movq -0x18(%rbp), %rcx
movslq -0x10(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movzbl %al, %edx
callq 0x10ee0
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x14c0f0
movl -0x28(%rbp), %ecx
leaq 0x135b2f(%rip), %rax    # 0x2827b4
movl %ecx, (%rax)
leaq 0x12adba(%rip), %rax    # 0x277a48
movb $0x0, (%rax)
addq $0xd0, %rsp
popq %rbp
retq
nopw (%rax,%rax)