// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutWireCube
void FGAPIENTRY glutWireCube( GLdouble dSize )
{
    double size = dSize * 0.5;

    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWireCube" );

#   define V(a,b,c) glVertex3d( a size, b size, c size );
#   define N(a,b,c) glNormal3d( a, b, c );

    /* PWO: I dared to convert the code to use macros... */
    glBegin( GL_LINE_LOOP ); N( 1.0, 0.0, 0.0); V(+,-,+); V(+,-,-); V(+,+,-); V(+,+,+); glEnd();
    glBegin( GL_LINE_LOOP ); N( 0.0, 1.0, 0.0); V(+,+,+); V(+,+,-); V(-,+,-); V(-,+,+); glEnd();
    glBegin( GL_LINE_LOOP ); N( 0.0, 0.0, 1.0); V(+,+,+); V(-,+,+); V(-,-,+); V(+,-,+); glEnd();
    glBegin( GL_LINE_LOOP ); N(-1.0, 0.0, 0.0); V(-,-,+); V(-,+,+); V(-,+,-); V(-,-,-); glEnd();
    glBegin( GL_LINE_LOOP ); N( 0.0,-1.0, 0.0); V(-,-,+); V(-,-,-); V(+,-,-); V(+,-,+); glEnd();
    glBegin( GL_LINE_LOOP ); N( 0.0, 0.0,-1.0); V(-,-,-); V(-,+,-); V(+,+,-); V(+,-,-); glEnd();

#   undef V
#   undef N
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
mulsd 0x49a7(%rip), %xmm0     # 0xc5040
movapd %xmm0, (%rsp)
leaq 0x72b3b(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc06c0
leaq 0x13bb4(%rip), %rdi     # 0xd4266
leaq 0x25577(%rip), %rsi     # 0xe5c30
xorl %eax, %eax
callq 0xbad73
pushq $0x2
popq %rbx
movl %ebx, %edi
callq 0x21190
movsd 0x4946(%rip), %xmm0     # 0xc5018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21300
movaps 0x4e4c(%rip), %xmm1     # 0xc5530
movaps (%rsp), %xmm0
xorps %xmm0, %xmm1
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
callq 0x21c60
movl %ebx, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0x48d5(%rip), %xmm1     # 0xc5018
callq 0x21300
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
callq 0x21c60
movl %ebx, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0x4874(%rip), %xmm2     # 0xc5018
callq 0x21300
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
callq 0x21c60
movl %ebx, %edi
callq 0x21190
movsd 0x4cd1(%rip), %xmm0     # 0xc54d0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21300
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
callq 0x21c60
movl %ebx, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0x4c69(%rip), %xmm1     # 0xc54d0
callq 0x21300
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
callq 0x21c60
movl %ebx, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0x4c07(%rip), %xmm2     # 0xc54d0
callq 0x21300
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e80
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e80
addq $0x20, %rsp
popq %rbx
jmp 0x21c60