// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Frustum.cpp
// Function: gaps::R3Frustum::Draw(gaps::RNFlags) const
void R3Frustum::
Draw(const R3DrawFlags draw_flags) const
{
  // Draw quads
  RNGrfxBegin(RN_GRFX_QUADS);
  R3LoadPoint(Corner(0,0,0));  // Front
  R3LoadPoint(Corner(1,0,0));
  R3LoadPoint(Corner(1,1,0));
  R3LoadPoint(Corner(0,1,0));
  R3LoadPoint(Corner(0,0,1));  // Back
  R3LoadPoint(Corner(0,1,1));
  R3LoadPoint(Corner(1,1,1));
  R3LoadPoint(Corner(1,0,1));
  R3LoadPoint(Corner(1,0,0)); // Right
  R3LoadPoint(Corner(1,0,1));
  R3LoadPoint(Corner(1,1,1));
  R3LoadPoint(Corner(1,1,0));
  R3LoadPoint(Corner(0,0,0));  // Left
  R3LoadPoint(Corner(0,0,1));
  R3LoadPoint(Corner(0,1,1));
  R3LoadPoint(Corner(0,1,0));
  R3LoadPoint(Corner(0,1,0));  // Top
  R3LoadPoint(Corner(1,1,0));
  R3LoadPoint(Corner(1,1,1));
  R3LoadPoint(Corner(0,1,1));
  R3LoadPoint(Corner(0,0,0));  // Bottom
  R3LoadPoint(Corner(0,0,1));
  R3LoadPoint(Corner(1,0,1));
  R3LoadPoint(Corner(1,0,0));
  RNGrfxEnd();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl $0x7, %edi
callq 0x13130
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6bc60
movq %r14, %rdi
callq 0x13150
callq 0x136a0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop