// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq 0x38(%rdi), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x170(%rdi)
testl %esi, %esi
je 0xb0ac
leaq 0xb08e(%rip), %r14      # 0x16040
leaq 0xb6a2(%rip), %rdx      # 0x1665b
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb696(%rip), %rdx      # 0x16663
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb68a(%rip), %rdx      # 0x1666b
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb67e(%rip), %rdx      # 0x16673
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb672(%rip), %rdx      # 0x1667b
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb66d(%rip), %rdx      # 0x1668a
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb661(%rip), %rdx      # 0x16692
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb655(%rip), %rdx      # 0x1669a
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb64b(%rip), %rdx      # 0x166a4
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb63f(%rip), %rdx      # 0x166ac
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb633(%rip), %rdx      # 0x166b4
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3230
leaq 0xb627(%rip), %rdx      # 0x166bc
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3230
movq %rdi, %r14
movsd 0x110(%rdi), %xmm0
leaq 0xafac(%rip), %r15      # 0x1606a
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x118(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x120(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x128(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x108(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x130(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x138(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x140(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x148(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x150(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x158(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x3230
movsd 0x160(%r14), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3230
nop