// File: /workspace/github_cpp_makefile_star2_O2/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 0xba6c4
movq %rdi, %rbx
leaq 0x14a7e5(%rip), %rax    # 0x204a20
cmpl $0x0, (%rax)
je 0xba25c
leaq 0x14a6b9(%rip), %rax    # 0x204900
movsd (%rax), %xmm0
leaq 0x5fec8(%rip), %rsi     # 0x11a11a
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a7c1(%rip), %rax    # 0x204a24
cmpl $0x0, (%rax)
je 0xba284
leaq 0x14a699(%rip), %rax    # 0x204908
movsd (%rax), %xmm0
leaq 0x5febb(%rip), %rsi     # 0x11a135
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a79d(%rip), %rax    # 0x204a28
cmpl $0x0, (%rax)
je 0xba2ac
leaq 0x14a679(%rip), %rax    # 0x204910
movsd (%rax), %xmm0
leaq 0x5feb2(%rip), %rsi     # 0x11a154
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a779(%rip), %rax    # 0x204a2c
cmpl $0x0, (%rax)
je 0xba2d4
leaq 0x14a659(%rip), %rax    # 0x204918
movsd (%rax), %xmm0
leaq 0x5fea5(%rip), %rsi     # 0x11a16f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a769(%rip), %rax    # 0x204a44
cmpl $0x0, (%rax)
je 0xba2fc
leaq 0x14a661(%rip), %rax    # 0x204948
movsd (%rax), %xmm0
leaq 0x5fe98(%rip), %rsi     # 0x11a18a
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a745(%rip), %rax    # 0x204a48
cmpl $0x0, (%rax)
je 0xba324
leaq 0x14a641(%rip), %rax    # 0x204950
movsd (%rax), %xmm0
leaq 0x5fe8d(%rip), %rsi     # 0x11a1a7
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a721(%rip), %rax    # 0x204a4c
cmpl $0x0, (%rax)
je 0xba34c
leaq 0x14a621(%rip), %rax    # 0x204958
movsd (%rax), %xmm0
leaq 0x5fe7e(%rip), %rsi     # 0x11a1c0
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a6e9(%rip), %rax    # 0x204a3c
cmpl $0x0, (%rax)
je 0xba374
leaq 0x14a5d9(%rip), %rax    # 0x204938
movsd (%rax), %xmm0
leaq 0x5fe73(%rip), %rsi     # 0x11a1dd
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a6c5(%rip), %rax    # 0x204a40
cmpl $0x0, (%rax)
je 0xba39c
leaq 0x14a5b9(%rip), %rax    # 0x204940
movsd (%rax), %xmm0
leaq 0x5fe68(%rip), %rsi     # 0x11a1fa
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a68d(%rip), %r14    # 0x204a30
movl (%r14), %eax
testb $0x1, %al
je 0xba3c9
leaq 0x14a56f(%rip), %rax    # 0x204920
movsd (%rax), %xmm0
leaq 0x5fe5b(%rip), %rsi     # 0x11a217
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xba3e9
leaq 0x14a554(%rip), %rax    # 0x204928
movsd (%rax), %xmm0
leaq 0x5fe59(%rip), %rsi     # 0x11a238
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a660(%rip), %r14    # 0x204a50
movl (%r14), %eax
testb $0x1, %al
je 0xba416
leaq 0x14a562(%rip), %rax    # 0x204960
movsd (%rax), %xmm0
leaq 0x5fe50(%rip), %rsi     # 0x11a259
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xba439
leaq 0x14a547(%rip), %rax    # 0x204968
movsd (%rax), %xmm0
leaq 0x5fe46(%rip), %rsi     # 0x11a272
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x4, %al
je 0xba45c
leaq 0x14a52c(%rip), %rax    # 0x204970
movsd (%rax), %xmm0
leaq 0x5fe3c(%rip), %rsi     # 0x11a28b
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x8, %al
je 0xba47c
leaq 0x14a511(%rip), %rax    # 0x204978
movsd (%rax), %xmm0
leaq 0x5fe36(%rip), %rsi     # 0x11a2a8
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a5d1(%rip), %r14    # 0x204a54
movl (%r14), %eax
testb $0x1, %al
je 0xba4a9
leaq 0x14a4ef(%rip), %rax    # 0x204980
movsd (%rax), %xmm0
leaq 0x5fe23(%rip), %rsi     # 0x11a2bf
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x2, %al
je 0xba4cc
leaq 0x14a4d4(%rip), %rax    # 0x204988
movsd (%rax), %xmm0
leaq 0x5fe1d(%rip), %rsi     # 0x11a2dc
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
movl (%r14), %eax
testb $0x4, %al
je 0xba4ec
leaq 0x14a4b9(%rip), %rax    # 0x204990
movsd (%rax), %xmm0
leaq 0x5fe17(%rip), %rsi     # 0x11a2f9
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a565(%rip), %rax    # 0x204a58
cmpl $0x0, (%rax)
je 0xba514
leaq 0x14a4a1(%rip), %rax    # 0x2049a0
movsd (%rax), %xmm0
leaq 0x5fe0c(%rip), %rsi     # 0x11a316
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a541(%rip), %rax    # 0x204a5c
cmpl $0x0, (%rax)
je 0xba53c
leaq 0x14a481(%rip), %rax    # 0x2049a8
movsd (%rax), %xmm0
leaq 0x5fe03(%rip), %rsi     # 0x11a335
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a51d(%rip), %rax    # 0x204a60
cmpl $0x0, (%rax)
je 0xba564
leaq 0x14a461(%rip), %rax    # 0x2049b0
movsd (%rax), %xmm0
leaq 0x5fdfa(%rip), %rsi     # 0x11a354
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a4fd(%rip), %rax    # 0x204a68
cmpl $0x0, (%rax)
je 0xba58c
leaq 0x14a441(%rip), %rax    # 0x2049b8
movsd (%rax), %xmm0
leaq 0x5fded(%rip), %rsi     # 0x11a36f
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a4a5(%rip), %rax    # 0x204a38
cmpl $0x0, (%rax)
je 0xba5b3
leaq 0x14a451(%rip), %rax    # 0x2049f0
movq (%rax), %rdx
leaq 0x5fde1(%rip), %rsi     # 0x11a38a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a4be(%rip), %rax    # 0x204a78
cmpl $0x0, (%rax)
je 0xba5d9
leaq 0x14a402(%rip), %rax    # 0x2049c8
movl (%rax), %edx
leaq 0x5fdda(%rip), %rsi     # 0x11a3a9
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a49c(%rip), %rax    # 0x204a7c
cmpl $0x0, (%rax)
je 0xba601
leaq 0x14a3d4(%rip), %rax    # 0x2049c0
movsd (%rax), %xmm0
leaq 0x5fdd3(%rip), %rsi     # 0x11a3ca
movq %rbx, %rdi
movb $0x1, %al
callq 0x9560
leaq 0x14a414(%rip), %rax    # 0x204a1c
cmpl $0x0, (%rax)
je 0xba627
leaq 0x14a3bc(%rip), %rax    # 0x2049d0
movl (%rax), %edx
leaq 0x5fdce(%rip), %rsi     # 0x11a3eb
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a436(%rip), %rax    # 0x204a64
cmpl $0x0, (%rax)
je 0xba64e
leaq 0x14a3be(%rip), %rax    # 0x2049f8
movq (%rax), %rdx
leaq 0x5fdc2(%rip), %rsi     # 0x11a406
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a41f(%rip), %rax    # 0x204a74
cmpl $0x0, (%rax)
je 0xba674
leaq 0x14a377(%rip), %rax    # 0x2049d8
movl (%rax), %edx
leaq 0x5fdb7(%rip), %rsi     # 0x11a421
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a3f1(%rip), %rax    # 0x204a6c
cmpl $0x0, (%rax)
je 0xba69a
leaq 0x14a34d(%rip), %rax    # 0x2049d4
movl (%rax), %edx
leaq 0x5fdac(%rip), %rsi     # 0x11a43c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9560
leaq 0x14a3cf(%rip), %rax    # 0x204a70
cmpl $0x0, (%rax)
je 0xba6c4
leaq 0x14a32f(%rip), %rax    # 0x2049dc
movl (%rax), %edx
leaq 0x5fda7(%rip), %rsi     # 0x11a45d
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x9560
popq %rbx
popq %r14
popq %rbp
retq