// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x17ece7(%rip), %rax    # 0x228f3e
cmpb $0x0, (%rax)
je 0xaa26b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15865e(%rip), %r15    # 0x2028d0
movq (%r15), %rax
cmpq $0x1000000, %rax        # imm = 0x1000000
je 0xaa2a8
cmpq $0x2000000, %rax        # imm = 0x2000000
je 0xaa2a8
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xaa2a8
cmpq $0x10000000, %rax       # imm = 0x10000000
je 0xaa2a8
movabsq $0x1000000000, %rcx     # imm = 0x1000000000
cmpq %rcx, %rax
jne 0xaa4e6
leaq 0x24cf29(%rip), %r14    # 0x2f71d8
testb $0x20, (%r14)
jne 0xaa2da
leaq 0x24dbdc(%rip), %rcx    # 0x2f7e98
cmpb $0x0, (%rcx)
je 0xaa536
leaq 0x17ec74(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x6827f(%rip), %rcx     # 0x112557
jmp 0xaa2ed
leaq 0x17ec5f(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x6825b(%rip), %rcx     # 0x112548
pushq $0x16
popq %rsi
pushq $0xc
popq %rdx
callq 0xe2d2
movb $0xe, %cl
leaq 0x24db6f(%rip), %rax    # 0x2f7e70
movl (%rax), %edx
movzbl %cl, %ebx
movabsq $0x20202020202020, %r13 # imm = 0x20202020202020
cmpl $0x186a0, %edx          # imm = 0x186A0
ja 0xaa3c1
leaq 0x24db75(%rip), %rax    # 0x2f7e98
cmpb $0x0, (%rax)
je 0xaa5ed
leaq 0x27afb1(%rip), %rax    # 0x3252e4
movl (%rax), %edx
leaq 0x27bee4(%rip), %rdi    # 0x326220
leaq 0x682e0(%rip), %rsi     # 0x112623
xorl %eax, %eax
callq 0x9060
leaq 0x17ebef(%rip), %r12    # 0x228f40
movl (%r12), %edi
addl $0x7, %edi
leaq 0x27bec1(%rip), %rcx    # 0x326220
pushq $0x16
popq %rsi
movl %ebx, %edx
callq 0xe2d2
movq (%r15), %rax
cmpq $0x200000, %rax         # imm = 0x200000
je 0xaa386
cmpq $0x20000000, %rax       # imm = 0x20000000
je 0xaa386
movl $0x80000000, %ecx       # imm = 0x80000000
cmpq %rcx, %rax
jne 0xaa3c1
testb $0x20, (%r14)
je 0xaa3c1
leaq 0x24db01(%rip), %rax    # 0x2f7e94
movl (%rax), %edx
leaq 0x27be84(%rip), %r14    # 0x326220
leaq 0x682c5(%rip), %rsi     # 0x112668
movq %r14, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r12), %edi
addl $0x8, %edi
pushq $0x16
popq %rsi
movl %ebx, %edx
movq %r14, %rcx
callq 0xe2d2
leaq 0x24dad0(%rip), %r14    # 0x2f7e98
cmpb $0x0, (%r14)
je 0xaa40c
leaq 0x24daa3(%rip), %rax    # 0x2f7e78
movq (%rax), %rcx
testq %rcx, %rcx
je 0xaa455
leaq 0x24dac4(%rip), %rax    # 0x2f7ea8
imulq $0x63, (%rax), %rax
imulq $0x3c, %rcx, %rcx
cqto
idivq %rcx
leaq 0x1(%rax), %rdx
leaq 0x27be24(%rip), %rdi    # 0x326220
leaq 0x68271(%rip), %rsi     # 0x112674
xorl %eax, %eax
callq 0x9060
jmp 0xaa46d
movq (%r15), %rax
cmpq $0x8, %rax
jne 0xaa5b3
leaq 0x15abc0(%rip), %rcx    # 0x204fe0
cmpl $0x53, (%rcx)
jne 0xaa5b3
leaq 0x24da60(%rip), %rax    # 0x2f7e90
cmpl $0x0, (%rax)
je 0xaa455
leaq 0x24da50(%rip), %rax    # 0x2f7e8c
movl (%rax), %edx
leaq 0x27bddb(%rip), %rdi    # 0x326220
leaq 0x68238(%rip), %rsi     # 0x112684
xorl %eax, %eax
callq 0x9060
jmp 0xaa46d
leaq 0x27bdc4(%rip), %rax    # 0x326220
movq %r13, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
movq %rcx, (%rax)
pushq $0x8
popq %rdi
leaq 0x17eac9(%rip), %rax    # 0x228f40
addl (%rax), %edi
leaq 0x27bda0(%rip), %rcx    # 0x326220
pushq $0x16
popq %rsi
movl %ebx, %edx
callq 0xe2d2
cmpb $0x0, (%r14)
jne 0xaa25c
leaq 0x27ae45(%rip), %rax    # 0x3252e0
cmpb $0x0, (%rax)
jne 0xaa25c
leaq 0x24d9ef(%rip), %rax    # 0x2f7e9a
cmpb $0x0, (%rax)
jne 0xaa25c
cmpq $0x1, (%r15)
jne 0xaa25c
leaq 0x24d9af(%rip), %rax    # 0x2f7e74
leaq 0x17ea74(%rip), %rcx    # 0x228f40
movl (%rcx), %edi
addl $0x9, %edi
cmpb $0x0, (%rax)
je 0xaa620
leaq 0x681c6(%rip), %rcx     # 0x1126a7
jmp 0xaa627
movabsq $0x105b8b0400, %rcx     # imm = 0x105B8B0400
testq %rcx, %rax
jne 0xaa25c
leaq 0x15aad0(%rip), %rcx    # 0x204fd0
cmpl $0x0, (%rcx)
je 0xaa515
leaq 0x24ceb8(%rip), %rcx    # 0x2f73c4
cmpl $0x0, (%rcx)
je 0xaa25c
cmpq $0x400000, %rax         # imm = 0x400000
jne 0xaa2a8
leaq 0x24d48c(%rip), %rcx    # 0x2f79b4
cmpl $0x0, (%rcx)
je 0xaa25c
jmp 0xaa2a8
cmpq $0x200000, %rax         # imm = 0x200000
jne 0xaa63f
leaq 0x27ce37(%rip), %rcx    # 0x327380
cmpl $0x0, (%rcx)
je 0xaa63f
leaq 0x27ce1f(%rip), %rax    # 0x327378
movsd (%rax), %xmm0
mulsd 0x48ad3(%rip), %xmm0    # 0xf3038
ucomisd 0x48b3b(%rip), %xmm0    # 0xf30a8
leaq 0x67ff2(%rip), %rax     # 0x112566
leaq 0x67ffa(%rip), %rsi     # 0x112575
cmovaq %rax, %rsi
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rax, %rsi
leaq 0x27bc8e(%rip), %rbx    # 0x326220
movq %rbx, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e99d(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x7, %edi
pushq $0x16
popq %rsi
pushq $0xf
popq %rdx
movq %rbx, %rcx
jmp 0xaa62c
leaq 0x24d8d2(%rip), %rcx    # 0x2f7e8c
movl (%rcx), %edx
leal -0x1(%rdx), %ecx
cmpl $0x63, %ecx
ja 0xaa48a
testl $0x34009d, %eax         # imm = 0x34009D
je 0xaa704
leaq 0x27bc46(%rip), %rdi    # 0x326220
leaq 0x680ad(%rip), %rsi     # 0x11268e
xorl %eax, %eax
callq 0x9060
jmp 0xaa71c
movq (%r15), %rax
cmpq $0x100, %rax            # imm = 0x100
je 0xaa6af
cmpq $0x1, %rax
jne 0xaa6e0
leaq 0x27bc13(%rip), %rdi    # 0x326220
leaq 0x6801b(%rip), %rsi     # 0x11262f
xorl %eax, %eax
callq 0x9060
jmp 0xaa34a
leaq 0x6808e(%rip), %rcx     # 0x1126b5
pushq $0x16
popq %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe2d2
movabsq $0x340690242, %rdx      # imm = 0x340690242
testq %rdx, %rax
jne 0xaa2fa
leaq 0x1582ab(%rip), %rcx    # 0x202904
cmpb $0x0, (%rcx)
jne 0xaa68a
leaq 0x15a96f(%rip), %rcx    # 0x204fd4
movl (%rcx), %ecx
cmpq $0x1, %rax
jne 0xaa7ad
cmpl $0x41, %ecx
jne 0xaa7ad
leaq 0x158277(%rip), %rdx    # 0x2028f8
cmpl $0x47, (%rdx)
jne 0xaa7ad
leaq 0x17e8af(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x67ee8(%rip), %rcx     # 0x112585
pushq $0x16
popq %rsi
pushq $0x8
popq %rdx
callq 0xe2d2
movb $0x8, %cl
jmp 0xaa2fa
cmpl $0x9, %edx
ja 0xaa765
cmpl $0x1, %edx
leaq 0x623da(%rip), %rax     # 0x10ca9c
leaq 0x56f52(%rip), %rcx     # 0x10161b
cmoveq %rax, %rcx
leaq 0x27bb4c(%rip), %rdi    # 0x326220
leaq 0x67f60(%rip), %rsi     # 0x11263b
jmp 0xaa77a
testb $0x20, (%r14)
jne 0xaa786
leaq 0x27bb2f(%rip), %rax    # 0x326220
movq %r13, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
jmp 0xaa7a5
leaq 0x27bb15(%rip), %rax    # 0x326220
movq %r13, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
movq %rcx, (%rax)
leaq 0x17e81d(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x8, %edi
leaq 0x27baf1(%rip), %rcx    # 0x326220
pushq $0x16
popq %rsi
movl %ebx, %edx
callq 0xe2d2
cmpq $0x4, (%r15)
jne 0xaa48a
movl 0x2ac367(%rip), %edx    # 0x356ab0
leaq 0x27bad0(%rip), %rdi    # 0x326220
leaq 0x67f46(%rip), %rsi     # 0x11269d
xorl %eax, %eax
callq 0x9060
pushq $0x9
jmp 0xaa46f
leaq 0x27bab4(%rip), %rdi    # 0x326220
leaq 0x67ed8(%rip), %rsi     # 0x11264b
leaq 0x56ea1(%rip), %rcx     # 0x10161b
xorl %eax, %eax
callq 0x9060
jmp 0xaa34a
leaq 0x27ba93(%rip), %rax    # 0x326220
movabsq $0x20207373657267, %rcx # imm = 0x20207373657267
movq %rcx, 0x6(%rax)
movabsq $0x72676f7270206e49, %rcx # imm = 0x72676F7270206E49
movq %rcx, (%rax)
jmp 0xaa34a
cmpl $0x41, %ecx
sete %dl
cmpq $0x1, %rax
sete %sil
cmpl $0x50, %ecx
sete %cl
testl $0x800009a4, %eax       # imm = 0x800009A4
jne 0xaa68a
orb %cl, %dl
andb %dl, %sil
jne 0xaa68a
cmpq $0x8, %rax
je 0xaa68a
cmpq $0x100000, %rax         # imm = 0x100000
je 0xaa68a
cmpq $0x10, %rax
je 0xaa68a
leaq 0x15a7d2(%rip), %rcx    # 0x204fd0
cmpl $0x0, (%rcx)
setne %dl
leaq 0x24cbb9(%rip), %rcx    # 0x2f73c4
cmpl $0x0, (%rcx)
sete %sil
cmpq $0x40000, %rax          # imm = 0x40000
je 0xaa2fa
andb %sil, %dl
jne 0xaa2fa
movabsq $0x400000000, %rcx      # imm = 0x400000000
cmpq %rcx, %rax
je 0xaaafb
cmpq $0x2000000, %rax        # imm = 0x2000000
je 0xaa97f
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xaaab9
cmpq $0x1000000, %rax        # imm = 0x1000000
jne 0xaab00
leaq 0x15a243(%rip), %rax    # 0x204aa8
cmpl $0x0, (%rax)
leaq 0x15a2c9(%rip), %rax    # 0x204b38
movl (%rax), %edx
leaq 0x67d1c(%rip), %rsi     # 0x112594
leaq 0x27b9a1(%rip), %rbx    # 0x326220
pushq $0x8
popq %r13
pushq $0xf
popq %r14
movl %r14d, %r12d
cmovel %r13d, %r12d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e6a1(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
pushq $0x16
popq %r15
movl %r15d, %esi
movl %r12d, %edx
movq %rbx, %rcx
callq 0xe2d2
leaq 0x15a217(%rip), %rax    # 0x204ad4
cmpl $0x0, (%rax)
leaq 0x15a2a5(%rip), %rax    # 0x204b6c
movl (%rax), %edx
leaq 0x67ccd(%rip), %rsi     # 0x11259d
movl %r14d, %r12d
cmovel %r13d, %r12d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e658(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x7, %edi
movl %r15d, %esi
movl %r12d, %edx
movq %rbx, %rcx
callq 0xe2d2
leaq 0x15a1d6(%rip), %rax    # 0x204ad8
cmpl $0x0, (%rax)
leaq 0x15a264(%rip), %rax    # 0x204b70
movl (%rax), %edx
leaq 0x67c91(%rip), %rsi     # 0x1125a6
movl %r14d, %r12d
cmovel %r13d, %r12d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e613(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x8, %edi
movl %r15d, %esi
movl %r12d, %edx
movq %rbx, %rcx
callq 0xe2d2
leaq 0x15a195(%rip), %rax    # 0x204adc
cmpl $0x0, (%rax)
leaq 0x15a223(%rip), %rax    # 0x204b74
movl (%rax), %edx
leaq 0x67c55(%rip), %rsi     # 0x1125af
cmovel %r13d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e5d1(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x9, %edi
movl %r15d, %esi
movl %r14d, %edx
jmp 0xaa5ae
callq 0x63a49
leaq 0x15a565(%rip), %rcx    # 0x204ef0
orl (%rcx), %eax
pushq $0x8
popq %rbx
pushq $0xf
popq %r15
cmovel %ebx, %r15d
leaq 0x15a381(%rip), %rax    # 0x204d20
cmpl $0x0, (%rax)
movl %r15d, %r13d
cmovel %ebx, %r13d
leaq 0x15a454(%rip), %rax    # 0x204e04
movl (%rax), %edx
leaq 0x27b867(%rip), %r14    # 0x326220
leaq 0x67bf8(%rip), %rsi     # 0x1125b8
movq %r14, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e56f(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
pushq $0x16
popq %r12
movl %r12d, %esi
movl %r13d, %edx
movq %r14, %rcx
callq 0xe2d2
callq 0x63a49
leaq 0x15a330(%rip), %rcx    # 0x204d24
cmpl $0x0, (%rcx)
movl %r15d, %r13d
cmovel %ebx, %r13d
testl %eax, %eax
cmovel %ebx, %r13d
leaq 0x15a40d(%rip), %rax    # 0x204e18
movsd (%rax), %xmm0
leaq 0x67bad(%rip), %rsi     # 0x1125c3
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e519(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x7, %edi
movl %r12d, %esi
movl %r13d, %edx
movq %r14, %rcx
callq 0xe2d2
callq 0x63a49
leaq 0x15a2e2(%rip), %rcx    # 0x204d28
cmpl $0x0, (%rcx)
cmovel %ebx, %r15d
testl %eax, %eax
cmovnel %ebx, %r15d
leaq 0x15a3c6(%rip), %rax    # 0x204e20
cvttsd2si (%rax), %edx
leaq 0x67b69(%rip), %rsi     # 0x1125ce
movq %r14, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e4ca(%rip), %r13    # 0x228f40
movl (%r13), %edi
addl $0x8, %edi
movl %r12d, %esi
movl %r15d, %edx
movq %r14, %rcx
callq 0xe2d2
leaq 0x15a376(%rip), %rax    # 0x204e08
movl (%rax), %edx
leaq 0x67b3e(%rip), %rsi     # 0x1125d9
movq %r14, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r13), %edi
addl $0x9, %edi
movl %r12d, %esi
movl %ebx, %edx
movq %r14, %rcx
jmp 0xaa62c
leaq 0x24d108(%rip), %rax    # 0x2f7bc8
movl (%rax), %edx
leaq 0x27b757(%rip), %rbx    # 0x326220
leaq 0x67ae8(%rip), %rsi     # 0x1125b8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x17e45f(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
pushq $0x16
popq %rsi
pushq $0xf
popq %rdx
movq %rbx, %rcx
callq 0xe2d2
movb $0xf, %cl
jmp 0xaa2fa
jmp 0xaa2fa
leaq 0x24c7e9(%rip), %rax    # 0x2f72f0
cmpl $0x0, (%rax)
leaq 0x24c5df(%rip), %rax    # 0x2f70f0
movsd (%rax), %xmm0
leaq 0x67aca(%rip), %rsi     # 0x1125e6
leaq 0x27b6fd(%rip), %r14    # 0x326220
pushq $0x8
popq %r13
pushq $0xf
popq %rbx
movl %ebx, %r12d
cmovel %r13d, %r12d
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e3fe(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x6, %edi
pushq $0x16
popq %r15
movl %r15d, %esi
movl %r12d, %edx
movq %r14, %rcx
callq 0xe2d2
leaq 0x24c794(%rip), %rax    # 0x2f72f4
cmpl $0x0, (%rax)
leaq 0x24c596(%rip), %rax    # 0x2f7100
movsd (%rax), %xmm0
leaq 0x67a4e(%rip), %rsi     # 0x1125c3
movl %ebx, %r12d
cmovel %r13d, %r12d
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e3b3(%rip), %rax    # 0x228f40
movl (%rax), %edi
addl $0x7, %edi
movl %r15d, %esi
movl %r12d, %edx
movq %r14, %rcx
callq 0xe2d2
leaq 0x24c5c1(%rip), %rax    # 0x2f7168
movl (%rax), %eax
leaq 0x24c748(%rip), %rcx    # 0x2f72f8
cmpl $0x0, (%rcx)
movl %ebx, %r12d
cmovel %r13d, %r12d
cmpl $0xe, %eax
cmovel %eax, %r12d
leaq 0x24c540(%rip), %rax    # 0x2f7108
movsd (%rax), %xmm0
ucomisd 0x484d4(%rip), %xmm0    # 0xf30a8
leaq 0x67a1a(%rip), %rax     # 0x1125f5
leaq 0x67a23(%rip), %rsi     # 0x112605
cmovaq %rax, %rsi
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rax, %rsi
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e33d(%rip), %rax    # 0x228f40
movq %rax, %r13
movl (%rax), %edi
addl $0x8, %edi
movzbl %r12b, %edx
movl %r15d, %esi
movq %r14, %rcx
callq 0xe2d2
leaq 0x24c6df(%rip), %rax    # 0x2f7300
movl (%rax), %r15d
leaq 0x24c525(%rip), %rax    # 0x2f7150
movsd (%rax), %xmm0
leaq 0x679e0(%rip), %rsi     # 0x112616
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x17e2f5(%rip), %rax    # 0x228f3c
cmpb $0x0, (%rax)
je 0xaac65
movl (%r13), %edi
addl $0x9, %edi
leaq 0x27b5c6(%rip), %rcx    # 0x326220
pushq $0x16
popq %rsi
pushq $0x8
popq %rdx
jmp 0xaa62c
movl (%r13), %edi
addl $0x9, %edi
testl %r15d, %r15d
pushq $0x8
popq %rax
cmovel %eax, %ebx
leaq 0x27b5a4(%rip), %rcx    # 0x326220
jmp 0xaa627