// File: /workspace/github_cpp_makefile_star2_O2/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 0x2475c6(%rip), %rax    # 0x2f7240
cmpl $0x0, (%rax)
je 0xafcc6
leaq 0x176fda(%rip), %rax    # 0x226c60
movsd (%rax), %xmm0
leaq 0x9809f(%rip), %rax     # 0x147d30
cmpl $0x0, 0xac8(%rax)
je 0xafcc7
leaq 0x246cdf(%rip), %rax    # 0x2f6980
divsd 0x58adf(%rip), %xmm0    # 0x108788
addsd 0x433bf(%rip), %xmm0    # 0xf3070
movsd (%rax), %xmm1
mulsd %xmm1, %xmm0
subsd %xmm1, %xmm0
leaq 0x505b4(%rip), %rcx     # 0x100278
jmp 0xafcce
retq
leaq 0x4f9fc(%rip), %rcx     # 0xff6ca
pushq %rbp
movq %rsp, %rbp
ucomisd 0x58cb6(%rip), %xmm0    # 0x108990
jae 0xafda2
ucomisd 0x43340(%rip), %xmm0    # 0xf3028
jae 0xafdbc
ucomisd 0x5854a(%rip), %xmm0    # 0x108240
jae 0xafdcc
ucomisd 0x45c4c(%rip), %xmm0    # 0xf5950
jae 0xafddc
ucomisd 0x4333e(%rip), %xmm0    # 0xf3050
jae 0xafdec
ucomisd 0x433a8(%rip), %xmm0    # 0xf30c8
jae 0xafdfc
ucomisd 0x433aa(%rip), %xmm0    # 0xf30d8
jae 0xafe0c
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0xafd92
movsd 0x58c42(%rip), %xmm1    # 0x108988
ucomisd %xmm0, %xmm1
jae 0xafdbc
movsd 0x58c2c(%rip), %xmm1    # 0x108980
ucomisd %xmm0, %xmm1
jae 0xafdcc
movsd 0x58a4e(%rip), %xmm1    # 0x1087b0
ucomisd %xmm0, %xmm1
jae 0xafddc
movsd 0x58a48(%rip), %xmm1    # 0x1087b8
ucomisd %xmm0, %xmm1
jae 0xafdec
movsd 0x43352(%rip), %xmm1    # 0xf30d0
ucomisd %xmm0, %xmm1
jae 0xafdfc
movsd 0x43354(%rip), %xmm1    # 0xf30e0
ucomisd %xmm0, %xmm1
jae 0xafe0c
leaq 0x276487(%rip), %rdi    # 0x326220
leaq 0x64b62(%rip), %rsi     # 0x114902
jmp 0xafe1a
leaq 0x276477(%rip), %rdi    # 0x326220
leaq 0x64ac8(%rip), %rsi     # 0x114878
pushq $0x20
popq %rdx
xorl %eax, %eax
callq 0x9060
jmp 0xafe24
leaq 0x27645d(%rip), %rdi    # 0x326220
leaq 0x64ac6(%rip), %rsi     # 0x114890
jmp 0xafe1a
leaq 0x27644d(%rip), %rdi    # 0x326220
leaq 0x64ac9(%rip), %rsi     # 0x1148a3
jmp 0xafe1a
leaq 0x27643d(%rip), %rdi    # 0x326220
leaq 0x64acc(%rip), %rsi     # 0x1148b6
jmp 0xafe1a
leaq 0x27642d(%rip), %rdi    # 0x326220
leaq 0x64acf(%rip), %rsi     # 0x1148c9
jmp 0xafe1a
leaq 0x27641d(%rip), %rdi    # 0x326220
leaq 0x64ad2(%rip), %rsi     # 0x1148dc
jmp 0xafe1a
leaq 0x27640d(%rip), %rdi    # 0x326220
leaq 0x64ad5(%rip), %rsi     # 0x1148ef
pushq $0x20
popq %rdx
movb $0x1, %al
callq 0x9060
leaq 0x2763f5(%rip), %rcx    # 0x326220
pushq $0x4
popq %rdi
pushq $0xf
popq %rdx
movl %edx, %esi
popq %rbp
jmp 0xe2d2