// File: DavidLBruce[P]sim3dof/build/../src/Guidance.cpp
// Function: Guidance::Output(bool, _IO_FILE*)
void Guidance::Output( bool printHeader,
                       FILE *pOutFile )
{
  simTime = GetSimTime();

  if ( printHeader )
  {
    fprintf( pOutFile, "%20s", "gdn.aCmdYb" );
    fprintf( pOutFile, "%20s", "gdn.losr" );
    fprintf( pOutFile, "%20s", "gdn.rDot" );
    fprintf( pOutFile, "%20s", "gdn.relPxf" );
    fprintf( pOutFile, "%20s", "gdn.relPyf" );
    fprintf( pOutFile, "%20s", "gdn.relVxf" );
    fprintf( pOutFile, "%20s", "gdn.relVyf" );
    fprintf( pOutFile, "%20s", "gdn.rng" );
  }
  else
  {
    fprintf(pOutFile, "%20.6e", aCmdYb );
    fprintf(pOutFile, "%20.6e", estLosr );
    fprintf(pOutFile, "%20.6e", estRdot );
    fprintf(pOutFile, "%20.6e", relPxf );
    fprintf(pOutFile, "%20.6e", relPyf );
    fprintf(pOutFile, "%20.6e", relVxf );
    fprintf(pOutFile, "%20.6e", relVyf );
    fprintf(pOutFile, "%20.6e", estRng );

  } // end if ( printHeader ) else
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x3c40
movq -0x20(%rbp), %rax
movsd %xmm0, 0x198(%rax)
testb $0x1, -0x9(%rbp)
je 0xc138
movq -0x18(%rbp), %rdi
leaq 0x17fb2(%rip), %rsi     # 0x24028
leaq 0x184f2(%rip), %rdx     # 0x2456f
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f99(%rip), %rsi     # 0x24028
leaq 0x184e4(%rip), %rdx     # 0x2457a
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f80(%rip), %rsi     # 0x24028
leaq 0x184d4(%rip), %rdx     # 0x24583
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f67(%rip), %rsi     # 0x24028
leaq 0x184c4(%rip), %rdx     # 0x2458c
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f4e(%rip), %rsi     # 0x24028
leaq 0x184b6(%rip), %rdx     # 0x24597
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f35(%rip), %rsi     # 0x24028
leaq 0x184a8(%rip), %rdx     # 0x245a2
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f1c(%rip), %rsi     # 0x24028
leaq 0x1849a(%rip), %rdx     # 0x245ad
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x17f03(%rip), %rsi     # 0x24028
leaq 0x1848c(%rip), %rdx     # 0x245b8
movb $0x0, %al
callq 0x3330
jmp 0xc228
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x120(%rax), %xmm0
leaq 0x17f03(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x148(%rax), %xmm0
leaq 0x17ee5(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x158(%rax), %xmm0
leaq 0x17ec7(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x178(%rax), %xmm0
leaq 0x17ea9(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x180(%rax), %xmm0
leaq 0x17e8b(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x188(%rax), %xmm0
leaq 0x17e6d(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x190(%rax), %xmm0
leaq 0x17e4f(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x150(%rax), %xmm0
leaq 0x17e31(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
addq $0x20, %rsp
popq %rbp
retq
nop