// File: jkingan[P]ladyheather/heather.cpp
// Function: config_azel()
void config_azel()
{
int i, j;

   // how and where to draw the azimuth/elevation map (and analog watch)
   // assume azel plot will be in the adev table area
   last_track = last_used = 0L;
   share_active = 0;
   shared_item = 0;
   left_adev_col = ADEV_COL;

   AZEL_ROW = ADEV_ROW*TEXT_HEIGHT;
   AZEL_COL = (ADEV_COL*TEXT_WIDTH);
   bogo_watch = 1;
   if(SCREEN_WIDTH >= ADEV_AZEL_THRESH) {  // adev tables and azel both fit
      if(adevs_active(1)) AZEL_COL += (TEXT_WIDTH*44);
      else                AZEL_COL += (TEXT_WIDTH*12);
      AZEL_ROW += TEXT_HEIGHT;
   }
   else if(SCREEN_WIDTH >= MEDIUM_WIDTH) {
      AZEL_ROW += TEXT_HEIGHT;
      AZEL_COL += (TEXT_WIDTH*4);
      if(SCREEN_HEIGHT <= SHORT_SCREEN) AZEL_COL += (TEXT_WIDTH*6);
   }
   else if((rcvr_type == NO_RCVR) && (SCREEN_WIDTH <= NARROW_SCREEN)) {
      AZEL_COL -= 160; // analog watch size
   }
   else {
      AZEL_COL += (TEXT_WIDTH*1);
      AZEL_ROW += TEXT_HEIGHT*2;
   }
   AZEL_SIZE = (SCREEN_WIDTH-AZEL_COL);

   if((SCREEN_WIDTH >= WIDE_WIDTH) && (SCREEN_WIDTH < 1400)) AZEL_SIZE -= (TEXT_WIDTH*2);
   else if(small_font && (SCREEN_WIDTH >= MEDIUM_WIDTH)) AZEL_COL += TEXT_WIDTH;

   if((AZEL_ROW+AZEL_SIZE) >= (PLOT_ROW-128)) {  // az/el map is in plot area
      AZEL_SIZE = (PLOT_ROW-AZEL_ROW-128);
   }
   if(SCREEN_WIDTH > NARROW_SCREEN) AZEL_MARGIN = 8;
   else                             AZEL_MARGIN = 4;

   if((zoom_screen) && (zoom_screen != 'K')) {
      if((SCREEN_WIDTH < TINY_TINY_WIDTH) || (SCREEN_WIDTH < SCREEN_HEIGHT)) {  //piss
         AZEL_SIZE = SCREEN_WIDTH-(SCREEN_WIDTH/20);
      }
      else {
         AZEL_SIZE = SCREEN_HEIGHT-(SCREEN_HEIGHT/20);
      }
      AZEL_SIZE = (AZEL_SIZE/TEXT_HEIGHT)*TEXT_HEIGHT;
      AZEL_SIZE -= (TEXT_HEIGHT*2)*2;

      AZEL_ROW = (SCREEN_HEIGHT-AZEL_SIZE)/2;
      AZEL_ROW = (AZEL_ROW/TEXT_HEIGHT)*TEXT_HEIGHT;
      if(SCREEN_HEIGHT <= SHORT_SCREEN) AZEL_ROW -= TEXT_HEIGHT;
      else                              AZEL_ROW -= (TEXT_HEIGHT*2);

      AZEL_COL = (SCREEN_WIDTH-AZEL_SIZE)/2;
      AZEL_COL = (AZEL_COL/TEXT_WIDTH)*TEXT_WIDTH;
      bogo_watch = 2;
   }

   // where to put the analog clock
   if(all_adevs && plot_lla && WIDE_SCREEN && ((zoom_screen == 0) || (zoom_screen == 'P'))) {
      WATCH_ROW = AZEL_ROW;   // we could be drawing the watch here
      WATCH_COL = (FILTER_COL+20+32+32)*TEXT_WIDTH;  //AZEL_COL;
      WATCH_SIZE = (SCREEN_WIDTH-WATCH_COL)/2;
      if(WATCH_SIZE > (PLOT_ROW-TEXT_HEIGHT*4)) WATCH_SIZE = PLOT_ROW-TEXT_HEIGHT*4;
   }
   else {
      WATCH_ROW = AZEL_ROW;   // we could be drawing the watch here
      WATCH_COL = AZEL_COL;
if((SCREEN_WIDTH >= MEDIUM_WIDTH) && (SCREEN_WIDTH < WIDE_WIDTH)) {
   WATCH_COL -= (TEXT_WIDTH*2);
   AZEL_COL -= (TEXT_WIDTH*2);
}
      WATCH_SIZE = AZEL_SIZE;
   }

   if(zoom_screen == 'P') ;
   else if(zoom_screen == 'K') ;
   else if(zoom_screen) return;

   if(all_adevs || shared_plot) {  // all_adevs or share az/el space with normal plot area
      if(all_adevs && WIDE_SCREEN && (plot_watch == 0) && (plot_lla == 0)) {
         AZEL_COL = SCREEN_WIDTH-AZEL_SIZE;   // and azel goes in the corner
      }
      else {
         AZEL_SIZE = PLOT_HEIGHT;     // default size of the az/el map area
if((PLOT_WIDTH/4) < AZEL_SIZE) AZEL_SIZE = (PLOT_WIDTH / 4);  // piss
         if(AZEL_SIZE > MAX_AZEL) {   // it's just too big to look at
            AZEL_SIZE = MAX_AZEL;
            AZEL_ROW = ((PLOT_ROW+TEXT_HEIGHT-1)/TEXT_HEIGHT)*TEXT_HEIGHT;
         }
         else {
            i = j = (SCREEN_HEIGHT-AZEL_SIZE);  // bottom justify
j = ((PLOT_ROW+TEXT_HEIGHT-1)/TEXT_HEIGHT)*TEXT_HEIGHT;  // toots - top justify
            AZEL_ROW = (i+j) / 2;  // center justify
         }
         AZEL_COL = (SCREEN_WIDTH-AZEL_SIZE);
if(0 && (bogo_watch == 1)) {
   WATCH_ROW = AZEL_ROW;
   WATCH_COL = AZEL_COL;
   WATCH_SIZE = AZEL_SIZE;               // watch goes in the adev area
   aclock_x = (WATCH_COL+ACLOCK_SIZE/2);   // and azel goes in the plot area
   aclock_y = (WATCH_ROW+ACLOCK_SIZE/2);
}
         bogo_watch = 3;
      }
      AZEL_MARGIN = 4;

      if((shared_plot == 0) && (PLOT_WIDTH < SCREEN_WIDTH)) {  // center plot area on the screen
         PLOT_COL = (SCREEN_WIDTH - PLOT_WIDTH) / 2;
      }
   }
   else {   // draw az/el map in the adev table area
      if(PLOT_WIDTH < SCREEN_WIDTH) {  // center plot area on the screen
         PLOT_COL = (SCREEN_WIDTH - PLOT_WIDTH) / 2;
      }
   }

// if(plot_azel || plot_signals || plot_watch) {
   if(zoom_screen == 'P') ;
   else if(plot_azel || plot_signals || plot_watch || plot_lla) {
      if((AZEL_ROW+AZEL_SIZE) >= PLOT_ROW) {  // az/el map is in the normal plot window
         PLOT_WIDTH -= AZEL_SIZE;             // make room for it...
         PLOT_WIDTH += (HORIZ_MAJOR-1);
         PLOT_WIDTH = (PLOT_WIDTH/HORIZ_MAJOR) * HORIZ_MAJOR;
         if((PLOT_COL+PLOT_WIDTH+AZEL_SIZE) > SCREEN_WIDTH) PLOT_WIDTH -= HORIZ_MAJOR;
         AZEL_COL -= ((AZEL_COL-(PLOT_COL+PLOT_WIDTH)) / 2);
         AZEL_COL = ((AZEL_COL+TEXT_WIDTH-1)/TEXT_WIDTH)*TEXT_WIDTH;
         share_active = 1;
      }
      else if((plot_azel || plot_signals) && plot_watch && (plot_lla == 0) && (all_adevs == SINGLE_ADEVS) && WIDE_SCREEN) {
         AZEL_SIZE = (SCREEN_WIDTH - AZEL_COL) / 2;
         if(AZEL_SIZE > MAX_AZEL) AZEL_SIZE = MAX_AZEL;
         WATCH_SIZE = AZEL_SIZE;
      }
      else if((plot_signals == 3) && (SCREEN_WIDTH >= WIDE_WIDTH)) {
         AZEL_COL -= TEXT_WIDTH*2;
      }
   }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, 0x383f12(%rip)    # 0x39a5a4
movl $0x0, 0x383f00(%rip)    # 0x39a59c
movb $0x0, 0x383f26(%rip)    # 0x39a5c9
movl $0x0, 0x383f1f(%rip)    # 0x39a5cc
movl $0x4f, 0x2612f1(%rip)   # 0x2779a8
imull $0x0, 0x261336(%rip), %eax # 0x2779f4
movl %eax, 0x383eac(%rip)    # 0x39a570
imull $0x4f, 0x261325(%rip), %eax # 0x2779f0
movl %eax, 0x383ea3(%rip)    # 0x39a574
movl $0x1, 0x263f11(%rip)    # 0x27a5ec
cmpl $0x500, 0x2612fb(%rip)  # imm = 0x500
jl 0x16735
movl $0x1, %edi
callq 0x127d80
cmpl $0x0, %eax
je 0x1670b
imull $0x2c, 0x2612f3(%rip), %eax # 0x2779f0
addl 0x383e71(%rip), %eax    # 0x39a574
movl %eax, 0x383e6b(%rip)    # 0x39a574
jmp 0x1671e
imull $0xc, 0x2612de(%rip), %eax # 0x2779f0
addl 0x383e5c(%rip), %eax    # 0x39a574
movl %eax, 0x383e56(%rip)    # 0x39a574
movl 0x2612d0(%rip), %eax    # 0x2779f4
addl 0x383e46(%rip), %eax    # 0x39a570
movl %eax, 0x383e40(%rip)    # 0x39a570
jmp 0x167fa
cmpl $0x3e2, 0x2612a1(%rip)  # imm = 0x3E2
jl 0x16789
movl 0x2612ad(%rip), %eax    # 0x2779f4
addl 0x383e23(%rip), %eax    # 0x39a570
movl %eax, 0x383e1d(%rip)    # 0x39a570
movl 0x261297(%rip), %eax    # 0x2779f0
shll $0x2, %eax
addl 0x383e12(%rip), %eax    # 0x39a574
movl %eax, 0x383e0c(%rip)    # 0x39a574
cmpl $0x258, 0x261272(%rip)  # imm = 0x258
jg 0x16787
imull $0x6, 0x261275(%rip), %eax # 0x2779f0
addl 0x383df3(%rip), %eax    # 0x39a574
movl %eax, 0x383ded(%rip)    # 0x39a574
jmp 0x167f8
cmpq $0x400, 0x26131c(%rip) # imm = 0x400
jne 0x167cd
movl 0x261244(%rip), %eax    # 0x2779e0
movl %eax, -0xc(%rbp)
imull $0x31a, 0x26bf7b(%rip), %eax # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc(%rbp), %eax
cmpl %ecx, %eax
jg 0x167cd
movl 0x383db4(%rip), %eax    # 0x39a574
subl $0xa0, %eax
movl %eax, 0x383da9(%rip)    # 0x39a574
jmp 0x167f6
movl 0x26121d(%rip), %eax    # 0x2779f0
shll $0x0, %eax
addl 0x383d98(%rip), %eax    # 0x39a574
movl %eax, 0x383d92(%rip)    # 0x39a574
movl 0x26120c(%rip), %eax    # 0x2779f4
shll %eax
addl 0x383d80(%rip), %eax    # 0x39a570
movl %eax, 0x383d7a(%rip)    # 0x39a570
jmp 0x167f8
jmp 0x167fa
movl 0x2611e0(%rip), %eax    # 0x2779e0
subl 0x383d6e(%rip), %eax    # 0x39a574
movl %eax, 0x383d60(%rip)    # 0x39a56c
cmpl $0x4fa, 0x2611ca(%rip)  # imm = 0x4FA
jl 0x1683c
cmpl $0x578, 0x2611be(%rip)  # imm = 0x578
jge 0x1683c
movl 0x2611c6(%rip), %ecx    # 0x2779f0
shll %ecx
movl 0x383d3a(%rip), %eax    # 0x39a56c
subl %ecx, %eax
movl %eax, 0x383d32(%rip)    # 0x39a56c
jmp 0x16865
cmpb $0x0, 0x2611f6(%rip)    # 0x277a39
je 0x16863
cmpl $0x3e2, 0x261191(%rip)  # imm = 0x3E2
jl 0x16863
movl 0x261199(%rip), %eax    # 0x2779f0
addl 0x383d17(%rip), %eax    # 0x39a574
movl %eax, 0x383d11(%rip)    # 0x39a574
jmp 0x16865
movl 0x383d05(%rip), %eax    # 0x39a570
addl 0x383cfb(%rip), %eax    # 0x39a56c
movl 0x2611e5(%rip), %ecx    # 0x277a5c
subl $0x80, %ecx
cmpl %ecx, %eax
jl 0x16898
movl 0x2611d5(%rip), %eax    # 0x277a5c
subl 0x383ce3(%rip), %eax    # 0x39a570
subl $0x80, %eax
movl %eax, 0x383cd4(%rip)    # 0x39a56c
movl 0x261142(%rip), %eax    # 0x2779e0
movl %eax, -0x10(%rbp)
imull $0x31a, 0x26be79(%rip), %eax # imm = 0x31A
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x10(%rbp), %eax
cmpl %ecx, %eax
jle 0x168c8
movl $0x8, 0x383cb2(%rip)    # 0x39a578
jmp 0x168d2
movl $0x4, 0x383ca6(%rip)    # 0x39a578
cmpb $0x0, 0x3550af(%rip)    # 0x36b988
je 0x16a2f
movzbl 0x3550a2(%rip), %eax    # 0x36b988
cmpl $0x4b, %eax
je 0x16a2f
cmpl $0x1c2, 0x2610e7(%rip)  # imm = 0x1C2
jl 0x16909
movl 0x2610df(%rip), %eax    # 0x2779e0
cmpl 0x2610dd(%rip), %eax    # 0x2779e4
jge 0x1692f
movl 0x2610d1(%rip), %eax    # 0x2779e0
movl %eax, -0x14(%rbp)
movl 0x2610c8(%rip), %eax    # 0x2779e0
movl $0x14, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x14(%rbp), %eax
subl %ecx, %eax
movl %eax, 0x383c3f(%rip)    # 0x39a56c
jmp 0x16953
movl 0x2610af(%rip), %eax    # 0x2779e4
movl %eax, -0x18(%rbp)
movl 0x2610a6(%rip), %eax    # 0x2779e4
movl $0x14, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x18(%rbp), %eax
subl %ecx, %eax
movl %eax, 0x383c19(%rip)    # 0x39a56c
movl 0x383c13(%rip), %eax    # 0x39a56c
cltd
idivl 0x261094(%rip)          # 0x2779f4
imull 0x26108d(%rip), %eax    # 0x2779f4
movl %eax, 0x383bff(%rip)    # 0x39a56c
movl 0x261081(%rip), %ecx    # 0x2779f4
shll %ecx
shll %ecx
movl 0x383bef(%rip), %eax    # 0x39a56c
subl %ecx, %eax
movl %eax, 0x383be7(%rip)    # 0x39a56c
movl 0x261059(%rip), %eax    # 0x2779e4
subl 0x383bdb(%rip), %eax    # 0x39a56c
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x383bd1(%rip)    # 0x39a570
movl 0x383bcb(%rip), %eax    # 0x39a570
cltd
idivl 0x261048(%rip)          # 0x2779f4
imull 0x261041(%rip), %eax    # 0x2779f4
movl %eax, 0x383bb7(%rip)    # 0x39a570
cmpl $0x258, 0x261021(%rip)  # imm = 0x258
jg 0x169db
movl 0x261029(%rip), %ecx    # 0x2779f4
movl 0x383b9f(%rip), %eax    # 0x39a570
subl %ecx, %eax
movl %eax, 0x383b97(%rip)    # 0x39a570
jmp 0x169f1
movl 0x261013(%rip), %ecx    # 0x2779f4
shll %ecx
movl 0x383b87(%rip), %eax    # 0x39a570
subl %ecx, %eax
movl %eax, 0x383b7f(%rip)    # 0x39a570
movl 0x260fe9(%rip), %eax    # 0x2779e0
subl 0x383b6f(%rip), %eax    # 0x39a56c
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x383b69(%rip)    # 0x39a574
movl 0x383b63(%rip), %eax    # 0x39a574
cltd
idivl 0x260fd8(%rip)          # 0x2779f0
imull 0x260fd1(%rip), %eax    # 0x2779f0
movl %eax, 0x383b4f(%rip)    # 0x39a574
movl $0x2, 0x263bbd(%rip)    # 0x27a5ec
cmpb $0x0, 0x2854e8(%rip)    # 0x29bf1e
je 0x16ae7
cmpb $0x0, 0x383a4d(%rip)    # 0x39a490
je 0x16ae7
cmpl $0x690, 0x260f8d(%rip)  # imm = 0x690
jl 0x16ae7
movzbl 0x354f28(%rip), %eax    # 0x36b988
cmpl $0x0, %eax
je 0x16a71
movzbl 0x354f1c(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x16ae7
movl 0x383af9(%rip), %eax    # 0x39a570
movl %eax, 0x383ac7(%rip)    # 0x39a544
movl 0x260f01(%rip), %eax    # 0x277984
addl $0x14, %eax
addl $0x20, %eax
addl $0x20, %eax
imull 0x260f5d(%rip), %eax    # 0x2779f0
movl %eax, 0x383aaf(%rip)    # 0x39a548
movl 0x260f41(%rip), %eax    # 0x2779e0
subl 0x383aa3(%rip), %eax    # 0x39a548
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x383a99(%rip)    # 0x39a54c
movl 0x383a93(%rip), %eax    # 0x39a54c
movl 0x260f9d(%rip), %ecx    # 0x277a5c
movl 0x260f2f(%rip), %edx    # 0x2779f4
shll $0x2, %edx
subl %edx, %ecx
cmpl %ecx, %eax
jle 0x16ae5
movl 0x260f88(%rip), %eax    # 0x277a5c
movl 0x260f1a(%rip), %ecx    # 0x2779f4
shll $0x2, %ecx
subl %ecx, %eax
movl %eax, 0x383a67(%rip)    # 0x39a54c
jmp 0x16b4f
movl 0x383a83(%rip), %eax    # 0x39a570
movl %eax, 0x383a51(%rip)    # 0x39a544
movl 0x383a7b(%rip), %eax    # 0x39a574
movl %eax, 0x383a49(%rip)    # 0x39a548
cmpl $0x3e2, 0x260ed7(%rip)  # imm = 0x3E2
jl 0x16b43
cmpl $0x4fa, 0x260ecb(%rip)  # imm = 0x4FA
jge 0x16b43
movl 0x260ed3(%rip), %ecx    # 0x2779f0
shll %ecx
movl 0x383a23(%rip), %eax    # 0x39a548
subl %ecx, %eax
movl %eax, 0x383a1b(%rip)    # 0x39a548
movl 0x260ebd(%rip), %ecx    # 0x2779f0
shll %ecx
movl 0x383a39(%rip), %eax    # 0x39a574
subl %ecx, %eax
movl %eax, 0x383a31(%rip)    # 0x39a574
movl 0x383a23(%rip), %eax    # 0x39a56c
movl %eax, 0x3839fd(%rip)    # 0x39a54c
movzbl 0x354e32(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x16b5d
jmp 0x16b7d
movzbl 0x354e24(%rip), %eax    # 0x36b988
cmpl $0x4b, %eax
jne 0x16b6b
jmp 0x16b7b
cmpb $0x0, 0x354e16(%rip)    # 0x36b988
je 0x16b79
jmp 0x16ee4
jmp 0x16b7b
jmp 0x16b7d
cmpb $0x0, 0x28539a(%rip)    # 0x29bf1e
jne 0x16b93
cmpb $0x0, 0x383a3b(%rip)    # 0x39a5c8
je 0x16cea
cmpb $0x0, 0x285384(%rip)    # 0x29bf1e
je 0x16bd7
cmpl $0x690, 0x260e3a(%rip)  # imm = 0x690
jl 0x16bd7
movzbl 0x263a39(%rip), %eax    # 0x27a5e8
cmpl $0x0, %eax
jne 0x16bd7
movzbl 0x3838d5(%rip), %eax    # 0x39a490
cmpl $0x0, %eax
jne 0x16bd7
movl 0x260e1a(%rip), %eax    # 0x2779e0
subl 0x3839a0(%rip), %eax    # 0x39a56c
movl %eax, 0x3839a2(%rip)    # 0x39a574
jmp 0x16caa
movl 0x260e8b(%rip), %eax    # 0x277a68
movl %eax, 0x383989(%rip)    # 0x39a56c
movl 0x260e7b(%rip), %eax    # 0x277a64
movl $0x4, %ecx
cltd
idivl %ecx
cmpl 0x383975(%rip), %eax    # 0x39a56c
jge 0x16c0d
movl 0x260e65(%rip), %eax    # 0x277a64
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, 0x38395f(%rip)    # 0x39a56c
cmpl $0x140, 0x383955(%rip)  # imm = 0x140
jle 0x16c48
movl $0x140, 0x383949(%rip)  # imm = 0x140
movl 0x260e33(%rip), %eax    # 0x277a5c
addl 0x260dc5(%rip), %eax    # 0x2779f4
subl $0x1, %eax
cltd
idivl 0x260dbb(%rip)          # 0x2779f4
imull 0x260db4(%rip), %eax    # 0x2779f4
movl %eax, 0x38392a(%rip)    # 0x39a570
jmp 0x16c8e
movl 0x260d96(%rip), %eax    # 0x2779e4
subl 0x383918(%rip), %eax    # 0x39a56c
movl %eax, -0x8(%rbp)
movl %eax, -0x4(%rbp)
movl 0x260dfc(%rip), %eax    # 0x277a5c
addl 0x260d8e(%rip), %eax    # 0x2779f4
subl $0x1, %eax
cltd
idivl 0x260d84(%rip)          # 0x2779f4
imull 0x260d7d(%rip), %eax    # 0x2779f4
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %eax
addl -0x8(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x3838e2(%rip)    # 0x39a570
movl 0x260d4c(%rip), %eax    # 0x2779e0
subl 0x3838d2(%rip), %eax    # 0x39a56c
movl %eax, 0x3838d4(%rip)    # 0x39a574
movl $0x3, 0x263942(%rip)    # 0x27a5ec
movl $0x4, 0x3838c4(%rip)    # 0x39a578
movzbl 0x38390d(%rip), %eax    # 0x39a5c8
cmpl $0x0, %eax
jne 0x16ce8
movl 0x260d9e(%rip), %eax    # 0x277a64
cmpl 0x260d14(%rip), %eax    # 0x2779e0
jge 0x16ce8
movl 0x260d0c(%rip), %eax    # 0x2779e0
subl 0x260d8a(%rip), %eax    # 0x277a64
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x260d78(%rip)    # 0x277a60
jmp 0x16d14
movl 0x260d74(%rip), %eax    # 0x277a64
cmpl 0x260cea(%rip), %eax    # 0x2779e0
jge 0x16d12
movl 0x260ce2(%rip), %eax    # 0x2779e0
subl 0x260d60(%rip), %eax    # 0x277a64
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x260d4e(%rip)    # 0x277a60
jmp 0x16d14
movzbl 0x354c6d(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x16d25
jmp 0x16ee4
cmpb $0x0, 0x2638c7(%rip)    # 0x27a5f3
jne 0x16d4d
cmpb $0x0, 0x2638c0(%rip)    # 0x27a5f5
jne 0x16d4d
cmpb $0x0, 0x2638aa(%rip)    # 0x27a5e8
jne 0x16d4d
cmpb $0x0, 0x383749(%rip)    # 0x39a490
je 0x16ee2
movl 0x38381d(%rip), %eax    # 0x39a570
addl 0x383813(%rip), %eax    # 0x39a56c
cmpl 0x260cfd(%rip), %eax    # 0x277a5c
jl 0x16e31
movl 0x383801(%rip), %ecx    # 0x39a56c
movl 0x260cf3(%rip), %eax    # 0x277a64
subl %ecx, %eax
movl %eax, 0x260ceb(%rip)    # 0x277a64
movl 0x260cd5(%rip), %eax    # 0x277a54
subl $0x1, %eax
addl 0x260cdc(%rip), %eax    # 0x277a64
movl %eax, 0x260cd6(%rip)    # 0x277a64
movl 0x260cd0(%rip), %eax    # 0x277a64
cltd
idivl 0x260cb9(%rip)          # 0x277a54
imull 0x260cb2(%rip), %eax    # 0x277a54
movl %eax, 0x260cbc(%rip)    # 0x277a64
movl 0x260cb2(%rip), %eax    # 0x277a60
addl 0x260cb0(%rip), %eax    # 0x277a64
addl 0x3837b2(%rip), %eax    # 0x39a56c
cmpl 0x260c20(%rip), %eax    # 0x2779e0
jle 0x16dd6
movl 0x260c8c(%rip), %ecx    # 0x277a54
movl 0x260c96(%rip), %eax    # 0x277a64
subl %ecx, %eax
movl %eax, 0x260c8e(%rip)    # 0x277a64
movl 0x383798(%rip), %eax    # 0x39a574
movl 0x260c7e(%rip), %ecx    # 0x277a60
addl 0x260c7c(%rip), %ecx    # 0x277a64
subl %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl 0x38377a(%rip), %eax    # 0x39a574
subl %ecx, %eax
movl %eax, 0x383772(%rip)    # 0x39a574
movl 0x38376c(%rip), %eax    # 0x39a574
addl 0x260be2(%rip), %eax    # 0x2779f0
subl $0x1, %eax
cltd
idivl 0x260bd8(%rip)          # 0x2779f0
imull 0x260bd1(%rip), %eax    # 0x2779f0
movl %eax, 0x38374f(%rip)    # 0x39a574
movb $0x1, 0x38379d(%rip)    # 0x39a5c9
jmp 0x16ee0
cmpb $0x0, 0x2637bb(%rip)    # 0x27a5f3
jne 0x16e43
cmpb $0x0, 0x2637b4(%rip)    # 0x27a5f5
je 0x16eae
cmpb $0x0, 0x26379e(%rip)    # 0x27a5e8
je 0x16eae
movzbl 0x38363d(%rip), %eax    # 0x39a490
cmpl $0x0, %eax
jne 0x16eae
movzbl 0x2850bf(%rip), %eax    # 0x29bf1e
cmpl $0x0, %eax
jne 0x16eae
cmpl $0x690, 0x260b72(%rip)  # imm = 0x690
jl 0x16eae
movl 0x260b6a(%rip), %eax    # 0x2779e0
subl 0x3836f8(%rip), %eax    # 0x39a574
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x3836e2(%rip)    # 0x39a56c
cmpl $0x140, 0x3836d8(%rip)  # imm = 0x140
jle 0x16ea0
movl $0x140, 0x3836cc(%rip)  # imm = 0x140
movl 0x3836c6(%rip), %eax    # 0x39a56c
movl %eax, 0x3836a0(%rip)    # 0x39a54c
jmp 0x16ede
movzbl 0x263740(%rip), %eax    # 0x27a5f5
cmpl $0x3, %eax
jne 0x16edc
cmpl $0x4fa, 0x260b1c(%rip)  # imm = 0x4FA
jl 0x16edc
movl 0x260b24(%rip), %ecx    # 0x2779f0
shll %ecx
movl 0x3836a0(%rip), %eax    # 0x39a574
subl %ecx, %eax
movl %eax, 0x383698(%rip)    # 0x39a574
jmp 0x16ede
jmp 0x16ee0
jmp 0x16ee2
jmp 0x16ee4
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)