// File: jkingan[P]ladyheather/heathgps.cpp
// Function: show_survey_info()
void show_survey_info()
{
int color;
int x72_color;
double x;

   // NEW_RCVR

   if(luxor) return;
   if(rcvr_type == LPFRS_RCVR) ;
   else if(rcvr_type == PRS_RCVR) ;
   else if(rcvr_type == SA35_RCVR) ;
   else if(rcvr_type == SRO_RCVR) ;
   else if(rcvr_type == X72_RCVR) ;
   else if(NO_SATS) return;

   if(minor_alarms & MINOR_SURVEY) {   // self survey is active
      vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, RED,    "Self Survey:  ");
      color = YELLOW;
   }
   else if(precision_survey) { 
      vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, RED,    "Median Survey:");
      color = YELLOW;
   }
   else if(1 && (rcvr_type == TRUE_RCVR) && have_true_scale) {
      x = true_scalefactor * 1000.0;
      color = WHITE;
      if(x < 0.0F)       sprintf(out, "OSC:%.3f Hz/V ", x);
      else if(x > 10.0F) sprintf(out, "OSC:%.3f Hz/V ", x);
      else               sprintf(out, "OSC: %.3f Hz/V ", x);
      vidstr(SURVEY_ROW+1+eofs, SURVEY_COL, color, out);
      return;
   }
   else if(NO_SURVEY_INFO) {  // no survey status / discipline params to show
   }
   else {  // not in survey mode,  grey out this info on the screen
      if(TIMING_RCVR || (rcvr_type == SCPI_RCVR) || (rcvr_type == UCCM_RCVR) || (rcvr_type == ZYFER_RCVR)) {  // show survey info
         color = GREY;
         vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, color,  "Survey data:  ");
      }
      else if(lte_lite && (have_sawtooth == 0)) {
      }
      else if(rcvr_type == BRANDY_RCVR) ;
      else if(rcvr_type == PRS_RCVR) { 
        if(have_prs_ga) color = WHITE;
        else            color = GREY; 
        sprintf(out, "GAin: %d", prs_ga);
        vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, color, out);

        if(have_prs_pt) color = WHITE;
        else            color = GREY; 
        sprintf(out, "PT:   %d", prs_pt);
        vidstr(SURVEY_ROW+1+eofs, SURVEY_COL, color, out);

        if(have_prs_pf) color = WHITE;
        else            color = GREY; 
        sprintf(out, "PF:   %d", prs_pf);
        vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);

        if(have_prs_pi) color = WHITE;
        else            color = GREY; 
        sprintf(out, "PI:   %d", prs_pi);
        vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, out);

        return;
      }
      else if(rcvr_type == SRO_RCVR) {  // !!!!!SRO
         color = WHITE;
         sprintf(out, "TC:%6d sec", sro_tc);
         vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, color, out);
      }
      else if(rcvr_type == TM4_RCVR) {
      }
      else if(rcvr_type == X72_RCVR) {
         if(x72_fw_discipline()) x72_color = WHITE;
         else if(x72_user_dis)   x72_color = WHITE;
         else                    x72_color = GREY;

         if(have_x72_tc) color = x72_color;
         else            color = GREY; 
         sprintf(out, "TC:%6d sec", x72_tc_val);
         vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, color, out);

         if(x72_fw_discipline() == 0) color = GREY;
         else if(have_x72_damping)    color = x72_color;
         else                         color = GREY; 
         sprintf(out, "DAMP: %.3f", x72_damping_val);
         vidstr(SURVEY_ROW+1+eofs, SURVEY_COL, color, out);

         if(x72_fw_discipline())     color = GREY;
         else if(have_x72_jamthresh) color = x72_color;
         else                        color = GREY; 
         sprintf(out, "JAM:%5d ns", (int) x72_jamthresh_val);
         vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);

         if(x72_fw_discipline())    color = GREY;
         else if(have_x72_holdover) color = x72_color;
         else                       color = GREY; 
