// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heather.cpp
// Function: label_plot_cursor_val(int, int, PLOT_Q)
int label_plot_cursor_val(int id, int col, struct PLOT_Q q)
{
double val;
char c;

   // format the plot header cursor value line entries

   if(plot[id].show_deriv) c = '*';
   else if(plot[id].show_freq) c = '#';
   else if(plot[id].drift_rate) c = '=';
   else c = ':';

   val = (double) q.data[id]/(double) queue_interval;
   out[0] = 0;

   if(tie_plot(id)) {  // it's a time interval error plot
      if(plot[id].show_freq) {  // frequency mode
         val = tie_to_freq(id, val);
         sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, "Hz");
      }
      else {  // time mode
         val = remove_trend(id, 1, q.q_jd, (DATA_SIZE) val);
         sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
      }
   }
   else if(phase_plot(id)) {
      val = remove_trend(id, 1, q.q_jd, (DATA_SIZE) val);
      sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if((id == ADC3) && (rcvr_type == THERMO_RCVR)) {  // PPS
      sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if((id == ADC4) && (rcvr_type == THERMO_RCVR)) {  // OSC
      sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if(id == DAC) {
      if(luxor) {
         sprintf(out, "%s%c %.3f V", plot[id].plot_id,c, val);
      }
      else if(TIMING_RCVR) {
         sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else {
         sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
      }
   }
   else if(id == TEMP) {
      if((rcvr_type == UCCM_RCVR) && (scpi_type == UCCMP_TYPE)) {
         sprintf(out, "%s%c %.6f %s", "TCOR", c, val, ppt_string);
      }
      else {
         sprintf(out, "%s%c %s", plot[id].plot_id,c, fmt_temp(val));
      }
   }
else if((id == PRESSURE) && enviro_mode()) {
   sprintf(out, "%s%c %s", plot[id].plot_id,c, fmt_pressure(val));
}
   else if(luxor && (id == TC2)) {
      sprintf(out, "%s%c %s", plot[id].plot_id,c, fmt_temp(val));
   }
   else if(id == OSC) {
      fmt_osc_val(0, plot[id].plot_id, val);
   }
   else if(id == PPS) {
      if(luxor) {
         val = val * (double) lux_scale;
         if(val <= (-10000.0))     sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
         else                      sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else if(rcvr_type == CS_RCVR) {
         sprintf(out, "%s%c %.1f uA", plot[id].plot_id,c, val);
      }
      else if(rcvr_type == ESIP_RCVR) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else if(rcvr_type == GPSD_RCVR) {
         val = val / 1.0E6;
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ms", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ms", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ms", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ms", plot[id].plot_id,c, val);
      }
      else if(rcvr_type == NVS_RCVR) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns/s", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns/s", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns/s", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns/s", plot[id].plot_id,c, val);
      }
      else if(rcvr_type == UBX_RCVR) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else if((rcvr_type == VENUS_RCVR) && saw_venus_raw) {
         sprintf(out, "%s%c %.1f m", plot[id].plot_id,c, val);
      }
      else if(rcvr_type == ZODIAC_RCVR) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else if(lte_lite) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else if(ACU_GG || ACU_360) {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
      else if(TIMING_RCVR) {
         val = val / 1000.0F;
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f us", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f us", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f us", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f us", plot[id].plot_id,c, val);
      }
      else {
         if(val <= (-10000.0))     sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else if(val <= (-1000.0)) sprintf(out, "%s%c %.5f ns", plot[id].plot_id,c, val);
         else if(val >= 10000.0)   sprintf(out, "%s%c %.4f ns", plot[id].plot_id,c, val);
         else                      sprintf(out, "%s%c %.6f ns", plot[id].plot_id,c, val);
      }
   }
   else if(id == SAT_PLOT) {
      sprintf(out, "%s%c %.0f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if(rcvr_type == CS_RCVR) {
      sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if(rcvr_type == X72_RCVR) {
      sprintf(out, "%s%c %.5f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if(id >= NUM_PLOTS) {  // derived plots DERIVED_PLOTS !!!!!
      if(luxor && (id == BATTW)) {        // battery watts
         val = (double) q.data[BATTI]*(double) q.data[BATTV] / (double) queue_interval;
      }
      else if(luxor && (id == LEDW)) {   // LED watts
         val = (double) q.data[LEDI]*(double) q.data[LEDV] / (double) queue_interval;
      }
      else if(luxor && (id == EFF)) { // driver efficency
         val = (double) q.data[BATTI]*(double) q.data[BATTV];
         if(val) val = (double) q.data[LEDI]*(double) q.data[LEDV] / val;
         val = val * 100.0;
      }
      else if(luxor && (id == CCT)) { // color temo
         cct_dbg = 1;
         val = (double) calc_cct(cct_type, 1, (double) q.data[REDHZ]/(double)queue_interval, (double) q.data[GREENHZ]/(double)queue_interval, (double) q.data[BLUEHZ]/(double)queue_interval);
         cct_dbg = 0;
      }
      else {
//       val = 0.0;
      }

      if(luxor) {
         sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else {
         sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
      }
   }
   else if((id == ONE) || (id == TWO)) {
      if(rcvr_type == TIDE_RCVR) {  // ckckck
         sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else if(rcvr_type == ZYFER_RCVR) {
         sprintf(out, "%s%c %.4f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else if(plot_loc) {
         sprintf(out, "%s%c %.8f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else sprintf(out, "%s%c (private) %s", plot[id].plot_id,c, plot[id].units);
   }
   else if(id == THREE) {
      sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else if(id == SIX) {
      sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
   }
   else {
      if(luxor) {
         if(id == LUX2) val = val * (double) lum_scale;
         sprintf(out, "%s%c %.3f %s", plot[id].plot_id,c, val, plot[id].units);
      }
      else {
         sprintf(out, "%s%c %.6f %s", plot[id].plot_id,c, val, plot[id].units);
      }
   }

   no_x_margin = no_y_margin = 1;
   vidstr(CURSOR_VAL_ROW, col, plot[id].plot_color, out);
   no_x_margin = no_y_margin = 0;
   return strlen(out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movl %edi, %r15d
leaq 0x10(%rbp), %r13
movslq %edi, %rdi
imulq $0xe8, %rdi, %rax
leaq 0x14888a(%rip), %rcx    # 0x15dd30
leaq (%rcx,%rax), %r12
movl $0x2a, %r14d
cmpl $0x0, 0xcc(%rax,%rcx)
jne 0x154ea
movl $0x23, %r14d
cmpl $0x0, 0xd0(%r12)
jne 0x154ea
xorpd %xmm0, %xmm0
cmpneqsd 0xa0(%r12), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
leal (%rax,%rax,2), %r14d
addl $0x3a, %r14d
movsd 0x10(%r13,%rdi,8), %xmm1
xorps %xmm0, %xmm0
cvtsi2sdq 0x205e9b(%rip), %xmm0 # 0x21b398
divsd %xmm0, %xmm1
movapd %xmm1, -0x40(%rbp)
movb $0x0, 0x326d13(%rip)    # 0x33c220
callq 0x13c3e
testl %eax, %eax
je 0x15550
cmpl $0x0, 0xd0(%r12)
je 0x155bc
movl %r15d, %edi
movapd -0x40(%rbp), %xmm0
callq 0xadb42
movq (%r12), %rdx
leaq 0x326ce3(%rip), %rdi    # 0x33c220
leaq 0xf51e2(%rip), %rsi     # 0x10a726
leaq 0x100cad(%rip), %r8     # 0x1161f8
jmp 0x155eb
movq 0x203379(%rip), %rax    # 0x2188d0
cmpq $0x10000, %rax          # imm = 0x10000
setne %cl
movl %r15d, %edx
andl $-0x4, %edx
cmpl $0x4, %edx
setne %dl
orb %cl, %dl
je 0x155bc
testl %r15d, %r15d
setne %cl
cmpq $0x80000, %rax          # imm = 0x80000
setne %dl
orb %cl, %dl
je 0x1559b
cmpq $0x80000, %rax          # imm = 0x80000
setne %cl
cmpl $0x1, %r15d
setne %dl
orb %cl, %dl
jne 0x15647
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x326c75(%rip), %rdi    # 0x33c220
leaq 0xf5174(%rip), %rsi     # 0x10a726
movl %r14d, %ecx
movapd -0x40(%rbp), %xmm0
jmp 0x155ee
movsd 0x8(%r13), %xmm0
movl %r15d, %edi
movl $0x1, %esi
movapd -0x40(%rbp), %xmm1
callq 0x13cce
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x326c3c(%rip), %rdi    # 0x33c220
leaq 0xf513b(%rip), %rsi     # 0x10a726
movl %r14d, %ecx
movb $0x1, %al
callq 0x9060
movb $0x1, %al
movb %al, 0x20325e(%rip)     # 0x21885b
movb %al, 0x203257(%rip)     # 0x21885a
movl 0x20319f(%rip), %edi    # 0x2187a8
addl $0x4, %edi
movzbl 0x20(%r12), %edx
leaq 0x326c07(%rip), %r14    # 0x33c220
movl %ebx, %esi
movq %r14, %rcx
callq 0xe787
xorl %eax, %eax
movb %al, 0x203230(%rip)     # 0x21885b
movb %al, 0x203229(%rip)     # 0x21885a
movq %r14, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9120
cmpl $0x3, %r15d
je 0x15677
cmpl $0x2, %r15d
jne 0x156ab
cmpb $0x0, 0x2298e4(%rip)    # 0x23ef3e
je 0x15738
movq (%r12), %rdx
leaq 0x326bb5(%rip), %rdi    # 0x33c220
leaq 0xf50c1(%rip), %rsi     # 0x10a733
jmp 0x15780
cmpq $0x8, %rax
jne 0x15703
cmpl $0x50, 0x205958(%rip)   # 0x21afe0
jne 0x15703
movq 0x329f8f(%rip), %r8     # 0x33f620
leaq 0x326b88(%rip), %rdi    # 0x33c220
leaq 0xf5087(%rip), %rsi     # 0x10a726
leaq 0xf4ea2(%rip), %rdx     # 0x10a548
jmp 0x155b2
cmpl $0x10, %r15d
jne 0x156e3
callq 0x5f6cb
testl %eax, %eax
je 0x157af
movq (%r12), %r15
movapd -0x40(%rbp), %xmm0
callq 0x13315
leaq 0x326b4d(%rip), %rdi    # 0x33c220
leaq 0xf5072(%rip), %rsi     # 0x10a74c
leaq 0x32ac7f(%rip), %r8     # 0x340360
jmp 0x15726
movb 0x229855(%rip), %cl     # 0x23ef3e
testb %cl, %cl
setne %sil
sete %dl
cmpl $0x8, %r15d
setne %dil
orb %dl, %dil
jne 0x15794
movq (%r12), %r15
movapd -0x40(%rbp), %xmm0
callq 0x13266
leaq 0x326b08(%rip), %rdi    # 0x33c220
leaq 0xf502d(%rip), %rsi     # 0x10a74c
leaq 0x32ab3a(%rip), %r8     # 0x340260
movq %r15, %rdx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x9060
jmp 0x155f5
cmpb $0x0, 0x2031c5(%rip)    # 0x218904
jne 0x1576e
cmpq $0x1, %rax
sete %dl
movl 0x205886(%rip), %ecx    # 0x21afd4
cmpl $0x41, %ecx
sete %sil
andb %dl, %sil
movl 0x20319a(%rip), %edx    # 0x2188f8
cmpl $0x47, %edx
sete %dil
testb %dil, %sil
je 0x15867
movq (%r12), %rdx
leaq 0x326aa7(%rip), %rdi    # 0x33c220
leaq 0xf4fbf(%rip), %rsi     # 0x10a73f
movl %r14d, %ecx
movapd -0x40(%rbp), %xmm0
movb $0x1, %al
callq 0x9060
jmp 0x155f5
cmpl $0x1, %r15d
jne 0x157e0
movq (%r12), %rsi
xorl %edi, %edi
movapd -0x40(%rbp), %xmm0
callq 0x134dd
jmp 0x155f5
movb 0x229789(%rip), %cl     # 0x23ef3e
testb %cl, %cl
setne %sil
movq 0x20310e(%rip), %rax    # 0x2188d0
cmpq $0x2000000, %rax        # imm = 0x2000000
je 0x1580b
cmpq $0x20000, %rax          # imm = 0x20000
jne 0x15827
movq (%r12), %rdx
movq 0x8(%r12), %r8
jmp 0x15a63
testl %r15d, %r15d
je 0x158ad
cmpl $0x13, %r15d
jne 0x157c2
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x326a21(%rip), %rdi    # 0x33c220
leaq 0xf5009(%rip), %rsi     # 0x10a80f
jmp 0x155b2
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x326a05(%rip), %rdi    # 0x33c220
leaq 0xf4ffa(%rip), %rsi     # 0x10a81c
jmp 0x155b2
cmpl $0x10, %r15d
jl 0x158de
setne %al
xorb $0x1, %sil
orb %sil, %al
jne 0x1592e
movsd 0x40(%r13), %xmm1
mulsd 0x38(%r13), %xmm1
xorps %xmm0, %xmm0
cvtsi2sdq 0x205b3f(%rip), %xmm0 # 0x21b398
divsd %xmm0, %xmm1
movapd %xmm1, -0x40(%rbp)
jmp 0x15a52
testb %sil, %sil
je 0x1587e
cmpl $0x33, %edx
je 0x1576e
cmpl $0x47, %edx
je 0x1576e
cmpl $0x41, %ecx
sete %dl
cmpq $0x1, %rax
sete %sil
cmpl $0x50, %ecx
sete %cl
testl $0x800009e4, %eax       # imm = 0x800009E4
jne 0x1576e
orb %cl, %dl
andb %dl, %sil
je 0x1559b
jmp 0x1576e
testb %cl, %cl
je 0x159ac
movapd -0x40(%rbp), %xmm0
mulsd 0x202fee(%rip), %xmm0   # 0x2188b0
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x32694e(%rip), %rdi    # 0x33c220
leaq 0xf4e7b(%rip), %rsi     # 0x10a754
jmp 0x155eb
movl %r15d, %ecx
andl $-0x2, %ecx
cmpl $0x4, %ecx
jne 0x15981
cmpq $0x100000, %rax         # imm = 0x100000
je 0x15ae6
cmpq $0x800000, %rax         # imm = 0x800000
je 0x157d2
cmpb $0x0, 0x205ad6(%rip)    # 0x21b3e2
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x326904(%rip), %rdi    # 0x33c220
je 0x15b72
leaq 0xf4f0d(%rip), %rsi     # 0x10a836
jmp 0x155b2
cmpl $0x11, %r15d
setne %al
orb %sil, %al
jne 0x159f5
movsd 0x18(%r13), %xmm0
movsd 0x40(%r13), %xmm1
mulsd 0x20(%r13), %xmm0
mulsd 0x38(%r13), %xmm1
divsd %xmm0, %xmm1
xorpd %xmm2, %xmm2
cmpneqsd %xmm0, %xmm2
andpd %xmm2, %xmm1
andnpd %xmm0, %xmm2
orpd %xmm1, %xmm2
mulsd 0xf36e9(%rip), %xmm2    # 0x109060
movapd %xmm2, -0x40(%rbp)
jmp 0x15a52
movq (%r12), %rdx
movq 0x8(%r12), %r8
cmpl $0x9, %r15d
je 0x15a63
cmpl $0x6, %r15d
je 0x15a63
testb %sil, %sil
je 0x155a4
jmp 0x15a63
cmpq $0x7ff, %rax            # imm = 0x7FF
jle 0x15a76
cmpq $0x800, %rax            # imm = 0x800
je 0x15b02
movl $0x80000000, %ecx       # imm = 0x80000000
cmpq %rcx, %rax
je 0x15bea
cmpq $0x20000, %rax          # imm = 0x20000
jne 0x15b4a
movq (%r12), %rdx
leaq 0x326837(%rip), %rdi    # 0x33c220
leaq 0xf4d71(%rip), %rsi     # 0x10a761
jmp 0x15780
cmpl $0x12, %r15d
setne %al
orb %sil, %al
jne 0x15a52
movb $0x1, 0x2f7565(%rip)    # 0x30cf6d
movzbl 0x2f7559(%rip), %edi    # 0x30cf68
movsd 0x68(%r13), %xmm0
cvtsi2sdq 0x20597a(%rip), %xmm3 # 0x21b398
divsd %xmm3, %xmm0
movsd 0x58(%r13), %xmm2
movsd 0x60(%r13), %xmm1
divsd %xmm3, %xmm1
divsd %xmm3, %xmm2
movl $0x1, %esi
callq 0x7aa82
movapd %xmm0, -0x40(%rbp)
movb $0x0, 0x2f7521(%rip)    # 0x30cf6d
movb 0x2294ec(%rip), %cl     # 0x23ef3e
movq (%r12), %rdx
movq 0x8(%r12), %r8
testb %cl, %cl
je 0x155a4
leaq 0x3267b6(%rip), %rdi    # 0x33c220
leaq 0xf4ce3(%rip), %rsi     # 0x10a754
jmp 0x155b2
cmpq $0x4, %rax
je 0x15bea
cmpq $0x200, %rax            # imm = 0x200
jne 0x15b4a
movapd -0x40(%rbp), %xmm1
divsd 0xf35b7(%rip), %xmm1    # 0x109050
movsd 0xf362f(%rip), %xmm2    # 0x1090d0
movapd %xmm1, %xmm0
ucomisd %xmm1, %xmm2
jae 0x15b95
movsd 0xf3629(%rip), %xmm1    # 0x1090e0
ucomisd %xmm0, %xmm1
jae 0x15c66
ucomisd 0xf360f(%rip), %xmm0    # 0x1090d8
movq (%r12), %rdx
jae 0x15b99
leaq 0x326746(%rip), %rdi    # 0x33c220
leaq 0xf4cc1(%rip), %rsi     # 0x10a7a2
jmp 0x15c78
movq (%r12), %rdx
movq 0x8(%r12), %r8
leaq 0x32672a(%rip), %rdi    # 0x33c220
leaq 0xf4d2c(%rip), %rsi     # 0x10a829
jmp 0x155b2
movsd 0xf35c6(%rip), %xmm0    # 0x1090d0
ucomisd -0x40(%rbp), %xmm0
jae 0x15b7e
movsd 0xf35c7(%rip), %xmm0    # 0x1090e0
ucomisd -0x40(%rbp), %xmm0
jae 0x15c4f
movapd -0x40(%rbp), %xmm0
ucomisd 0xf35a7(%rip), %xmm0    # 0x1090d8
movq (%r12), %rdx
jae 0x15b82
leaq 0x3266e2(%rip), %rdi    # 0x33c220
leaq 0xf4c88(%rip), %rsi     # 0x10a7cd
jmp 0x15780
cmpq $0x80, %rax
jne 0x15bac
cmpl $0x0, 0x32829b(%rip)    # 0x33ddf4
je 0x15bac
movq (%r12), %rdx
leaq 0x3266ba(%rip), %rdi    # 0x33c220
leaq 0xf4c6f(%rip), %rsi     # 0x10a7dc
jmp 0x15780
leaq 0xf4cca(%rip), %rsi     # 0x10a843
jmp 0x15729
movq (%r12), %rdx
leaq 0x326697(%rip), %rdi    # 0x33c220
leaq 0xf4c1f(%rip), %rsi     # 0x10a7af
jmp 0x15780
movq (%r12), %rdx
leaq 0x326680(%rip), %rdi    # 0x33c220
leaq 0xf4be1(%rip), %rsi     # 0x10a788
jmp 0x15c78
cmpq $0x100, %rax            # imm = 0x100
je 0x15bea
cmpl $0x0, 0x205415(%rip)    # 0x21afd0
jne 0x15bea
cmpq $0x1, %rax
sete %dl
movl 0x20540a(%rip), %ecx    # 0x21afd4
cmpl $0x41, %ecx
sete %sil
andb %dl, %sil
movl 0x202d1e(%rip), %edx    # 0x2188f8
cmpl $0x47, %edx
sete %dil
testb %dil, %sil
je 0x15c80
movsd 0xf34de(%rip), %xmm0    # 0x1090d0
ucomisd -0x40(%rbp), %xmm0
jae 0x15c21
movsd 0xf34df(%rip), %xmm0    # 0x1090e0
ucomisd -0x40(%rbp), %xmm0
jae 0x15c38
movapd -0x40(%rbp), %xmm0
ucomisd 0xf34c3(%rip), %xmm0    # 0x1090d8
movq (%r12), %rdx
jb 0x15772
jmp 0x15c25
movq (%r12), %rdx
leaq 0x3265f4(%rip), %rdi    # 0x33c220
leaq 0xf4b3b(%rip), %rsi     # 0x10a76e
jmp 0x15780
movq (%r12), %rdx
leaq 0x3265dd(%rip), %rdi    # 0x33c220
leaq 0xf4b31(%rip), %rsi     # 0x10a77b
jmp 0x15780
movq (%r12), %rdx
leaq 0x3265c6(%rip), %rdi    # 0x33c220
leaq 0xf4b5d(%rip), %rsi     # 0x10a7be
jmp 0x15780
movq (%r12), %rdx
leaq 0x3265af(%rip), %rdi    # 0x33c220
leaq 0xf4b1d(%rip), %rsi     # 0x10a795
movl %r14d, %ecx
jmp 0x15788
testb %sil, %sil
je 0x15caf
cmpl $0x47, %edx
je 0x15bea
cmpl $0x33, %edx
je 0x15bea
cmpl $0x47, %edx
sete %dl
cmpb $0x0, 0x202c60(%rip)    # 0x218904
setne %sil
orb %dl, %sil
jne 0x15cb8
jmp 0x15d06
cmpb $0x0, 0x202c4e(%rip)    # 0x218904
je 0x15d06
movapd -0x40(%rbp), %xmm1
divsd 0xf3373(%rip), %xmm1    # 0x109038
movsd 0xf3403(%rip), %xmm2    # 0x1090d0
movapd %xmm1, %xmm0
ucomisd %xmm1, %xmm2
jae 0x15d2e
movsd 0xf3401(%rip), %xmm1    # 0x1090e0
ucomisd %xmm0, %xmm1
jae 0x15d45
ucomisd 0xf33eb(%rip), %xmm0    # 0x1090d8
movq (%r12), %rdx
jae 0x15d32
leaq 0x326526(%rip), %rdi    # 0x33c220
leaq 0xf4b01(%rip), %rsi     # 0x10a802
jmp 0x15c78
cmpl $0x41, %ecx
sete %dl
cmpq $0x1, %rax
sete %sil
cmpl $0x50, %ecx
sete %cl
testl $0x800009e4, %eax       # imm = 0x800009E4
jne 0x15cb8
orb %cl, %dl
andb %dl, %sil
je 0x15bea
jmp 0x15cb8
movq (%r12), %rdx
leaq 0x3264e7(%rip), %rdi    # 0x33c220
leaq 0xf4aa8(%rip), %rsi     # 0x10a7e8
jmp 0x15c78
movq (%r12), %rdx
leaq 0x3264d0(%rip), %rdi    # 0x33c220
leaq 0xf4a9e(%rip), %rsi     # 0x10a7f5
jmp 0x15c78