// File: /workspace/github_cpp_makefile_star2_O2/XuhuiSun95[P]My-OpenGL/main.cpp
// Function: drawCube(double, double, double)
void drawCube (double length, double height, double depth)
{
    // FRONT
    myBegin(POLYGON);
    myVertex3d(  0.5*length, -0.5*height, 0.5*depth );
    myVertex3d(  0.5*length,  0.5*height, 0.5*depth );
    myVertex3d( -0.5*length,  0.5*height, 0.5*depth );
    myVertex3d( -0.5*length, -0.5*height, 0.5*depth );
    myEnd();
    
    // BACK
    myBegin(POLYGON);
    myVertex3d(  0.5*length, -0.5*height, -0.5*depth );
    myVertex3d(  0.5*length,  0.5*height, -0.5*depth );
    myVertex3d( -0.5*length,  0.5*height, -0.5*depth);
    myVertex3d( -0.5*length, -0.5*height, -0.5*depth );
    myEnd();
    
    // RIGHT
    myBegin(POLYGON);
    myVertex3d( 0.5*length, -0.5*height, -0.5*depth );
    myVertex3d( 0.5*length,  0.5*height, -0.5*depth );
    myVertex3d( 0.5*length,  0.5*height,  0.5*depth );
    myVertex3d( 0.5*length, -0.5*height,  0.5*depth );
    myEnd();
    
    // LEFT
    myBegin(POLYGON);
    myVertex3d( -0.5*length, -0.5*height,  0.5*depth );
    myVertex3d( -0.5*length,  0.5*height,  0.5*depth );
    myVertex3d( -0.5*length,  0.5*height, -0.5*depth );
    myVertex3d( -0.5*length, -0.5*height, -0.5*depth );
    myEnd();
    
    // TOP
    myBegin(POLYGON);
    myVertex3d(  0.5*length,  0.5*height,  0.5*depth );
    myVertex3d(  0.5*length,  0.5*height, -0.5*depth );
    myVertex3d( -0.5*length,  0.5*height, -0.5*depth );
    myVertex3d( -0.5*length,  0.5*height,  0.5*depth );
    myEnd();
    
    // BOTTOM
    myBegin(POLYGON);
    myVertex3d(  0.5*length, -0.5*height, -0.5*depth );
    myVertex3d(  0.5*length, -0.5*height,  0.5*depth );
    myVertex3d( -0.5*length, -0.5*height,  0.5*depth );
    myVertex3d( -0.5*length, -0.5*height, -0.5*depth );
    myEnd();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movsd %xmm2, -0x10(%rbp)
movsd %xmm1, -0x8(%rbp)
movsd %xmm0, -0x18(%rbp)
xorl %edi, %edi
callq 0x394a
movsd 0x4d06(%rip), %xmm3     # 0x6008
movsd -0x18(%rbp), %xmm0
mulsd %xmm3, %xmm0
movsd %xmm0, -0x20(%rbp)
movsd -0x8(%rbp), %xmm1
mulsd 0x4cf3(%rip), %xmm1     # 0x6010
movsd %xmm1, -0x30(%rbp)
movsd -0x10(%rbp), %xmm2
mulsd %xmm3, %xmm2
movsd %xmm2, -0x28(%rbp)
callq 0x396d
movsd -0x8(%rbp), %xmm1
mulsd 0x4cc6(%rip), %xmm1     # 0x6008
movsd %xmm1, -0x8(%rbp)
movsd -0x20(%rbp), %xmm0
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
mulsd 0x4cad(%rip), %xmm0     # 0x6010
movsd %xmm0, -0x18(%rbp)
movsd -0x8(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
callq 0x3999
xorl %edi, %edi
callq 0x394a
movsd -0x10(%rbp), %xmm2
mulsd 0x4c6c(%rip), %xmm2     # 0x6010
movsd %xmm2, -0x10(%rbp)
movsd -0x20(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
callq 0x3999
xorl %edi, %edi
callq 0x394a
movsd -0x20(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
callq 0x3999
xorl %edi, %edi
callq 0x394a
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
callq 0x3999
xorl %edi, %edi
callq 0x394a
movsd -0x20(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x8(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
callq 0x3999
xorl %edi, %edi
callq 0x394a
movsd -0x20(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
movsd -0x20(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x28(%rbp), %xmm2
callq 0x396d
movsd -0x18(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd -0x10(%rbp), %xmm2
callq 0x396d
addq $0x30, %rsp
popq %rbp
jmp 0x3999