color = GREY;  // we no longer do the holdover state
         sprintf(out, "HOLD:%4d sec", (int) x72_holdover_val);
         vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, out);

         return;
      }
      else {   // show osc info
        if(have_tc) color = WHITE;
        else        color = GREY; 
        sprintf(out, "TC:   %.1f sec", time_constant);
        vidstr(SURVEY_ROW+0+eofs, SURVEY_COL, color, out);

        if(have_damp) color = WHITE;
        else          color = GREY; 
        sprintf(out, "DAMP: %.3f", damping_factor);
        vidstr(SURVEY_ROW+1+eofs, SURVEY_COL, color, out);

        if(gain_color == YELLOW) color = gain_color;
        else if(have_gain) color = WHITE;
        else color = GREY; 
        if(osc_gain < 0.0F)       sprintf(out, "GAIN:%.3f Hz/V ", osc_gain);
        else if(osc_gain > 10.0F) sprintf(out, "GAIN:%.3f Hz/V ", osc_gain);
        else                      sprintf(out, "GAIN: %.3f Hz/V ", osc_gain);
        vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);

        if(have_initv) color = WHITE;
        else           color = GREY; 
        sprintf(out, "INIT: %.3f V", initial_voltage);
        if(saw_ntpx) vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, GREY,  out);
        else         vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, out);

        return;
      }
   }

   if((survey_length >= 0) && (survey_length <= 100000L)) {
      if(precision_survey)            sprintf(out, "Points:%6lu", (unsigned long) precision_samples);  
      else if(rcvr_type == TSIP_RCVR) sprintf(out, "Samples:%5d", survey_length);
      else if(rcvr_type == ZODIAC_RCVR) {
         if(survey_length < 10) sprintf(out, "%d hour%s      ", survey_length, (survey_length==1)?" ":"s");
         else                   sprintf(out, "%d hour%s     ", survey_length, (survey_length==1)?" ":"s");
      }
      else if(minor_alarms & MINOR_SURVEY) sprintf(out, "In progress  ");
      else                                 sprintf(out, "             ");
      vidstr(SURVEY_ROW+1+eofs, SURVEY_COL, color, out);

      if((rcvr_type == ESIP_RCVR) && (minor_alarms & MINOR_SURVEY)) {
         sprintf(out, "Left: %-6d ", survey_secs);
         vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);
      }
      else if((rcvr_type == FURUNO_RCVR) && (minor_alarms & MINOR_SURVEY)) {
         sprintf(out, "Left: %-6d ", survey_secs);
         vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);
      }
      else if((rcvr_type == TRUE_RCVR) && (minor_alarms & MINOR_SURVEY)) {
         sprintf(out, "Left: %-6d ", survey_secs);
         vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);
      }
   }

   if(precision_survey) {
      if(PRECISE_SURVEY_HOURS) {
         sprintf(out, "Progress:%3ld%%", (survey_minutes*99L)/((long)PRECISE_SURVEY_HOURS*60L)+1L);
      }
      else sprintf(out, "             ");
      vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);
   }
   else if((rcvr_type == UCCM_RCVR) && (scpi_type == SAMSUNG_TYPE)) {
      if(have_progress) sprintf(out, "VAR: %-4d", survey_progress);
      else              sprintf(out, "             ");
      vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);
   }
   else if((survey_progress > 0) && (survey_progress <= 100)) {
      if(SURVEY_PROGRESS) sprintf(out, "Progress:%3d%%", survey_progress);
      else                sprintf(out, "             ");
      vidstr(SURVEY_ROW+2+eofs, SURVEY_COL, color, out);

      if(rcvr_type == UBX_RCVR)  {
         sprintf(out, "VAR: %-9d", ubx_svar);
         vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, out);
      }
   }

   if(precision_survey || check_precise_posn || precise_survey_done) {
   }
   else if(rcvr_type == TSIP_RCVR) {
      if(survey_save) vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, "Save position");
      else            vidstr(SURVEY_ROW+3+eofs, SURVEY_COL, color, "Dont save pos");
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x19f1ff(%rip), %rax    # 0x29e11e
cmpb $0x0, (%rax)
je 0xfef29
jmp 0xffe5c
leaq 0x178b80(%rip), %rax    # 0x277ab0
cmpq $0x10000000, (%rax)     # imm = 0x10000000
jne 0xfef3e
jmp 0xfefec
leaq 0x178b6b(%rip), %rax    # 0x277ab0
cmpq $0x1000000, (%rax)      # imm = 0x1000000
jne 0xfef53
jmp 0xfefea
movabsq $0x1000000000, %rcx     # imm = 0x1000000000
leaq 0x178b4c(%rip), %rax    # 0x277ab0
cmpq %rcx, (%rax)
jne 0xfef6b
jmp 0xfefe8
leaq 0x178b3e(%rip), %rax    # 0x277ab0
cmpq $0x8000000, (%rax)      # imm = 0x8000000
jne 0xfef7d
jmp 0xfefe6
leaq 0x178b2c(%rip), %rax    # 0x277ab0
cmpq $0x2000000, (%rax)      # imm = 0x2000000
jne 0xfef8f
jmp 0xfefe4
leaq 0x178b1a(%rip), %rcx    # 0x277ab0
movabsq $0x105b8b0400, %rax     # imm = 0x105B8B0400
andq (%rcx), %rax
cmpq $0x0, %rax
jne 0xfefdd
leaq 0x17b200(%rip), %rax    # 0x27a1b0
cmpl $0x0, (%rax)
je 0xfefc1
leaq 0x26d5e8(%rip), %rax    # 0x36c5a4
cmpl $0x0, (%rax)
je 0xfefdd
leaq 0x178ae8(%rip), %rax    # 0x277ab0
cmpq $0x400000, (%rax)       # imm = 0x400000
jne 0xfefe2
leaq 0x26dbbc(%rip), %rax    # 0x36cb94
cmpl $0x0, (%rax)
jne 0xfefe2
jmp 0xffe5c
jmp 0xfefe4
jmp 0xfefe6
jmp 0xfefe8
jmp 0xfefea
jmp 0xfefec
leaq 0x26d3c5(%rip), %rax    # 0x36c3b8
movl (%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xff02b
leaq 0x19f11c(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl $0x16, %esi
movl $0xc, %edx
leaq 0x8c9d5(%rip), %rcx     # 0x18b9ef
callq 0x10ee0
movl $0xe, -0x4(%rbp)
jmp 0xff8fc
leaq 0x26e046(%rip), %rax    # 0x36d078
cmpb $0x0, (%rax)
je 0xff065
leaq 0x19f0e2(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl $0x16, %esi
movl $0xc, %edx
leaq 0x8c9aa(%rip), %rcx     # 0x18b9fe
callq 0x10ee0
movl $0xe, -0x4(%rbp)
jmp 0xff8fa
leaq 0x178a44(%rip), %rax    # 0x277ab0
cmpq $0x200000, (%rax)       # imm = 0x200000
jne 0xff141
leaq 0x29d4e0(%rip), %rax    # 0x39c560
cmpl $0x0, (%rax)
je 0xff141
movsd 0x6ff9f(%rip), %xmm0    # 0x16f030
leaq 0x29d4c0(%rip), %rax    # 0x39c558
mulsd (%rax), %xmm0
movsd %xmm0, -0x10(%rbp)
movl $0xf, -0x4(%rbp)
xorps %xmm0, %xmm0
ucomisd -0x10(%rbp), %xmm0
jbe 0xff0ce
movsd -0x10(%rbp), %xmm0
leaq 0x29c342(%rip), %rdi    # 0x39b400
leaq 0x8c948(%rip), %rsi     # 0x18ba0d
movb $0x1, %al
callq 0x9060
jmp 0xff119
movsd -0x10(%rbp), %xmm0
movsd 0x6ffe5(%rip), %xmm1    # 0x16f0c0
ucomisd %xmm1, %xmm0
jbe 0xff0fd
movsd -0x10(%rbp), %xmm0
leaq 0x29c313(%rip), %rdi    # 0x39b400
leaq 0x8c919(%rip), %rsi     # 0x18ba0d
movb $0x1, %al
callq 0x9060
jmp 0xff117
movsd -0x10(%rbp), %xmm0
leaq 0x29c2f7(%rip), %rdi    # 0x39b400
leaq 0x8c90c(%rip), %rsi     # 0x18ba1c
movb $0x1, %al
callq 0x9060
jmp 0xff119
leaq 0x19f000(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x7, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29c2cc(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe5c
leaq 0x178968(%rip), %rcx    # 0x277ab0
movabsq $0x340690242, %rax      # imm = 0x340690242
andq (%rcx), %rax
cmpq $0x0, %rax
je 0xff160
jmp 0xff8f6
leaq 0x17897d(%rip), %rax    # 0x277ae4
cmpb $0x0, (%rax)
jne 0xff244
leaq 0x178939(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xff199
leaq 0x17b030(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0xff199
leaq 0x178948(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
je 0xff244
leaq 0x178910(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xff1ce
leaq 0x17b007(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0xff1ce
leaq 0x17891f(%rip), %rax    # 0x277ad8
cmpl $0x33, (%rax)
je 0xff244
leaq 0x17890f(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
je 0xff244
leaq 0x1788db(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xff1e7
leaq 0x17afd2(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
je 0xff244
leaq 0x1788c2(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xff200
leaq 0x17afb9(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
je 0xff244
leaq 0x1788a9(%rip), %rcx    # 0x277ab0
movabsq $0x800009e4, %rax       # imm = 0x800009E4
andq (%rcx), %rax
cmpq $0x0, %rax
jne 0xff244
leaq 0x17888f(%rip), %rax    # 0x277ab0
cmpq $0x10, (%rax)
je 0xff244
leaq 0x178882(%rip), %rax    # 0x277ab0
cmpq $0x8, (%rax)
je 0xff244
leaq 0x178875(%rip), %rax    # 0x277ab0
cmpq $0x100000, (%rax)       # imm = 0x100000
jne 0xff273
movl $0x8, -0x4(%rbp)
leaq 0x19eece(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x8c7c6(%rip), %rcx     # 0x18ba2c
movzbl %al, %edx
callq 0x10ee0
jmp 0xff8f4
leaq 0x17af36(%rip), %rax    # 0x27a1b0
cmpl $0x0, (%rax)
je 0xff290
leaq 0x26d31e(%rip), %rax    # 0x36c5a4
cmpl $0x0, (%rax)
jne 0xff290
jmp 0xff8f2
leaq 0x178819(%rip), %rax    # 0x277ab0
cmpq $0x40000, (%rax)        # imm = 0x40000
jne 0xff2a5
jmp 0xff8f0
leaq 0x178804(%rip), %rax    # 0x277ab0
cmpq $0x1000000, (%rax)      # imm = 0x1000000
jne 0xff432
leaq 0x17a9c8(%rip), %rax    # 0x279c88
cmpl $0x0, (%rax)
je 0xff2ce
movl $0xf, -0x4(%rbp)
jmp 0xff2d5
movl $0x8, -0x4(%rbp)
leaq 0x17aa3c(%rip), %rax    # 0x279d18
movl (%rax), %edx
leaq 0x29c11b(%rip), %rdi    # 0x39b400
leaq 0x8c74f(%rip), %rsi     # 0x18ba3b
movb $0x0, %al
callq 0x9060
leaq 0x19ee26(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29c0f2(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x17a997(%rip), %rax    # 0x279cb4
cmpl $0x0, (%rax)
je 0xff32b
movl $0xf, -0x4(%rbp)
jmp 0xff332
movl $0x8, -0x4(%rbp)
leaq 0x17aa13(%rip), %rax    # 0x279d4c
movl (%rax), %edx
leaq 0x29c0be(%rip), %rdi    # 0x39b400
leaq 0x8c6fb(%rip), %rsi     # 0x18ba44
movb $0x0, %al
callq 0x9060
leaq 0x19edc9(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x7, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29c095(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x17a93e(%rip), %rax    # 0x279cb8
cmpl $0x0, (%rax)
je 0xff388
movl $0xf, -0x4(%rbp)
jmp 0xff38f
movl $0x8, -0x4(%rbp)
leaq 0x17a9ba(%rip), %rax    # 0x279d50
movl (%rax), %edx
leaq 0x29c061(%rip), %rdi    # 0x39b400
leaq 0x8c6a7(%rip), %rsi     # 0x18ba4d
movb $0x0, %al
callq 0x9060
leaq 0x19ed6c(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29c038(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x17a8e5(%rip), %rax    # 0x279cbc
cmpl $0x0, (%rax)
je 0xff3e5
movl $0xf, -0x4(%rbp)
jmp 0xff3ec
movl $0x8, -0x4(%rbp)
leaq 0x17a961(%rip), %rax    # 0x279d54
movl (%rax), %edx
leaq 0x29c004(%rip), %rdi    # 0x39b400
leaq 0x8c653(%rip), %rsi     # 0x18ba56
movb $0x0, %al
callq 0x9060
leaq 0x19ed0f(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bfdb(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe5c
leaq 0x178677(%rip), %rax    # 0x277ab0
cmpq $0x8000000, (%rax)      # imm = 0x8000000
jne 0xff48f
movl $0xf, -0x4(%rbp)
leaq 0x26d958(%rip), %rax    # 0x36cda8
movl (%rax), %edx
leaq 0x29bfa7(%rip), %rdi    # 0x39b400
leaq 0x8c5ff(%rip), %rsi     # 0x18ba5f
movb $0x0, %al
callq 0x9060
leaq 0x19ecb2(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bf7e(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xff8ec
movabsq $0x400000000, %rcx      # imm = 0x400000000
leaq 0x178610(%rip), %rax    # 0x277ab0
cmpq %rcx, (%rax)
jne 0xff4aa
jmp 0xff8ea
leaq 0x1785ff(%rip), %rax    # 0x277ab0
cmpq $0x2000000, (%rax)      # imm = 0x2000000
jne 0xff6ae
callq 0x94230
cmpl $0x0, %eax
je 0xff4d1
movl $0xf, -0x8(%rbp)
jmp 0xff4ef
leaq 0x17abf8(%rip), %rax    # 0x27a0d0
cmpl $0x0, (%rax)
je 0xff4e6
movl $0xf, -0x8(%rbp)
jmp 0xff4ed
movl $0x8, -0x8(%rbp)
jmp 0xff4ef
leaq 0x17aa0a(%rip), %rax    # 0x279f00
cmpl $0x0, (%rax)
je 0xff503
movl -0x8(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0xff50a
movl $0x8, -0x4(%rbp)
leaq 0x17aad3(%rip), %rax    # 0x279fe4
movl (%rax), %edx
leaq 0x29bee6(%rip), %rdi    # 0x39b400
leaq 0x8c53e(%rip), %rsi     # 0x18ba5f
movb $0x0, %al
callq 0x9060
leaq 0x19ebf1(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bebd(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
callq 0x94230
cmpl $0x0, %eax
jne 0xff55e
movl $0x8, -0x4(%rbp)
jmp 0xff57b
leaq 0x17a99f(%rip), %rax    # 0x279f04
cmpl $0x0, (%rax)
je 0xff572
movl -0x8(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0xff579
movl $0x8, -0x4(%rbp)
jmp 0xff57b
leaq 0x17aa76(%rip), %rax    # 0x279ff8
movsd (%rax), %xmm0
leaq 0x29be73(%rip), %rdi    # 0x39b400
leaq 0x8c4d6(%rip), %rsi     # 0x18ba6a
movb $0x1, %al
callq 0x9060
leaq 0x19eb7e(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x7, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29be4a(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
callq 0x94230
cmpl $0x0, %eax
je 0xff5d1
movl $0x8, -0x4(%rbp)
jmp 0xff5ee
leaq 0x17a930(%rip), %rax    # 0x279f08
cmpl $0x0, (%rax)
je 0xff5e5
movl -0x8(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0xff5ec
movl $0x8, -0x4(%rbp)
jmp 0xff5ee
leaq 0x17aa0b(%rip), %rax    # 0x27a000
cvttsd2si (%rax), %edx
leaq 0x29be00(%rip), %rdi    # 0x39b400
leaq 0x8c46e(%rip), %rsi     # 0x18ba75
movb $0x0, %al
callq 0x9060
leaq 0x19eb0b(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bdd7(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
callq 0x94230
cmpl $0x0, %eax
je 0xff644
movl $0x8, -0x4(%rbp)
jmp 0xff661
leaq 0x17a8c1(%rip), %rax    # 0x279f0c
cmpl $0x0, (%rax)
je 0xff658
movl -0x8(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0xff65f
movl $0x8, -0x4(%rbp)
jmp 0xff661
movl $0x8, -0x4(%rbp)
leaq 0x17a979(%rip), %rax    # 0x279fe8
movl (%rax), %edx
leaq 0x29bd88(%rip), %rdi    # 0x39b400
leaq 0x8c401(%rip), %rsi     # 0x18ba80
movb $0x0, %al
callq 0x9060
leaq 0x19ea93(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bd5f(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe5c
leaq 0x26ce1b(%rip), %rax    # 0x36c4d0
cmpl $0x0, (%rax)
je 0xff6c3
movl $0xf, -0x4(%rbp)
jmp 0xff6ca
movl $0x8, -0x4(%rbp)
leaq 0x26cbff(%rip), %rax    # 0x36c2d0
movsd (%rax), %xmm0
leaq 0x29bd24(%rip), %rdi    # 0x39b400
leaq 0x8c3aa(%rip), %rsi     # 0x18ba8d
movb $0x1, %al
callq 0x9060
leaq 0x19ea2f(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x6, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bcfb(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x26cdc0(%rip), %rax    # 0x36c4d4
cmpl $0x0, (%rax)
je 0xff722
movl $0xf, -0x4(%rbp)
jmp 0xff729
movl $0x8, -0x4(%rbp)
leaq 0x26cbb0(%rip), %rax    # 0x36c2e0
movsd (%rax), %xmm0
leaq 0x29bcc5(%rip), %rdi    # 0x39b400
leaq 0x8c328(%rip), %rsi     # 0x18ba6a
movb $0x1, %al
callq 0x9060
leaq 0x19e9d0(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x7, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bc9c(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x26cbd5(%rip), %rax    # 0x36c348
cmpl $0xe, (%rax)
jne 0xff786
leaq 0x26cbc9(%rip), %rax    # 0x36c348
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xff7a4
leaq 0x26cd4b(%rip), %rax    # 0x36c4d8
cmpl $0x0, (%rax)
je 0xff79b
movl $0xf, -0x4(%rbp)
jmp 0xff7a2
movl $0x8, -0x4(%rbp)
jmp 0xff7a4
xorps %xmm0, %xmm0
leaq 0x26cb3a(%rip), %rax    # 0x36c2e8
ucomisd (%rax), %xmm0
jbe 0xff7d6
leaq 0x26cb2d(%rip), %rax    # 0x36c2e8
movsd (%rax), %xmm0
leaq 0x29bc3a(%rip), %rdi    # 0x39b400
leaq 0x8c2cf(%rip), %rsi     # 0x18ba9c
movb $0x1, %al
callq 0x9060
jmp 0xff833
leaq 0x26cb0b(%rip), %rax    # 0x36c2e8
movsd (%rax), %xmm0
movsd 0x6f8d7(%rip), %xmm1    # 0x16f0c0
ucomisd %xmm1, %xmm0
jbe 0xff811
leaq 0x26caf2(%rip), %rax    # 0x36c2e8
movsd (%rax), %xmm0
leaq 0x29bbff(%rip), %rdi    # 0x39b400
leaq 0x8c294(%rip), %rsi     # 0x18ba9c
movb $0x1, %al
callq 0x9060
jmp 0xff831
leaq 0x26cad0(%rip), %rax    # 0x36c2e8
movsd (%rax), %xmm0
leaq 0x29bbdd(%rip), %rdi    # 0x39b400
leaq 0x8c282(%rip), %rsi     # 0x18baac
movb $0x1, %al
callq 0x9060
jmp 0xff833
leaq 0x19e8e6(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bbb2(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x26cc83(%rip), %rax    # 0x36c4e0
cmpl $0x0, (%rax)
je 0xff86b
movl $0xf, -0x4(%rbp)
jmp 0xff872
movl $0x8, -0x4(%rbp)
leaq 0x26cab7(%rip), %rax    # 0x36c330
movsd (%rax), %xmm0
leaq 0x29bb7c(%rip), %rdi    # 0x39b400
leaq 0x8c232(%rip), %rsi     # 0x18babd
movb $0x1, %al
callq 0x9060
leaq 0x19e883(%rip), %rax    # 0x29e11c
cmpb $0x0, (%rax)
je 0xff8c2
leaq 0x19e87b(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl $0x16, %esi
movl $0x8, %edx
leaq 0x29bb45(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0xff8e5
leaq 0x19e857(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29bb23(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe5c
jmp 0xff8ec
jmp 0xff8ee
jmp 0xff8f0
jmp 0xff8f2
jmp 0xff8f4
jmp 0xff8f6
jmp 0xff8f8
jmp 0xff8fa
jmp 0xff8fc
leaq 0x26d74d(%rip), %rax    # 0x36d050
cmpl $0x0, (%rax)
jl 0xffbdd
leaq 0x26d73d(%rip), %rax    # 0x36d050
movslq (%rax), %rax
cmpq $0x186a0, %rax          # imm = 0x186A0
jg 0xffbdd
leaq 0x26d74f(%rip), %rax    # 0x36d078
cmpb $0x0, (%rax)
je 0xff953
leaq 0x29ab8f(%rip), %rax    # 0x39a4c4
movl (%rax), %eax
movl %eax, %edx
leaq 0x29bac0(%rip), %rdi    # 0x39b400
leaq 0x8c183(%rip), %rsi     # 0x18baca
movb $0x0, %al
callq 0x9060
jmp 0xffa86
leaq 0x178156(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xff983
leaq 0x26d6e9(%rip), %rax    # 0x36d050
movl (%rax), %edx
leaq 0x29ba90(%rip), %rdi    # 0x39b400
leaq 0x8c15f(%rip), %rsi     # 0x18bad6
movb $0x0, %al
callq 0x9060
jmp 0xffa84
leaq 0x178126(%rip), %rax    # 0x277ab0
cmpq $0x100, (%rax)          # imm = 0x100
jne 0xffa43
leaq 0x26d6b2(%rip), %rax    # 0x36d050
cmpl $0xa, (%rax)
jge 0xff9f3
leaq 0x26d6a6(%rip), %rax    # 0x36d050
movl (%rax), %eax
movl %eax, -0x14(%rbp)
leaq 0x26d69a(%rip), %rax    # 0x36d050
cmpl $0x1, (%rax)
jne 0xff9c8
leaq 0x86422(%rip), %rax     # 0x185de4
movq %rax, -0x20(%rbp)
jmp 0xff9d5
leaq 0x7c5ca(%rip), %rax     # 0x17bf99
movq %rax, -0x20(%rbp)
jmp 0xff9d5
movl -0x14(%rbp), %edx
movq -0x20(%rbp), %rcx
leaq 0x29ba1d(%rip), %rdi    # 0x39b400
leaq 0x8c0f8(%rip), %rsi     # 0x18bae2
movb $0x0, %al
callq 0x9060
jmp 0xffa41
leaq 0x26d656(%rip), %rax    # 0x36d050
movl (%rax), %eax
movl %eax, -0x24(%rbp)
leaq 0x26d64a(%rip), %rax    # 0x36d050
cmpl $0x1, (%rax)
jne 0xffa18
leaq 0x863d2(%rip), %rax     # 0x185de4
movq %rax, -0x30(%rbp)
jmp 0xffa25
leaq 0x7c57a(%rip), %rax     # 0x17bf99
movq %rax, -0x30(%rbp)
jmp 0xffa25
movl -0x24(%rbp), %edx
movq -0x30(%rbp), %rcx
leaq 0x29b9cd(%rip), %rdi    # 0x39b400
leaq 0x8c0b8(%rip), %rsi     # 0x18baf2
movb $0x0, %al
callq 0x9060
jmp 0xffa82
leaq 0x26c96e(%rip), %rax    # 0x36c3b8
movl (%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xffa6b
leaq 0x29b9a5(%rip), %rdi    # 0x39b400
leaq 0x8c09f(%rip), %rsi     # 0x18bb01
movb $0x0, %al
callq 0x9060
jmp 0xffa80
leaq 0x29b98e(%rip), %rdi    # 0x39b400
leaq 0x96c47(%rip), %rsi     # 0x1966c0
movb $0x0, %al
callq 0x9060
jmp 0xffa82
jmp 0xffa84
jmp 0xffa86
leaq 0x19e693(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x7, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b95f(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
movl $0x80000000, %ecx       # imm = 0x80000000
leaq 0x177ffb(%rip), %rax    # 0x277ab0
cmpq %rcx, (%rax)
jne 0xffb11
leaq 0x26c8f7(%rip), %rax    # 0x36c3b8
movl (%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xffb11
leaq 0x26d5a2(%rip), %rax    # 0x36d074
movl (%rax), %edx
leaq 0x29b925(%rip), %rdi    # 0x39b400
leaq 0x8c02d(%rip), %rsi     # 0x18bb0f
movb $0x0, %al
callq 0x9060
leaq 0x19e630(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b8fc(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffbdb
leaq 0x177f98(%rip), %rax    # 0x277ab0
cmpq $0x20000000, (%rax)     # imm = 0x20000000
jne 0xffb75
leaq 0x26c890(%rip), %rax    # 0x36c3b8
movl (%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xffb75
leaq 0x26d53b(%rip), %rax    # 0x36d074
movl (%rax), %edx
leaq 0x29b8be(%rip), %rdi    # 0x39b400
leaq 0x8bfc6(%rip), %rsi     # 0x18bb0f
movb $0x0, %al
callq 0x9060
leaq 0x19e5c9(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b895(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffbd9
leaq 0x177f34(%rip), %rax    # 0x277ab0
cmpq $0x200000, (%rax)       # imm = 0x200000
jne 0xffbd7
leaq 0x26c82c(%rip), %rax    # 0x36c3b8
movl (%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xffbd7
leaq 0x26d4d7(%rip), %rax    # 0x36d074
movl (%rax), %edx
leaq 0x29b85a(%rip), %rdi    # 0x39b400
leaq 0x8bf62(%rip), %rsi     # 0x18bb0f
movb $0x0, %al
callq 0x9060
leaq 0x19e565(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b831(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffbd9
jmp 0xffbdb
jmp 0xffbdd
leaq 0x26d494(%rip), %rax    # 0x36d078
cmpb $0x0, (%rax)
je 0xffc70
leaq 0x26d464(%rip), %rax    # 0x36d058
cmpq $0x0, (%rax)
je 0xffc33
leaq 0x26d487(%rip), %rax    # 0x36d088
imulq $0x63, (%rax), %rax
leaq 0x26d44c(%rip), %rcx    # 0x36d058
imulq $0x3c, (%rcx), %rcx
cqto
idivq %rcx
movq %rax, %rdx
addq $0x1, %rdx
leaq 0x29b7dd(%rip), %rdi    # 0x39b400
leaq 0x8bef1(%rip), %rsi     # 0x18bb1b
movb $0x0, %al
callq 0x9060
jmp 0xffc48
leaq 0x29b7c6(%rip), %rdi    # 0x39b400
leaq 0x96a7f(%rip), %rsi     # 0x1966c0
movb $0x0, %al
callq 0x9060
leaq 0x19e4d1(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b79d(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffdd1
leaq 0x177e39(%rip), %rax    # 0x277ab0
cmpq $0x8, (%rax)
jne 0xffcf2
leaq 0x17a53c(%rip), %rax    # 0x27a1c0
cmpl $0x53, (%rax)
jne 0xffcf2
leaq 0x26d3e0(%rip), %rax    # 0x36d070
cmpl $0x0, (%rax)
je 0xffcb5
leaq 0x26d3d0(%rip), %rax    # 0x36d06c
movl (%rax), %edx
leaq 0x29b75b(%rip), %rdi    # 0x39b400
leaq 0x8be7f(%rip), %rsi     # 0x18bb2b
movb $0x0, %al
callq 0x9060
jmp 0xffcca
leaq 0x29b744(%rip), %rdi    # 0x39b400
leaq 0x969fd(%rip), %rsi     # 0x1966c0
movb $0x0, %al
callq 0x9060
leaq 0x19e44f(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b71b(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffdcf
leaq 0x26d373(%rip), %rax    # 0x36d06c
cmpl $0x0, (%rax)
jle 0xffdcd
leaq 0x26d363(%rip), %rax    # 0x36d06c
cmpl $0x64, (%rax)
jg 0xffdcd
leaq 0x177d97(%rip), %rax    # 0x277ab0
movq (%rax), %rax
andq $0x34009d, %rax         # imm = 0x34009D
cmpq $0x0, %rax
je 0xffd48
leaq 0x26d33d(%rip), %rax    # 0x36d06c
movl (%rax), %edx
leaq 0x29b6c8(%rip), %rdi    # 0x39b400
leaq 0x8bdf6(%rip), %rsi     # 0x18bb35
movb $0x0, %al
callq 0x9060
jmp 0xffd5d
leaq 0x29b6b1(%rip), %rdi    # 0x39b400
leaq 0x9696a(%rip), %rsi     # 0x1966c0
movb $0x0, %al
callq 0x9060
leaq 0x19e3bc(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x8, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b688(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
leaq 0x177d29(%rip), %rax    # 0x277ab0
cmpq $0x4, (%rax)
jne 0xffdcb
movl 0x2cbefd(%rip), %edx    # 0x3cbc90
leaq 0x29b666(%rip), %rdi    # 0x39b400
leaq 0x8bda3(%rip), %rsi     # 0x18bb44
movb $0x0, %al
callq 0x9060
leaq 0x19e371(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x29b63d(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
jmp 0xffdcd
jmp 0xffdcf
jmp 0xffdd1
leaq 0x26d2a0(%rip), %rax    # 0x36d078
cmpb $0x0, (%rax)
jne 0xffdf5
leaq 0x29a6dc(%rip), %rax    # 0x39a4c0
cmpb $0x0, (%rax)
jne 0xffdf5
leaq 0x26d28a(%rip), %rax    # 0x36d07a
cmpb $0x0, (%rax)
je 0xffdf7
jmp 0xffe5c
leaq 0x177cb2(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0xffe5a
leaq 0x26d249(%rip), %rax    # 0x36d054
cmpb $0x0, (%rax)
je 0xffe35
leaq 0x19e309(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x8bd23(%rip), %rcx     # 0x18bb4e
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe58
leaq 0x19e2e4(%rip), %rax    # 0x29e120
movl (%rax), %edi
addl $0x9, %edi
movl -0x4(%rbp), %eax
movl $0x16, %esi
leaq 0x8bd0c(%rip), %rcx     # 0x18bb5c
movzbl %al, %edx
callq 0x10ee0
jmp 0xffe5a
jmp 0xffe5c
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)