// File: /workspace/github_cpp_makefile_star2_O3/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 0xcbbcf
movq %rdi, %rbx
leaq 0x14f2da(%rip), %rax    # 0x21aa20
cmpl $0x0, (%rax)
je 0xcb767
leaq 0x14f1ae(%rip), %rax    # 0x21a900
movsd (%rax), %xmm0
leaq 0x64a9d(%rip), %rsi     # 0x1301fa
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f2b6(%rip), %rax    # 0x21aa24
cmpl $0x0, (%rax)
je 0xcb78f
leaq 0x14f18e(%rip), %rax    # 0x21a908
movsd (%rax), %xmm0
leaq 0x64a90(%rip), %rsi     # 0x130215
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f292(%rip), %rax    # 0x21aa28
cmpl $0x0, (%rax)
je 0xcb7b7
leaq 0x14f16e(%rip), %rax    # 0x21a910
movsd (%rax), %xmm0
leaq 0x64a87(%rip), %rsi     # 0x130234
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f26e(%rip), %rax    # 0x21aa2c
cmpl $0x0, (%rax)
je 0xcb7df
leaq 0x14f14e(%rip), %rax    # 0x21a918
movsd (%rax), %xmm0
leaq 0x64a7a(%rip), %rsi     # 0x13024f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f25e(%rip), %rax    # 0x21aa44
cmpl $0x0, (%rax)
je 0xcb807
leaq 0x14f156(%rip), %rax    # 0x21a948
movsd (%rax), %xmm0
leaq 0x64a6d(%rip), %rsi     # 0x13026a
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f23a(%rip), %rax    # 0x21aa48
cmpl $0x0, (%rax)
je 0xcb82f
leaq 0x14f136(%rip), %rax    # 0x21a950
movsd (%rax), %xmm0
leaq 0x64a62(%rip), %rsi     # 0x130287
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f216(%rip), %rax    # 0x21aa4c
cmpl $0x0, (%rax)
je 0xcb857
leaq 0x14f116(%rip), %rax    # 0x21a958
movsd (%rax), %xmm0
leaq 0x64a53(%rip), %rsi     # 0x1302a0
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f1de(%rip), %rax    # 0x21aa3c
cmpl $0x0, (%rax)
je 0xcb87f
leaq 0x14f0ce(%rip), %rax    # 0x21a938
movsd (%rax), %xmm0
leaq 0x64a48(%rip), %rsi     # 0x1302bd
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f1ba(%rip), %rax    # 0x21aa40
cmpl $0x0, (%rax)
je 0xcb8a7
leaq 0x14f0ae(%rip), %rax    # 0x21a940
movsd (%rax), %xmm0
leaq 0x64a3d(%rip), %rsi     # 0x1302da
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f182(%rip), %r14    # 0x21aa30
movl (%r14), %eax
testb $0x1, %al
je 0xcb8d4
leaq 0x14f064(%rip), %rax    # 0x21a920
movsd (%rax), %xmm0
leaq 0x64a30(%rip), %rsi     # 0x1302f7
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xcb8f4
leaq 0x14f049(%rip), %rax    # 0x21a928
movsd (%rax), %xmm0
leaq 0x64a2e(%rip), %rsi     # 0x130318
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f155(%rip), %r14    # 0x21aa50
movl (%r14), %eax
testb $0x1, %al
je 0xcb921
leaq 0x14f057(%rip), %rax    # 0x21a960
movsd (%rax), %xmm0
leaq 0x64a25(%rip), %rsi     # 0x130339
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xcb944
leaq 0x14f03c(%rip), %rax    # 0x21a968
movsd (%rax), %xmm0
leaq 0x64a1b(%rip), %rsi     # 0x130352
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x4, %al
je 0xcb967
leaq 0x14f021(%rip), %rax    # 0x21a970
movsd (%rax), %xmm0
leaq 0x64a11(%rip), %rsi     # 0x13036b
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x8, %al
je 0xcb987
leaq 0x14f006(%rip), %rax    # 0x21a978
movsd (%rax), %xmm0
leaq 0x64a0b(%rip), %rsi     # 0x130388
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f0c6(%rip), %r14    # 0x21aa54
movl (%r14), %eax
testb $0x1, %al
je 0xcb9b4
leaq 0x14efe4(%rip), %rax    # 0x21a980
movsd (%rax), %xmm0
leaq 0x649f8(%rip), %rsi     # 0x13039f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xcb9d7
leaq 0x14efc9(%rip), %rax    # 0x21a988
movsd (%rax), %xmm0
leaq 0x649f2(%rip), %rsi     # 0x1303bc
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x4, %al
je 0xcb9f7
leaq 0x14efae(%rip), %rax    # 0x21a990
movsd (%rax), %xmm0
leaq 0x649ec(%rip), %rsi     # 0x1303d9
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f05a(%rip), %rax    # 0x21aa58
cmpl $0x0, (%rax)
je 0xcba1f
leaq 0x14ef96(%rip), %rax    # 0x21a9a0
movsd (%rax), %xmm0
leaq 0x649e1(%rip), %rsi     # 0x1303f6
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f036(%rip), %rax    # 0x21aa5c
cmpl $0x0, (%rax)
je 0xcba47
leaq 0x14ef76(%rip), %rax    # 0x21a9a8
movsd (%rax), %xmm0
leaq 0x649d8(%rip), %rsi     # 0x130415
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14f012(%rip), %rax    # 0x21aa60
cmpl $0x0, (%rax)
je 0xcba6f
leaq 0x14ef56(%rip), %rax    # 0x21a9b0
movsd (%rax), %xmm0
leaq 0x649cf(%rip), %rsi     # 0x130434
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14eff2(%rip), %rax    # 0x21aa68
cmpl $0x0, (%rax)
je 0xcba97
leaq 0x14ef36(%rip), %rax    # 0x21a9b8
movsd (%rax), %xmm0
leaq 0x649c2(%rip), %rsi     # 0x13044f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14ef9a(%rip), %rax    # 0x21aa38
cmpl $0x0, (%rax)
je 0xcbabe
leaq 0x14ef46(%rip), %rax    # 0x21a9f0
movq (%rax), %rdx
leaq 0x649b6(%rip), %rsi     # 0x13046a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14efb3(%rip), %rax    # 0x21aa78
cmpl $0x0, (%rax)
je 0xcbae4
leaq 0x14eef7(%rip), %rax    # 0x21a9c8
movl (%rax), %edx
leaq 0x649af(%rip), %rsi     # 0x130489
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14ef91(%rip), %rax    # 0x21aa7c
cmpl $0x0, (%rax)
je 0xcbb0c
leaq 0x14eec9(%rip), %rax    # 0x21a9c0
movsd (%rax), %xmm0
leaq 0x649a8(%rip), %rsi     # 0x1304aa
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14ef09(%rip), %rax    # 0x21aa1c
cmpl $0x0, (%rax)
je 0xcbb32
leaq 0x14eeb1(%rip), %rax    # 0x21a9d0
movl (%rax), %edx
leaq 0x649a3(%rip), %rsi     # 0x1304cb
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14ef2b(%rip), %rax    # 0x21aa64
cmpl $0x0, (%rax)
je 0xcbb59
leaq 0x14eeb3(%rip), %rax    # 0x21a9f8
movq (%rax), %rdx
leaq 0x64997(%rip), %rsi     # 0x1304e6
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14ef14(%rip), %rax    # 0x21aa74
cmpl $0x0, (%rax)
je 0xcbb7f
leaq 0x14ee6c(%rip), %rax    # 0x21a9d8
movl (%rax), %edx
leaq 0x6498c(%rip), %rsi     # 0x130501
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14eee6(%rip), %rax    # 0x21aa6c
cmpl $0x0, (%rax)
je 0xcbba5
leaq 0x14ee42(%rip), %rax    # 0x21a9d4
movl (%rax), %edx
leaq 0x64981(%rip), %rsi     # 0x13051c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14eec4(%rip), %rax    # 0x21aa70
cmpl $0x0, (%rax)
je 0xcbbcf
leaq 0x14ee24(%rip), %rax    # 0x21a9dc
movl (%rax), %edx
leaq 0x6497c(%rip), %rsi     # 0x13053d
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x9560
popq %rbx
popq %r14
popq %rbp
retq