// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
pushq $0x7
popq %rdi
callq 0x13130
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
pushq $0x1
popq %rbp
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x61bda
movq %r14, %rdi
callq 0x13150
callq 0x136d0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq