// File: /workspace/github_cpp_makefile_star2_O1/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 0x184a3c(%rip), %rax    # 0x23ef3e
cmpb $0x0, (%rax)
je 0xba516
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15e3b3(%rip), %r15    # 0x2188d0
movq (%r15), %rax
cmpq $0x7ffffff, %rax        # imm = 0x7FFFFFF
jle 0xba54c
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xba560
cmpq $0x10000000, %rax       # imm = 0x10000000
je 0xba560
movabsq $0x1000000000, %rcx     # imm = 0x1000000000
cmpq %rcx, %rax
je 0xba560
jmp 0xba7ce
cmpq $0x1000000, %rax        # imm = 0x1000000
je 0xba560
cmpq $0x2000000, %rax        # imm = 0x2000000
jne 0xba7ce
leaq 0x252c71(%rip), %r14    # 0x30d1d8
testb $0x20, (%r14)
jne 0xba592
leaq 0x253924(%rip), %rcx    # 0x30de98
cmpb $0x0, (%rcx)
je 0xba81e
leaq 0x1849bc(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x6dfb7(%rip), %rcx     # 0x128547
jmp 0xba5a5
leaq 0x1849a7(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x6df93(%rip), %rcx     # 0x128538
movl $0x16, %esi
movl $0xc, %edx
callq 0xe7d0
movb $0xe, %cl
leaq 0x2538b3(%rip), %rax    # 0x30de70
movl (%rax), %edx
movzbl %cl, %ebx
cmpl $0x186a0, %edx          # imm = 0x186A0
ja 0xba69b
leaq 0x2538c3(%rip), %rax    # 0x30de98
cmpb $0x0, (%rax)
je 0xba8d9
leaq 0x280cff(%rip), %rax    # 0x33b2e4
movl (%rax), %edx
leaq 0x281c32(%rip), %rdi    # 0x33c220
leaq 0x6e01e(%rip), %rsi     # 0x128613
xorl %eax, %eax
callq 0x9060
leaq 0x18493d(%rip), %r12    # 0x23ef40
movl (%r12), %edi
addl $0x7, %edi
leaq 0x281c0f(%rip), %rcx    # 0x33c220
movl $0x16, %esi
movl %ebx, %edx
callq 0xe7d0
movq (%r15), %rax
cmpq $0x200000, %rax         # imm = 0x200000
je 0xba65e
cmpq $0x20000000, %rax       # imm = 0x20000000
je 0xba650
movl $0x80000000, %ecx       # imm = 0x80000000
cmpq %rcx, %rax
jne 0xba69b
testb $0x20, (%r14)
jne 0xba664
cmpq $0x200000, %rax         # imm = 0x200000
je 0xba65e
cmpq $0x20000000, %rax       # imm = 0x20000000
jne 0xba69b
testb $0x20, (%r14)
jne 0xba664
cmpq $0x200000, %rax         # imm = 0x200000
jne 0xba69b
testb $0x20, (%r14)
je 0xba69b
leaq 0x253829(%rip), %rax    # 0x30de94
movl (%rax), %edx
leaq 0x281bac(%rip), %r14    # 0x33c220
leaq 0x6dfdd(%rip), %rsi     # 0x128658
movq %r14, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r12), %edi
addl $0x8, %edi
movl $0x16, %esi
movl %ebx, %edx
movq %r14, %rcx
callq 0xe7d0
leaq 0x2537f6(%rip), %r14    # 0x30de98
cmpb $0x0, (%r14)
je 0xba6e6
leaq 0x2537c9(%rip), %rax    # 0x30de78
movq (%rax), %rcx
testq %rcx, %rcx
je 0xba72f
leaq 0x2537ea(%rip), %rax    # 0x30dea8
imulq $0x63, (%rax), %rax
imulq $0x3c, %rcx, %rcx
cqto
idivq %rcx
leaq 0x1(%rax), %rdx
leaq 0x281b4a(%rip), %rdi    # 0x33c220
leaq 0x6df87(%rip), %rsi     # 0x128664
xorl %eax, %eax
callq 0x9060
jmp 0xba751
movq (%r15), %rax
cmpq $0x8, %rax
jne 0xba89f
leaq 0x1608e6(%rip), %rcx    # 0x21afe0
cmpl $0x53, (%rcx)
jne 0xba89f
leaq 0x253786(%rip), %rax    # 0x30de90
cmpl $0x0, (%rax)
je 0xba72f
leaq 0x253776(%rip), %rax    # 0x30de8c
movl (%rax), %edx
leaq 0x281b01(%rip), %rdi    # 0x33c220
leaq 0x6df4e(%rip), %rsi     # 0x128674
xorl %eax, %eax
callq 0x9060
jmp 0xba751
leaq 0x281aea(%rip), %rax    # 0x33c220
movabsq $0x20202020202020, %rcx # imm = 0x20202020202020
movq %rcx, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
movq %rcx, (%rax)
movl $0x8, %edi
leaq 0x1847e3(%rip), %rax    # 0x23ef40
addl (%rax), %edi
leaq 0x281aba(%rip), %rcx    # 0x33c220
movl $0x16, %esi
movl %ebx, %edx
callq 0xe7d0
cmpb $0x0, (%r14)
jne 0xba507
leaq 0x280b5d(%rip), %rax    # 0x33b2e0
cmpb $0x0, (%rax)
jne 0xba507
leaq 0x253707(%rip), %rax    # 0x30de9a
cmpb $0x0, (%rax)
jne 0xba507
cmpq $0x1, (%r15)
jne 0xba507
leaq 0x2536c7(%rip), %rax    # 0x30de74
leaq 0x18478c(%rip), %rcx    # 0x23ef40
movl (%rcx), %edi
addl $0x9, %edi
cmpb $0x0, (%rax)
je 0xba90c
leaq 0x6dece(%rip), %rcx     # 0x128697
jmp 0xba913
movabsq $0x105b8b0400, %rcx     # imm = 0x105B8B0400
testq %rcx, %rax
jne 0xba507
leaq 0x1607e8(%rip), %rcx    # 0x21afd0
cmpl $0x0, (%rcx)
je 0xba7fd
leaq 0x252bd0(%rip), %rcx    # 0x30d3c4
cmpl $0x0, (%rcx)
je 0xba507
cmpq $0x400000, %rax         # imm = 0x400000
jne 0xba560
leaq 0x2531a4(%rip), %rcx    # 0x30d9b4
cmpl $0x0, (%rcx)
je 0xba507
jmp 0xba560
cmpq $0x200000, %rax         # imm = 0x200000
jne 0xba92d
leaq 0x282b4f(%rip), %rcx    # 0x33d380
cmpl $0x0, (%rcx)
je 0xba92d
leaq 0x282b37(%rip), %rax    # 0x33d378
movsd (%rax), %xmm0
mulsd 0x4e7eb(%rip), %xmm0    # 0x109038
ucomisd 0x4e853(%rip), %xmm0    # 0x1090a8
leaq 0x6dcfa(%rip), %rax     # 0x128556
leaq 0x6dd02(%rip), %rsi     # 0x128565
cmovaq %rax, %rsi
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rax, %rsi
leaq 0x2819a6(%rip), %rbx    # 0x33c220
movq %rbx, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x1846b5(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x7, %edi
movl $0x16, %esi
movl $0xf, %edx
movq %rbx, %rcx
jmp 0xba91a
leaq 0x2535e6(%rip), %rcx    # 0x30de8c
movl (%rcx), %edx
leal -0x1(%rdx), %ecx
cmpl $0x63, %ecx
ja 0xba772
testl $0x34009d, %eax         # imm = 0x34009D
je 0xbaa07
leaq 0x28195a(%rip), %rdi    # 0x33c220
leaq 0x6ddb1(%rip), %rsi     # 0x12867e
xorl %eax, %eax
callq 0x9060
jmp 0xbaa29
movq (%r15), %rax
cmpq $0x100, %rax            # imm = 0x100
je 0xba9a8
cmpq $0x1, %rax
jne 0xba9d9
leaq 0x281927(%rip), %rdi    # 0x33c220
leaq 0x6dd1f(%rip), %rsi     # 0x12861f
xorl %eax, %eax
callq 0x9060
jmp 0xba5fc
leaq 0x6dd92(%rip), %rcx     # 0x1286a5
movl $0x16, %esi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe7d0
movabsq $0x340690242, %rdx      # imm = 0x340690242
testq %rdx, %rax
jne 0xba5b6
leaq 0x15dfbd(%rip), %rcx    # 0x218904
cmpb $0x0, (%rcx)
jne 0xba97f
cmpq $0x1, %rax
sete %dl
leaq 0x16067a(%rip), %rcx    # 0x21afd4
movl (%rcx), %ecx
cmpl $0x41, %ecx
sete %sil
andb %dl, %sil
leaq 0x15df8b(%rip), %rdx    # 0x2188f8
movl (%rdx), %edx
cmpl $0x47, %edx
sete %dil
testb %dil, %sil
je 0xbaabf
leaq 0x1845ba(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x6, %edi
leaq 0x6dbe3(%rip), %rcx     # 0x128575
movl $0x16, %esi
movl $0x8, %edx
callq 0xe7d0
movb $0x8, %cl
jmp 0xba5b6
cmpl $0x9, %edx
jg 0xbaa77
cmpl $0x1, %edx
leaq 0x680b9(%rip), %rax     # 0x122a74
leaq 0x5cb45(%rip), %rcx     # 0x117507
cmoveq %rax, %rcx
leaq 0x281853(%rip), %rdi    # 0x33c220
leaq 0x6dc57(%rip), %rsi     # 0x12862b
jmp 0xbaa8c
testb $0x20, (%r14)
jne 0xbaa98
leaq 0x281836(%rip), %rax    # 0x33c220
movabsq $0x20202020202020, %rcx # imm = 0x20202020202020
movq %rcx, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
jmp 0xbaab7
leaq 0x281812(%rip), %rax    # 0x33c220
movabsq $0x20202020202020, %rcx # imm = 0x20202020202020
movq %rcx, 0x6(%rax)
movabsq $0x2020202020202020, %rcx # imm = 0x2020202020202020
movq %rcx, (%rax)
leaq 0x184510(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x8, %edi
leaq 0x2817e4(%rip), %rcx    # 0x33c220
movl $0x16, %esi
movl %ebx, %edx
callq 0xe7d0
cmpq $0x4, (%r15)
jne 0xba772
movl 0x2b2058(%rip), %edx    # 0x36cab0
leaq 0x2817c1(%rip), %rdi    # 0x33c220
leaq 0x6dc27(%rip), %rsi     # 0x12868d
xorl %eax, %eax
callq 0x9060
movl $0x9, %edi
jmp 0xba756
leaq 0x2817a2(%rip), %rdi    # 0x33c220
leaq 0x6dbb6(%rip), %rsi     # 0x12863b
leaq 0x5ca7b(%rip), %rcx     # 0x117507
xorl %eax, %eax
callq 0x9060
jmp 0xba5fc
leaq 0x281781(%rip), %rax    # 0x33c220
movabsq $0x20207373657267, %rcx # imm = 0x20207373657267
movq %rcx, 0x6(%rax)
movabsq $0x72676f7270206e49, %rcx # imm = 0x72676F7270206E49
movq %rcx, (%rax)
jmp 0xba5fc
testb %sil, %sil
je 0xbaad6
cmpl $0x33, %edx
je 0xba97f
cmpl $0x47, %edx
je 0xba97f
cmpl $0x41, %ecx
sete %dl
cmpq $0x1, %rax
sete %sil
cmpl $0x50, %ecx
sete %cl
testl $0x800009a4, %eax       # imm = 0x800009A4
jne 0xba97f
orb %cl, %dl
andb %dl, %sil
jne 0xba97f
cmpq $0x8, %rax
je 0xba97f
cmpq $0x100000, %rax         # imm = 0x100000
je 0xba97f
cmpq $0x10, %rax
je 0xba97f
leaq 0x1604a9(%rip), %rcx    # 0x21afd0
cmpl $0x0, (%rcx)
setne %dl
leaq 0x252890(%rip), %rcx    # 0x30d3c4
cmpl $0x0, (%rcx)
sete %sil
cmpq $0x40000, %rax          # imm = 0x40000
je 0xba5b6
andb %sil, %dl
jne 0xba5b6
cmpq $0x7ffffff, %rax        # imm = 0x7FFFFFF
jg 0xbacad
cmpq $0x1000000, %rax        # imm = 0x1000000
je 0xbae3d
cmpq $0x2000000, %rax        # imm = 0x2000000
jne 0xbaccc
callq 0x6cc14
leaq 0x160370(%rip), %rcx    # 0x21aef0
orl (%rcx), %eax
movl $0x8, %r13d
movl $0xf, %r14d
cmovel %r13d, %r14d
leaq 0x160187(%rip), %rax    # 0x21ad20
cmpl $0x0, (%rax)
movl %r14d, %r15d
cmovel %r13d, %r15d
leaq 0x16025a(%rip), %rax    # 0x21ae04
movl (%rax), %edx
leaq 0x28166d(%rip), %rbx    # 0x33c220
leaq 0x6d9ee(%rip), %rsi     # 0x1285a8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x184375(%rip), %r12    # 0x23ef40
movl (%r12), %edi
addl $0x6, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %rbx, %rcx
callq 0xe7d0
callq 0x6cc14
leaq 0x160136(%rip), %rcx    # 0x21ad24
cmpl $0x0, (%rcx)
movl %r14d, %r15d
cmovel %r13d, %r15d
testl %eax, %eax
cmovel %r13d, %r15d
leaq 0x160213(%rip), %rax    # 0x21ae18
movsd (%rax), %xmm0
leaq 0x6d9a3(%rip), %rsi     # 0x1285b3
movq %rbx, %rdi
movb $0x1, %al
callq 0x9060
movl (%r12), %edi
addl $0x7, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %rbx, %rcx
callq 0xe7d0
callq 0x6cc14
leaq 0x1600eb(%rip), %rcx    # 0x21ad28
cmpl $0x0, (%rcx)
cmovel %r13d, %r14d
testl %eax, %eax
cmovnel %r13d, %r14d
leaq 0x1601cf(%rip), %rax    # 0x21ae20
cvttsd2si (%rax), %edx
leaq 0x6d962(%rip), %rsi     # 0x1285be
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r12), %edi
addl $0x8, %edi
movl $0x16, %esi
movl %r14d, %edx
movq %rbx, %rcx
callq 0xe7d0
leaq 0x160184(%rip), %rax    # 0x21ae08
movl (%rax), %edx
leaq 0x6d93c(%rip), %rsi     # 0x1285c9
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r12), %edi
addl $0x9, %edi
movl $0x16, %esi
movl $0x8, %edx
jmp 0xba89a
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xbaf62
movabsq $0x400000000, %rdx      # imm = 0x400000000
cmpq %rdx, %rax
je 0xba5b6
leaq 0x25261d(%rip), %rax    # 0x30d2f0
cmpl $0x0, (%rax)
leaq 0x252413(%rip), %rax    # 0x30d0f0
movsd (%rax), %xmm0
leaq 0x6d8ee(%rip), %rsi     # 0x1285d6
leaq 0x281531(%rip), %r14    # 0x33c220
movl $0x8, %r12d
movl $0xf, %ebx
movl $0xf, %r15d
cmovel %r12d, %r15d
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x18422b(%rip), %r13    # 0x23ef40
movl (%r13), %edi
addl $0x6, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %r14, %rcx
callq 0xe7d0
leaq 0x2525c1(%rip), %rax    # 0x30d2f4
cmpl $0x0, (%rax)
leaq 0x2523c3(%rip), %rax    # 0x30d100
movsd (%rax), %xmm0
leaq 0x6d86b(%rip), %rsi     # 0x1285b3
movl $0xf, %r15d
cmovel %r12d, %r15d
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
movl (%r13), %edi
addl $0x7, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %r14, %rcx
callq 0xe7d0
leaq 0x2523ee(%rip), %rax    # 0x30d168
movl (%rax), %eax
leaq 0x252575(%rip), %rcx    # 0x30d2f8
cmpl $0x0, (%rcx)
movl $0xf, %r15d
cmovel %r12d, %r15d
cmpl $0xe, %eax
cmovel %eax, %r15d
leaq 0x25236a(%rip), %rax    # 0x30d108
movsd (%rax), %xmm0
ucomisd 0x4e2fe(%rip), %xmm0    # 0x1090a8
leaq 0x6d834(%rip), %rax     # 0x1285e5
leaq 0x6d83d(%rip), %rsi     # 0x1285f5
cmovaq %rax, %rsi
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rax, %rsi
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
movl (%r13), %edi
addl $0x8, %edi
movzbl %r15b, %edx
movl $0x16, %esi
movq %r14, %rcx
callq 0xe7d0
leaq 0x25250f(%rip), %rax    # 0x30d300
movl (%rax), %r15d
leaq 0x252355(%rip), %rax    # 0x30d150
movsd (%rax), %xmm0
leaq 0x6d800(%rip), %rsi     # 0x128606
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
leaq 0x184125(%rip), %rax    # 0x23ef3c
cmpb $0x0, (%rax)
je 0xbafa8
movl (%r13), %edi
addl $0x9, %edi
leaq 0x2813f2(%rip), %rcx    # 0x33c220
movl $0x16, %esi
movl $0x8, %edx
jmp 0xba91a
leaq 0x15fc64(%rip), %rax    # 0x21aaa8
cmpl $0x0, (%rax)
leaq 0x15fcea(%rip), %rax    # 0x21ab38
movl (%rax), %edx
leaq 0x6d72d(%rip), %rsi     # 0x128584
leaq 0x2813c2(%rip), %rbx    # 0x33c220
movl $0x8, %r12d
movl $0xf, %r14d
movl $0xf, %r15d
cmovel %r12d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x1840bb(%rip), %r13    # 0x23ef40
movl (%r13), %edi
addl $0x6, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %rbx, %rcx
callq 0xe7d0
leaq 0x15fc31(%rip), %rax    # 0x21aad4
cmpl $0x0, (%rax)
leaq 0x15fcbf(%rip), %rax    # 0x21ab6c
movl (%rax), %edx
leaq 0x6d6d7(%rip), %rsi     # 0x12858d
movl $0xf, %r15d
cmovel %r12d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r13), %edi
addl $0x7, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %rbx, %rcx
callq 0xe7d0
leaq 0x15fbf0(%rip), %rax    # 0x21aad8
cmpl $0x0, (%rax)
leaq 0x15fc7e(%rip), %rax    # 0x21ab70
movl (%rax), %edx
leaq 0x6d69b(%rip), %rsi     # 0x128596
movl $0xf, %r15d
cmovel %r12d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r13), %edi
addl $0x8, %edi
movl $0x16, %esi
movl %r15d, %edx
movq %rbx, %rcx
callq 0xe7d0
leaq 0x15fbaf(%rip), %rax    # 0x21aadc
cmpl $0x0, (%rax)
leaq 0x15fc3d(%rip), %rax    # 0x21ab74
movl (%rax), %edx
leaq 0x6d65f(%rip), %rsi     # 0x12859f
cmovel %r12d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl (%r13), %edi
addl $0x9, %edi
movl $0x16, %esi
movl %r14d, %edx
jmp 0xba89a
leaq 0x252c5f(%rip), %rax    # 0x30dbc8
movl (%rax), %edx
leaq 0x2812ae(%rip), %rbx    # 0x33c220
leaq 0x6d62f(%rip), %rsi     # 0x1285a8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
leaq 0x183fb6(%rip), %rax    # 0x23ef40
movl (%rax), %edi
addl $0x6, %edi
movl $0x16, %esi
movl $0xf, %edx
movq %rbx, %rcx
callq 0xe7d0
movb $0xf, %cl
jmp 0xba5b6
movl (%r13), %edi
addl $0x9, %edi
testl %r15d, %r15d
cmovel %r12d, %ebx
leaq 0x281263(%rip), %rcx    # 0x33c220
jmp 0xba913