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

  if ( printHeader )
  {
    fprintf( pOutFile, "%20s", "msl.axb" );
    fprintf( pOutFile, "%20s", "msl.axf" );
    fprintf( pOutFile, "%20s", "msl.ayb" );
    fprintf( pOutFile, "%20s", "msl.ayf" );
    fprintf( pOutFile, "%20s", "msl.launchTime" );
    fprintf( pOutFile, "%20s", "msl.pxf" );
    fprintf( pOutFile, "%20s", "msl.pyf" );
    fprintf( pOutFile, "%20s", "msl.theta" );
    fprintf( pOutFile, "%20s", "msl.vxb" );
    fprintf( pOutFile, "%20s", "msl.vxf" );
    fprintf( pOutFile, "%20s", "msl.vyb" );
    fprintf( pOutFile, "%20s", "msl.vyf" );
  }
  else
  {
    fprintf(pOutFile, "%20.6e", axb);
    fprintf(pOutFile, "%20.6e", axf);
    fprintf(pOutFile, "%20.6e", ayb);
    fprintf(pOutFile, "%20.6e", ayf);
    fprintf(pOutFile, "%20.6e", launchTime);
    fprintf(pOutFile, "%20.6e", pxf);
    fprintf(pOutFile, "%20.6e", pyf);
    fprintf(pOutFile, "%20.6e", theta);
    fprintf(pOutFile, "%20.6e", vxb);
    fprintf(pOutFile, "%20.6e", vxf);
    fprintf(pOutFile, "%20.6e", vyb);
    fprintf(pOutFile, "%20.6e", vyf);

  } // 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, 0x170(%rax)
testb $0x1, -0x9(%rbp)
je 0x1162c
movq -0x18(%rbp), %rdi
leaq 0x12b22(%rip), %rsi     # 0x24028
leaq 0x1318d(%rip), %rdx     # 0x2469a
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12b09(%rip), %rsi     # 0x24028
leaq 0x1317c(%rip), %rdx     # 0x246a2
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12af0(%rip), %rsi     # 0x24028
leaq 0x1316b(%rip), %rdx     # 0x246aa
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12ad7(%rip), %rsi     # 0x24028
leaq 0x1315a(%rip), %rdx     # 0x246b2
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12abe(%rip), %rsi     # 0x24028
leaq 0x13149(%rip), %rdx     # 0x246ba
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12aa5(%rip), %rsi     # 0x24028
leaq 0x1313f(%rip), %rdx     # 0x246c9
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a8c(%rip), %rsi     # 0x24028
leaq 0x1312e(%rip), %rdx     # 0x246d1
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a73(%rip), %rsi     # 0x24028
leaq 0x1311d(%rip), %rdx     # 0x246d9
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a5a(%rip), %rsi     # 0x24028
leaq 0x1310e(%rip), %rdx     # 0x246e3
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a41(%rip), %rsi     # 0x24028
leaq 0x130fd(%rip), %rdx     # 0x246eb
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a28(%rip), %rsi     # 0x24028
leaq 0x130ec(%rip), %rdx     # 0x246f3
movb $0x0, %al
callq 0x3330
movq -0x18(%rbp), %rdi
leaq 0x12a0f(%rip), %rsi     # 0x24028
leaq 0x130db(%rip), %rdx     # 0x246fb
movb $0x0, %al
callq 0x3330
jmp 0x11794
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x110(%rax), %xmm0
leaq 0x12a0f(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x118(%rax), %xmm0
leaq 0x129f1(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x120(%rax), %xmm0
leaq 0x129d3(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x128(%rax), %xmm0
leaq 0x129b5(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x108(%rax), %xmm0
leaq 0x12997(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x130(%rax), %xmm0
leaq 0x12979(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x138(%rax), %xmm0
leaq 0x1295b(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x140(%rax), %xmm0
leaq 0x1293d(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x148(%rax), %xmm0
leaq 0x1291f(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x150(%rax), %xmm0
leaq 0x12901(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x158(%rax), %xmm0
leaq 0x128e3(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movsd 0x160(%rax), %xmm0
leaq 0x128c5(%rip), %rsi     # 0x24052
movb $0x1, %al
callq 0x3330
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)