// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathgps.cpp
// Function: show_chd_info()
void show_chd_info()
{
double val;
char c;
char *s;

   if(have_chd_offset == 0) return;

   c = ' ';
   s = "ns";

   val = (chd_tie); // TICC_RATE; 
   if(plot[EIGHT].show_freq) {
      s = "Hz";
      val = tie_to_freq(EIGHT, val);
   }

   if     (val >= 10000000000.0)   sprintf(out, "TIEd%c >10 seconds     ", c);
   else if(val >= 1000000000.0)    sprintf(out, "TIEd%c%11.0f %s   ", c, val,s);
   else if(val >= 100000000.0)     sprintf(out, "TIEd%c%11.1f %s   ", c, val,s);
   else if(val >= 10000000.0)      sprintf(out, "TIEd%c%11.2f %s   ", c, val,s);
   else if(val >= 1000000.0)       sprintf(out, "TIEd%c%11.3f %s   ", c, val,s);
   else if(val >= 100000.0)        sprintf(out, "TIEd%c%11.4f %s   ", c, val,s);
   else if(val >= 10000.0)         sprintf(out, "TIEd%c%11.5f %s   ", c, val,s);
   else if(val >= 0.0)             sprintf(out, "TIEd%c%11.6f %s   ", c, val,s);
   else if(val <= -100000000.0)    sprintf(out, "TIEd%c%11.0f %s   ", c, val,s);
   else if(val <= -10000000.0)     sprintf(out, "TIEd%c%11.1f %s   ", c, val,s);
   else if(val <= -1000000.0)      sprintf(out, "TIEd%c%11.2f %s   ", c, val,s);
   else if(val <= -100000.0)       sprintf(out, "TIEd%c%11.3f %s   ", c, val,s);
   else if(val <= -10000.0)        sprintf(out, "TIEd%c%11.4f %s   ", c, val,s);
   else if(val <= -1000.0)         sprintf(out, "TIEd%c%11.5f %s   ", c, val,s);
   else                            sprintf(out, "TIEd%c%11.6f %s   ", c, val,s);

   vidstr(VAL_ROW+4, VAL_COL, WHITE, out);
}

// Assembly:
leaq 0x24cd11(%rip), %rax    # 0x30d240
cmpl $0x0, (%rax)
je 0xc057b
leaq 0x17c725(%rip), %rax    # 0x23cc60
movsd (%rax), %xmm0
leaq 0x9d7ea(%rip), %rax     # 0x15dd30
cmpl $0x0, 0xac8(%rax)
je 0xc057c
leaq 0x24c42a(%rip), %rax    # 0x30c980
divsd 0x5e202(%rip), %xmm0    # 0x11e760
addsd 0x48b0a(%rip), %xmm0    # 0x109070
movsd (%rax), %xmm1
mulsd %xmm1, %xmm0
subsd %xmm1, %xmm0
leaq 0x55beb(%rip), %rcx     # 0x116164
jmp 0xc0583
retq
leaq 0x55033(%rip), %rcx     # 0x1155b6
pushq %rbp
movq %rsp, %rbp
ucomisd 0x5e3d9(%rip), %xmm0    # 0x11e968
jae 0xc0657
ucomisd 0x48a8b(%rip), %xmm0    # 0x109028
jae 0xc0673
ucomisd 0x5db75(%rip), %xmm0    # 0x11e120
jae 0xc0683
ucomisd 0x4b30f(%rip), %xmm0    # 0x10b8c8
jae 0xc0693
ucomisd 0x48a89(%rip), %xmm0    # 0x109050
jae 0xc06a3
ucomisd 0x48af3(%rip), %xmm0    # 0x1090c8
jae 0xc06b3
ucomisd 0x48af5(%rip), %xmm0    # 0x1090d8
jae 0xc06c3
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0xc0647
movsd 0x5e365(%rip), %xmm1    # 0x11e960
ucomisd %xmm0, %xmm1
jae 0xc0673
movsd 0x5e34f(%rip), %xmm1    # 0x11e958
ucomisd %xmm0, %xmm1
jae 0xc0683
movsd 0x5e171(%rip), %xmm1    # 0x11e788
ucomisd %xmm0, %xmm1
jae 0xc0693
movsd 0x5e16b(%rip), %xmm1    # 0x11e790
ucomisd %xmm0, %xmm1
jae 0xc06a3
movsd 0x48a9d(%rip), %xmm1    # 0x1090d0
ucomisd %xmm0, %xmm1
jae 0xc06b3
movsd 0x48a9f(%rip), %xmm1    # 0x1090e0
ucomisd %xmm0, %xmm1
jae 0xc06c3
leaq 0x27bbd2(%rip), %rdi    # 0x33c220
leaq 0x6a29d(%rip), %rsi     # 0x12a8f2
jmp 0xc06d1
leaq 0x27bbc2(%rip), %rdi    # 0x33c220
leaq 0x6a203(%rip), %rsi     # 0x12a868
movl $0x20, %edx
xorl %eax, %eax
callq 0x9060
jmp 0xc06dd
leaq 0x27bba6(%rip), %rdi    # 0x33c220
leaq 0x6a1ff(%rip), %rsi     # 0x12a880
jmp 0xc06d1
leaq 0x27bb96(%rip), %rdi    # 0x33c220
leaq 0x6a202(%rip), %rsi     # 0x12a893
jmp 0xc06d1
leaq 0x27bb86(%rip), %rdi    # 0x33c220
leaq 0x6a205(%rip), %rsi     # 0x12a8a6
jmp 0xc06d1
leaq 0x27bb76(%rip), %rdi    # 0x33c220
leaq 0x6a208(%rip), %rsi     # 0x12a8b9
jmp 0xc06d1
leaq 0x27bb66(%rip), %rdi    # 0x33c220
leaq 0x6a20b(%rip), %rsi     # 0x12a8cc
jmp 0xc06d1
leaq 0x27bb56(%rip), %rdi    # 0x33c220
leaq 0x6a20e(%rip), %rsi     # 0x12a8df
movl $0x20, %edx
movb $0x1, %al
callq 0x9060
leaq 0x27bb3c(%rip), %rcx    # 0x33c220
movl $0x4, %edi
movl $0xf, %esi
movl $0xf, %edx
popq %rbp
jmp 0xe7d0