// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/apps/gapsview/gapsview.cpp
// Function: GLUTRedraw()
static void
GLUTRedraw(void)
{
  // Clear window 
  glClearColor(background_color[0], background_color[1], background_color[2], 1.0);
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

  // Set viewing transformation
  viewer->Camera().Load();

  // Set lights
  static GLfloat light0_position[] = { 3.0, 4.0, 5.0, 0.0 };
  glLightfv(GL_LIGHT0, GL_POSITION, light0_position);
  static GLfloat light1_position[] = { -3.0, -2.0, -3.0, 0.0 };
  glLightfv(GL_LIGHT1, GL_POSITION, light1_position);

  // Draw everything
  DrawData(color_scheme);
  DrawSelectedPosition();
  DrawBBox();
  DrawAxes();

  // Swap buffers 
  glutSwapBuffers();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
cvtsd2ss 0x1923e4(%rip), %xmm0   # 0x1bea50
cvtsd2ss 0x1923ec(%rip), %xmm1   # 0x1bea60
cvtsd2ss 0x1923f4(%rip), %xmm2   # 0x1bea70
movss 0xfeaa8(%rip), %xmm3    # 0x12b12c
callq 0x27ec0
movl $0x4100, %edi           # imm = 0x4100
callq 0x27210
movq 0x197af6(%rip), %rdi    # 0x1c4190
addq $0x8, %rdi
xorl %esi, %esi
callq 0x7f52a
leaq 0x1923d4(%rip), %rdx    # 0x1bea80
movl $0x4000, %edi           # imm = 0x4000
movl $0x1203, %esi           # imm = 0x1203
callq 0x28150
leaq 0x1923ce(%rip), %rdx    # 0x1bea90
movl $0x4001, %edi           # imm = 0x4001
movl $0x1203, %esi           # imm = 0x1203
callq 0x28150
movl 0x1923c9(%rip), %edi    # 0x1beaa0
callq 0x2d510
movl $0xb50, %edi            # imm = 0xB50
callq 0x27890
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
movss 0xfea38(%rip), %xmm0    # 0x12b12c
callq 0x283c0
leaq 0x197668(%rip), %rsi    # 0x1c3d68
leaq 0x28(%rsp), %rbx
movsd 0xfe933(%rip), %xmm0    # 0x12b040
movq %rbx, %rdi
callq 0xaa6c8
movl $0x772, %esi            # imm = 0x772
movq %rbx, %rdi
callq 0x84a86
leaq 0x28(%rsp), %rdi
callq 0xad65a
cmpl $0x0, 0x197ca9(%rip)    # 0x1c43dc
je 0x2c761
movl $0xb50, %edi            # imm = 0xB50
callq 0x27220
movsd 0xfe8f1(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x27f10
leaq 0x1975bf(%rip), %rdi    # 0x1c3d18
pushq $0x1
popq %rsi
callq 0xadb1c
cmpl $0x0, 0x197c78(%rip)    # 0x1c43e0
je 0x2c949
leaq 0x1975a3(%rip), %rdi    # 0x1c3d18
callq 0x30e8a
movsd %xmm0, (%rsp)
movl $0xb50, %edi            # imm = 0xB50
callq 0x27220
movss 0xfe99f(%rip), %xmm0    # 0x12b130
callq 0x281f0
callq 0x31101
movss 0xfe989(%rip), %xmm0    # 0x12b12c
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x283c0
movsd 0xfe882(%rip), %xmm0    # 0x12b038
mulsd (%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x109548(%rip), %rsi    # 0x135d10
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0xc1cb2
leaq 0x59be84(%rip), %rbx    # 0x5c8660
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
leaq 0x1094ca(%rip), %rsi    # 0x135cc8
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xc1cb2
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
callq 0x31101
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movss 0xfe8e9(%rip), %xmm1    # 0x12b12c
callq 0x283c0
leaq 0x1094d9(%rip), %rsi    # 0x135d28
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0xc1cb2
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
leaq 0x10945c(%rip), %rsi    # 0x135ce0
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xc1cb2
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
callq 0x31101
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movss 0xfe863(%rip), %xmm2    # 0x12b12c
callq 0x283c0
leaq 0x10946b(%rip), %rsi    # 0x135d40
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0xc1cb2
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
leaq 0x1093ee(%rip), %rsi    # 0x135cf8
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xc1cb2
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xc10c3
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
movss 0xfe7e8(%rip), %xmm0    # 0x12b12c
callq 0x281f0
callq 0xf386a
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xad65a
movq %rbx, %rdi
callq 0x28170