// File: jkingan[P]ladyheather/heathmsc.cpp
// Function: log_cs_xml(_IO_FILE*)
void log_cs_xml(FILE *file)
{
   if(file == 0) return;

   if(have_cs_beam)    fprintf(file, "        <beam> %g </beam>\n", cs_beam);
   if(have_cs_cfield)  fprintf(file, "        <cfield> %g </cfield>\n", cs_cfield);
   if(have_cs_pump)    fprintf(file, "        <pump> %g </pump>\n", cs_pump);
   if(have_cs_gain)    fprintf(file, "        <gain> %g </gain>\n", cs_gain);
   if(have_cs_emul)    fprintf(file, "        <emult> %g </emult>\n", cs_emul);
   if(have_cs_hwi)     fprintf(file, "        <hwi> %g </hwi>\n", cs_hwi);
   if(have_cs_msp)     fprintf(file, "        <mspec> %g </mspec>\n", cs_msp);
   if(have_cs_coven)   fprintf(file, "        <coven> %g </coven>\n", cs_coven);
   if(have_cs_qoven)   fprintf(file, "        <qoven> %g </qoven>\n", cs_qoven);

   if(have_cs_rfam & 0x01)    fprintf(file, "        <rfampl1> %g </rfampl1>\n", cs_rfam1);
   if(have_cs_rfam & 0x02)    fprintf(file, "        <rfampl2> %g </rfampl2>\n", cs_rfam2);

   if(have_cs_pll & 0x01)     fprintf(file, "        <dro> %g </dro>\n", cs_pll_dro);
   if(have_cs_pll & 0x02)     fprintf(file, "        <saw> %g </saw>\n", cs_pll_saw);
   if(have_cs_pll & 0x04)     fprintf(file, "        <87mhz> %g </87mhz>\n", cs_pll_87);
   if(have_cs_pll & 0x08)     fprintf(file, "        <up> %g </up>\n", cs_pll_up);

   if(have_cs_volt & 0x01)    fprintf(file, "        <volt1> %g </volt1>\n", cs_volt1);
   if(have_cs_volt & 0x02)    fprintf(file, "        <volt2> %g </volt2>\n", cs_volt2);
   if(have_cs_volt & 0x04)    fprintf(file, "        <volt3> %g </volt3>\n", cs_volt3);

   if(have_cs_freq1)   fprintf(file, "        <freq1> %.1f </freq1>\n", cs_freq1);
   if(have_cs_freq2)   fprintf(file, "        <freq2> %.1f </freq2>\n", cs_freq2);
   if(have_cs_ster)    fprintf(file, "        <ster> %g </ster>\n", cs_ster);
   if(have_cs_slew)    fprintf(file, "        <slew> %g </slew>\n", cs_slew);

   if(have_cs_supply)  fprintf(file, "        <supply> %s </supply>\n", cs_supply);

   if(have_cs_leapdur) fprintf(file, "        <leapdur> %d </leapdur>\n", cs_leapdur);
   if(have_cs_leapmjd) fprintf(file, "        <leapmjd> %g </leapmjd>\n", cs_leapmjd);

   if(have_cs_cont)    fprintf(file, "        <cont> %d </cont>\n", cs_cont);
   if(have_cs_sync)    fprintf(file, "        <sync> %s </sync>\n", cs_sync);
   if(have_cs_disp)    fprintf(file, "        <disp> %d </disp>\n", cs_disp);
   if(have_cs_standby) fprintf(file, "        <standby> %d </standby>\n", cs_standby);
   if(have_cs_remote)  fprintf(file, "        <remote> %d </remote>\n", cs_remote);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x116528
jmp 0x116a17
leaq 0x1636d1(%rip), %rax    # 0x279c00
cmpl $0x0, (%rax)
je 0x116551
movq -0x8(%rbp), %rdi
leaq 0x1635a1(%rip), %rax    # 0x279ae0
movsd (%rax), %xmm0
leaq 0x7c7ac(%rip), %rsi     # 0x192cf6
movb $0x1, %al
callq 0x9550
leaq 0x1636ac(%rip), %rax    # 0x279c04
cmpl $0x0, (%rax)
je 0x11657a
movq -0x8(%rbp), %rdi
leaq 0x163580(%rip), %rax    # 0x279ae8
movsd (%rax), %xmm0
leaq 0x7c79e(%rip), %rsi     # 0x192d11
movb $0x1, %al
callq 0x9550
leaq 0x163687(%rip), %rax    # 0x279c08
cmpl $0x0, (%rax)
je 0x1165a3
movq -0x8(%rbp), %rdi
leaq 0x16355f(%rip), %rax    # 0x279af0
movsd (%rax), %xmm0
leaq 0x7c794(%rip), %rsi     # 0x192d30
movb $0x1, %al
callq 0x9550
leaq 0x163662(%rip), %rax    # 0x279c0c
cmpl $0x0, (%rax)
je 0x1165cc
movq -0x8(%rbp), %rdi
leaq 0x16353e(%rip), %rax    # 0x279af8
movsd (%rax), %xmm0
leaq 0x7c786(%rip), %rsi     # 0x192d4b
movb $0x1, %al
callq 0x9550
leaq 0x163651(%rip), %rax    # 0x279c24
cmpl $0x0, (%rax)
je 0x1165f5
movq -0x8(%rbp), %rdi
leaq 0x163545(%rip), %rax    # 0x279b28
movsd (%rax), %xmm0
leaq 0x7c778(%rip), %rsi     # 0x192d66
movb $0x1, %al
callq 0x9550
leaq 0x16362c(%rip), %rax    # 0x279c28
cmpl $0x0, (%rax)
je 0x11661e
movq -0x8(%rbp), %rdi
leaq 0x163524(%rip), %rax    # 0x279b30
movsd (%rax), %xmm0
leaq 0x7c76c(%rip), %rsi     # 0x192d83
movb $0x1, %al
callq 0x9550
leaq 0x163607(%rip), %rax    # 0x279c2c
cmpl $0x0, (%rax)
je 0x116647
movq -0x8(%rbp), %rdi
leaq 0x163503(%rip), %rax    # 0x279b38
movsd (%rax), %xmm0
leaq 0x7c75c(%rip), %rsi     # 0x192d9c
movb $0x1, %al
callq 0x9550
leaq 0x1635ce(%rip), %rax    # 0x279c1c
cmpl $0x0, (%rax)
je 0x116670
movq -0x8(%rbp), %rdi
leaq 0x1634ba(%rip), %rax    # 0x279b18
movsd (%rax), %xmm0
leaq 0x7c750(%rip), %rsi     # 0x192db9
movb $0x1, %al
callq 0x9550
leaq 0x1635a9(%rip), %rax    # 0x279c20
cmpl $0x0, (%rax)
je 0x116699
movq -0x8(%rbp), %rdi
leaq 0x163499(%rip), %rax    # 0x279b20
movsd (%rax), %xmm0
leaq 0x7c744(%rip), %rsi     # 0x192dd6
movb $0x1, %al
callq 0x9550
leaq 0x163570(%rip), %rax    # 0x279c10
movl (%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x1166c7
movq -0x8(%rbp), %rdi
leaq 0x16344b(%rip), %rax    # 0x279b00
movsd (%rax), %xmm0
leaq 0x7c733(%rip), %rsi     # 0x192df3
movb $0x1, %al
callq 0x9550
leaq 0x163542(%rip), %rax    # 0x279c10
movl (%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x1166f5
movq -0x8(%rbp), %rdi
leaq 0x163425(%rip), %rax    # 0x279b08
movsd (%rax), %xmm0
leaq 0x7c726(%rip), %rsi     # 0x192e14
movb $0x1, %al
callq 0x9550
leaq 0x163534(%rip), %rax    # 0x279c30
movl (%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x116723
movq -0x8(%rbp), %rdi
leaq 0x16342f(%rip), %rax    # 0x279b40
movsd (%rax), %xmm0
leaq 0x7c719(%rip), %rsi     # 0x192e35
movb $0x1, %al
callq 0x9550
leaq 0x163506(%rip), %rax    # 0x279c30
movl (%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x116751
movq -0x8(%rbp), %rdi
leaq 0x163409(%rip), %rax    # 0x279b48
movsd (%rax), %xmm0
leaq 0x7c704(%rip), %rsi     # 0x192e4e
movb $0x1, %al
callq 0x9550
leaq 0x1634d8(%rip), %rax    # 0x279c30
movl (%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x11677f
movq -0x8(%rbp), %rdi
leaq 0x1633e3(%rip), %rax    # 0x279b50
movsd (%rax), %xmm0
leaq 0x7c6ef(%rip), %rsi     # 0x192e67
movb $0x1, %al
callq 0x9550
leaq 0x1634aa(%rip), %rax    # 0x279c30
movl (%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x1167ad
movq -0x8(%rbp), %rdi
leaq 0x1633bd(%rip), %rax    # 0x279b58
movsd (%rax), %xmm0
leaq 0x7c6de(%rip), %rsi     # 0x192e84
movb $0x1, %al
callq 0x9550
leaq 0x163480(%rip), %rax    # 0x279c34
movl (%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x1167db
movq -0x8(%rbp), %rdi
leaq 0x163397(%rip), %rax    # 0x279b60
movsd (%rax), %xmm0
leaq 0x7c6c7(%rip), %rsi     # 0x192e9b
movb $0x1, %al
callq 0x9550
leaq 0x163452(%rip), %rax    # 0x279c34
movl (%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x116809
movq -0x8(%rbp), %rdi
leaq 0x163371(%rip), %rax    # 0x279b68
movsd (%rax), %xmm0
leaq 0x7c6b6(%rip), %rsi     # 0x192eb8
movb $0x1, %al
callq 0x9550
leaq 0x163424(%rip), %rax    # 0x279c34
movl (%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x116837
movq -0x8(%rbp), %rdi
leaq 0x16334b(%rip), %rax    # 0x279b70
movsd (%rax), %xmm0
leaq 0x7c6a5(%rip), %rsi     # 0x192ed5
movb $0x1, %al
callq 0x9550
leaq 0x1633fa(%rip), %rax    # 0x279c38
cmpl $0x0, (%rax)
je 0x116860
movq -0x8(%rbp), %rdi
leaq 0x163332(%rip), %rax    # 0x279b80
movsd (%rax), %xmm0
leaq 0x7c699(%rip), %rsi     # 0x192ef2
movb $0x1, %al
callq 0x9550
leaq 0x1633d5(%rip), %rax    # 0x279c3c
cmpl $0x0, (%rax)
je 0x116889
movq -0x8(%rbp), %rdi
leaq 0x163311(%rip), %rax    # 0x279b88
movsd (%rax), %xmm0
leaq 0x7c68f(%rip), %rsi     # 0x192f11
movb $0x1, %al
callq 0x9550
leaq 0x1633b0(%rip), %rax    # 0x279c40
cmpl $0x0, (%rax)
je 0x1168b2
movq -0x8(%rbp), %rdi
leaq 0x1632f0(%rip), %rax    # 0x279b90
movsd (%rax), %xmm0
leaq 0x7c685(%rip), %rsi     # 0x192f30
movb $0x1, %al
callq 0x9550
leaq 0x16338f(%rip), %rax    # 0x279c48
cmpl $0x0, (%rax)
je 0x1168db
movq -0x8(%rbp), %rdi
leaq 0x1632cf(%rip), %rax    # 0x279b98
movsd (%rax), %xmm0
leaq 0x7c677(%rip), %rsi     # 0x192f4b
movb $0x1, %al
callq 0x9550
leaq 0x163336(%rip), %rax    # 0x279c18
cmpl $0x0, (%rax)
je 0x116903
movq -0x8(%rbp), %rdi
leaq 0x1632de(%rip), %rax    # 0x279bd0
movq (%rax), %rdx
leaq 0x7c66a(%rip), %rsi     # 0x192f66
movb $0x0, %al
callq 0x9550
leaq 0x16334e(%rip), %rax    # 0x279c58
cmpl $0x0, (%rax)
je 0x11692a
movq -0x8(%rbp), %rdi
leaq 0x16328e(%rip), %rax    # 0x279ba8
movl (%rax), %edx
leaq 0x7c662(%rip), %rsi     # 0x192f85
movb $0x0, %al
callq 0x9550
leaq 0x16332b(%rip), %rax    # 0x279c5c
cmpl $0x0, (%rax)
je 0x116953
movq -0x8(%rbp), %rdi
leaq 0x16325f(%rip), %rax    # 0x279ba0
movsd (%rax), %xmm0
leaq 0x7c65a(%rip), %rsi     # 0x192fa6
movb $0x1, %al
callq 0x9550
leaq 0x1632a2(%rip), %rax    # 0x279bfc
cmpl $0x0, (%rax)
je 0x11697a
movq -0x8(%rbp), %rdi
leaq 0x163246(%rip), %rax    # 0x279bb0
movl (%rax), %edx
leaq 0x7c654(%rip), %rsi     # 0x192fc7
movb $0x0, %al
callq 0x9550
leaq 0x1632c3(%rip), %rax    # 0x279c44
cmpl $0x0, (%rax)
je 0x1169a2
movq -0x8(%rbp), %rdi
leaq 0x163247(%rip), %rax    # 0x279bd8
movq (%rax), %rdx
leaq 0x7c647(%rip), %rsi     # 0x192fe2
movb $0x0, %al
callq 0x9550
leaq 0x1632ab(%rip), %rax    # 0x279c54
cmpl $0x0, (%rax)
je 0x1169c9
movq -0x8(%rbp), %rdi
leaq 0x1631ff(%rip), %rax    # 0x279bb8
movl (%rax), %edx
leaq 0x7c63b(%rip), %rsi     # 0x192ffd
movb $0x0, %al
callq 0x9550
leaq 0x16327c(%rip), %rax    # 0x279c4c
cmpl $0x0, (%rax)
je 0x1169f0
movq -0x8(%rbp), %rdi
leaq 0x1631d4(%rip), %rax    # 0x279bb4
movl (%rax), %edx
leaq 0x7c62f(%rip), %rsi     # 0x193018
movb $0x0, %al
callq 0x9550
leaq 0x163259(%rip), %rax    # 0x279c50
cmpl $0x0, (%rax)
je 0x116a17
movq -0x8(%rbp), %rdi
leaq 0x1631b5(%rip), %rax    # 0x279bbc
movl (%rax), %edx
leaq 0x7c629(%rip), %rsi     # 0x193039
movb $0x0, %al
callq 0x9550
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)