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

    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSolidCube" );

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

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

#   undef V
#   undef N
}

// Assembly:
subq $0x28, %rsp
mulsd 0x436c(%rip), %xmm0     # 0xda020
movapd %xmm0, (%rsp)
leaq 0x6c500(%rip), %rax     # 0x1421c0
cmpb $0x0, 0x1c(%rax)
jne 0xd5cdb
leaq 0x138e9(%rip), %rdi     # 0xe95b6
leaq 0x252f9(%rip), %rsi     # 0xfafcd
xorl %eax, %eax
callq 0xcfe73
movl $0x7, %edi
callq 0x21190
movsd 0x432b(%rip), %xmm0     # 0xda018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21310
movaps 0x4841(%rip), %xmm1     # 0xda540
movaps (%rsp), %xmm0
xorps %xmm0, %xmm1
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0x42c6(%rip), %xmm1     # 0xda018
callq 0x21310
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0x4271(%rip), %xmm2     # 0xda018
callq 0x21310
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movsd 0x46da(%rip), %xmm0     # 0xda4d0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21310
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0x467e(%rip), %xmm1     # 0xda4d0
callq 0x21310
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps (%rsp), %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0x4628(%rip), %xmm2     # 0xda4d0
callq 0x21310
movaps 0x10(%rsp), %xmm0
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movaps %xmm0, %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps %xmm0, %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x21e60
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm2
callq 0x21e60
addq $0x28, %rsp
jmp 0x21c50