// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0xcb56b
movq %rdi, %rbx
leaq 0x14f935(%rip), %rax    # 0x21aa20
cmpl $0x0, (%rax)
je 0xcb10c
leaq 0x14f809(%rip), %rax    # 0x21a900
movsd (%rax), %xmm0
leaq 0x65008(%rip), %rsi     # 0x13010a
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f911(%rip), %rax    # 0x21aa24
cmpl $0x0, (%rax)
je 0xcb134
leaq 0x14f7e9(%rip), %rax    # 0x21a908
movsd (%rax), %xmm0
leaq 0x64ffb(%rip), %rsi     # 0x130125
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f8ed(%rip), %rax    # 0x21aa28
cmpl $0x0, (%rax)
je 0xcb15c
leaq 0x14f7c9(%rip), %rax    # 0x21a910
movsd (%rax), %xmm0
leaq 0x64ff2(%rip), %rsi     # 0x130144
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f8c9(%rip), %rax    # 0x21aa2c
cmpl $0x0, (%rax)
je 0xcb184
leaq 0x14f7a9(%rip), %rax    # 0x21a918
movsd (%rax), %xmm0
leaq 0x64fe5(%rip), %rsi     # 0x13015f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f8b9(%rip), %rax    # 0x21aa44
cmpl $0x0, (%rax)
je 0xcb1ac
leaq 0x14f7b1(%rip), %rax    # 0x21a948
movsd (%rax), %xmm0
leaq 0x64fd8(%rip), %rsi     # 0x13017a
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f895(%rip), %rax    # 0x21aa48
cmpl $0x0, (%rax)
je 0xcb1d4
leaq 0x14f791(%rip), %rax    # 0x21a950
movsd (%rax), %xmm0
leaq 0x64fcd(%rip), %rsi     # 0x130197
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f871(%rip), %rax    # 0x21aa4c
cmpl $0x0, (%rax)
je 0xcb1fc
leaq 0x14f771(%rip), %rax    # 0x21a958
movsd (%rax), %xmm0
leaq 0x64fbe(%rip), %rsi     # 0x1301b0
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f839(%rip), %rax    # 0x21aa3c
cmpl $0x0, (%rax)
je 0xcb224
leaq 0x14f729(%rip), %rax    # 0x21a938
movsd (%rax), %xmm0
leaq 0x64fb3(%rip), %rsi     # 0x1301cd
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f815(%rip), %rax    # 0x21aa40
cmpl $0x0, (%rax)
je 0xcb24c
leaq 0x14f709(%rip), %rax    # 0x21a940
movsd (%rax), %xmm0
leaq 0x64fa8(%rip), %rsi     # 0x1301ea
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f7dd(%rip), %r14    # 0x21aa30
testb $0x1, (%r14)
je 0xcb275
leaq 0x14f6c0(%rip), %rax    # 0x21a920
movsd (%rax), %xmm0
leaq 0x64f9c(%rip), %rsi     # 0x130207
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x2, (%r14)
je 0xcb297
leaq 0x14f6a6(%rip), %rax    # 0x21a928
movsd (%rax), %xmm0
leaq 0x64f9b(%rip), %rsi     # 0x130228
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f7b2(%rip), %r14    # 0x21aa50
testb $0x1, (%r14)
je 0xcb2c0
leaq 0x14f6b5(%rip), %rax    # 0x21a960
movsd (%rax), %xmm0
leaq 0x64f93(%rip), %rsi     # 0x130249
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x2, (%r14)
je 0xcb2e2
leaq 0x14f69b(%rip), %rax    # 0x21a968
movsd (%rax), %xmm0
leaq 0x64f8a(%rip), %rsi     # 0x130262
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x4, (%r14)
je 0xcb304
leaq 0x14f681(%rip), %rax    # 0x21a970
movsd (%rax), %xmm0
leaq 0x64f81(%rip), %rsi     # 0x13027b
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x8, (%r14)
je 0xcb326
leaq 0x14f667(%rip), %rax    # 0x21a978
movsd (%rax), %xmm0
leaq 0x64f7c(%rip), %rsi     # 0x130298
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f727(%rip), %r14    # 0x21aa54
testb $0x1, (%r14)
je 0xcb34f
leaq 0x14f646(%rip), %rax    # 0x21a980
movsd (%rax), %xmm0
leaq 0x64f6a(%rip), %rsi     # 0x1302af
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x2, (%r14)
je 0xcb371
leaq 0x14f62c(%rip), %rax    # 0x21a988
movsd (%rax), %xmm0
leaq 0x64f65(%rip), %rsi     # 0x1302cc
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
testb $0x4, (%r14)
je 0xcb393
leaq 0x14f612(%rip), %rax    # 0x21a990
movsd (%rax), %xmm0
leaq 0x64f60(%rip), %rsi     # 0x1302e9
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f6be(%rip), %rax    # 0x21aa58
cmpl $0x0, (%rax)
je 0xcb3bb
leaq 0x14f5fa(%rip), %rax    # 0x21a9a0
movsd (%rax), %xmm0
leaq 0x64f55(%rip), %rsi     # 0x130306
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f69a(%rip), %rax    # 0x21aa5c
cmpl $0x0, (%rax)
je 0xcb3e3
leaq 0x14f5da(%rip), %rax    # 0x21a9a8
movsd (%rax), %xmm0
leaq 0x64f4c(%rip), %rsi     # 0x130325
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f676(%rip), %rax    # 0x21aa60
cmpl $0x0, (%rax)
je 0xcb40b
leaq 0x14f5ba(%rip), %rax    # 0x21a9b0
movsd (%rax), %xmm0
leaq 0x64f43(%rip), %rsi     # 0x130344
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f656(%rip), %rax    # 0x21aa68
cmpl $0x0, (%rax)
je 0xcb433
leaq 0x14f59a(%rip), %rax    # 0x21a9b8
movsd (%rax), %xmm0
leaq 0x64f36(%rip), %rsi     # 0x13035f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f5fe(%rip), %rax    # 0x21aa38
cmpl $0x0, (%rax)
je 0xcb45a
leaq 0x14f5aa(%rip), %rax    # 0x21a9f0
movq (%rax), %rdx
leaq 0x64f2a(%rip), %rsi     # 0x13037a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f617(%rip), %rax    # 0x21aa78
cmpl $0x0, (%rax)
je 0xcb480
leaq 0x14f55b(%rip), %rax    # 0x21a9c8
movl (%rax), %edx
leaq 0x64f23(%rip), %rsi     # 0x130399
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f5f5(%rip), %rax    # 0x21aa7c
cmpl $0x0, (%rax)
je 0xcb4a8
leaq 0x14f52d(%rip), %rax    # 0x21a9c0
movsd (%rax), %xmm0
leaq 0x64f1c(%rip), %rsi     # 0x1303ba
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f56d(%rip), %rax    # 0x21aa1c
cmpl $0x0, (%rax)
je 0xcb4ce
leaq 0x14f515(%rip), %rax    # 0x21a9d0
movl (%rax), %edx
leaq 0x64f17(%rip), %rsi     # 0x1303db
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f58f(%rip), %rax    # 0x21aa64
cmpl $0x0, (%rax)
je 0xcb4f5
leaq 0x14f517(%rip), %rax    # 0x21a9f8
movq (%rax), %rdx
leaq 0x64f0b(%rip), %rsi     # 0x1303f6
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f578(%rip), %rax    # 0x21aa74
cmpl $0x0, (%rax)
je 0xcb51b
leaq 0x14f4d0(%rip), %rax    # 0x21a9d8
movl (%rax), %edx
leaq 0x64f00(%rip), %rsi     # 0x130411
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f54a(%rip), %rax    # 0x21aa6c
cmpl $0x0, (%rax)
je 0xcb541
leaq 0x14f4a6(%rip), %rax    # 0x21a9d4
movl (%rax), %edx
leaq 0x64ef5(%rip), %rsi     # 0x13042c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14f528(%rip), %rax    # 0x21aa70
cmpl $0x0, (%rax)
je 0xcb56b
leaq 0x14f488(%rip), %rax    # 0x21a9dc
movl (%rax), %edx
leaq 0x64ef0(%rip), %rsi     # 0x13044d
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x9560
popq %rbx
popq %r14
popq %rbp
retq