// File: /workspace/github_cpp_makefile_star2_O1/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 0x1aa17f(%rip), %xmm0   # 0x1d7a40
cvtsd2ss 0x1aa187(%rip), %xmm1   # 0x1d7a50
cvtsd2ss 0x1aa18f(%rip), %xmm2   # 0x1d7a60
movss 0x12085b(%rip), %xmm3   # 0x14e134
callq 0x27eb0
movl $0x4100, %edi           # imm = 0x4100
callq 0x271f0
movq 0x1af891(%rip), %rdi    # 0x1dd180
addq $0x8, %rdi
xorl %esi, %esi
callq 0x8bc7c
leaq 0x1aa16f(%rip), %rdx    # 0x1d7a70
movl $0x4000, %edi           # imm = 0x4000
movl $0x1203, %esi           # imm = 0x1203
callq 0x28140
leaq 0x1aa169(%rip), %rdx    # 0x1d7a80
movl $0x4001, %edi           # imm = 0x4001
movl $0x1203, %esi           # imm = 0x1203
callq 0x28140
movl 0x1aa164(%rip), %edi    # 0x1d7a90
callq 0x2e77a
movl $0xb50, %edi            # imm = 0xB50
callq 0x27880
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
movss 0x1207eb(%rip), %xmm0   # 0x14e134
callq 0x28390
leaq 0x1af403(%rip), %rsi    # 0x1dcd58
leaq 0x28(%rsp), %rbx
movsd 0x1206e6(%rip), %xmm0   # 0x14e048
movq %rbx, %rdi
callq 0xbca82
movl $0x772, %esi            # imm = 0x772
movq %rbx, %rdi
callq 0x92364
leaq 0x28(%rsp), %rdi
callq 0xbfe90
cmpl $0x0, 0x1afa44(%rip)    # 0x1dd3cc
je 0x2d9b8
movl $0xb50, %edi            # imm = 0xB50
callq 0x27200
movsd 0x120674(%rip), %xmm0   # 0x14e010
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x27f00
leaq 0x1af35a(%rip), %rdi    # 0x1dcd08
movl $0x1, %esi
callq 0xc037c
cmpl $0x0, 0x1afa11(%rip)    # 0x1dd3d0
je 0x2dbb7
leaq 0x1af33c(%rip), %rdi    # 0x1dcd08
callq 0xbf6b8
mulsd 0x120637(%rip), %xmm0   # 0x14e010
movsd %xmm0, (%rsp)
movl $0xb50, %edi            # imm = 0xB50
callq 0x27200
movss 0x120748(%rip), %xmm0   # 0x14e138
callq 0x281e0
movl $0x3, %edi
callq 0x271a0
movss 0x12072d(%rip), %xmm0   # 0x14e134
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x28390
movsd 0x1205f6(%rip), %xmm0   # 0x14e010
mulsd (%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x12b38c(%rip), %rsi    # 0x158db8
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0xd7296
leaq 0x5b3c10(%rip), %rbx    # 0x5e1650
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
leaq 0x12b30e(%rip), %rsi    # 0x158d70
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xd7296
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
movl $0x3, %edi
callq 0x271a0
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movss 0x120688(%rip), %xmm1   # 0x14e134
callq 0x28390
leaq 0x12b318(%rip), %rsi    # 0x158dd0
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0xd7296
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
leaq 0x12b29b(%rip), %rsi    # 0x158d88
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xd7296
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
movl $0x3, %edi
callq 0x271a0
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movss 0x1205fd(%rip), %xmm2   # 0x14e134
callq 0x28390
leaq 0x12b2a5(%rip), %rsi    # 0x158de8
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0xd7296
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
leaq 0x12b228(%rip), %rsi    # 0x158da0
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movsd (%rsp), %xmm0
callq 0xd7296
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd6179
movq %r15, %rdi
callq 0x271c0
callq 0x27ce0
movss 0x120582(%rip), %xmm0   # 0x14e134
callq 0x281e0
callq 0x111fdc
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfe90
movq %rbx, %rdi
callq 0x28160