// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/apps/scnview/scnview.cpp
// Function: GLUTRedraw()
void GLUTRedraw(void)
{
  // Check scene
  if (!scene) return;

  // Clear window 
  // background_color = scene->Background();
  glClearColor(background_color.R(), background_color.G(), background_color.B(), 1.0);
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

  // Set backface culling
  if (show_backfacing) glDisable(GL_CULL_FACE);
  else glEnable(GL_CULL_FACE);

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

  // Draw camera
  if (show_cameras) {
    glDisable(GL_LIGHTING);
    glLineWidth(5);
    RNLoadRgb(0.0, 1.0, 0.0);
    DrawCameras(scene, cameras);
    glLineWidth(1);
  }

  // Draw lights
  if (show_lights) {
    glDisable(GL_LIGHTING);
    RNLoadRgb(1.0, 1.0, 1.0);
    glLineWidth(5);
    DrawLights(scene);
    glLineWidth(1);
  }

  // Draw normals
  if (show_normals) {
    glDisable(GL_LIGHTING);
    RNLoadRgb(0.0, 1.0, 1.0);
    DrawNormals(scene, scene->Root());
  }

  // Draw rays
  if (show_rays) {
    glDisable(GL_LIGHTING);
    RNLoadRgb(0.0, 1.0, 0.0);
    glLineWidth(3);
    DrawRays(scene);
    glLineWidth(1);
  }

  // Draw selected node
  if (selected_node) {
    glDisable(GL_LIGHTING);
    static R3Material selection_material(new R3Brdf(1.0, 0.0, 0.0), "Selection");
    R3Affine transformation = selected_node->CumulativeParentTransformation();
    transformation.Push();
    RNLoadRgb(1.0, 0.0, 0.0);
    glLineWidth(3.0);
    selected_node->Draw(R3_EDGES_DRAW_FLAG);
    glLineWidth(1.0);
    transformation.Pop();
  }

  // Draw front faces in front of scene
  if (show_faces && (show_backfacing == 2)) {
    glEnable(GL_LIGHTING);
    RNLoadRgb(RNwhite_rgb);
    scene->LoadLights(headlight);
    glDepthRange(0, 0.9999);
    glEnable(GL_CULL_FACE);
    scene->Draw();
    glDisable(GL_CULL_FACE);
    glDepthRange(0, 1);
  }

  // Draw faces
  if (show_faces) {
    glEnable(GL_LIGHTING);
    RNLoadRgb(RNwhite_rgb);
    scene->LoadLights(headlight);
    scene->Draw();
  }

  // Draw edges
  if (show_edges) {
    glDisable(GL_LIGHTING);
    RNLoadRgb(0.0, 1.0, 0.0);
    scene->Draw(R3_EDGES_DRAW_FLAG);
  }

  // Draw bboxes
  if (show_bboxes) {
    glDisable(GL_LIGHTING);
    RNLoadRgb(1.0, 0.0, 0.0);
    DrawBBoxes(scene, scene->Root());
  }

  // Draw axes
  if (show_axes) {
    RNScalar d = scene->BBox().DiagonalRadius();
    glDisable(GL_LIGHTING);
    glLineWidth(3);
    R3BeginLine();
    RNLoadRgb(1, 0, 0);
    R3LoadPoint(R3zero_point + 0.5 * d * R3negx_vector);
    R3LoadPoint(R3zero_point + d * R3posx_vector);
    R3EndLine();
    R3BeginLine();
    RNLoadRgb(0, 1, 0);
    R3LoadPoint(R3zero_point + 0.5 * d * R3negy_vector);
    R3LoadPoint(R3zero_point + d * R3posy_vector);
    R3EndLine();
    R3BeginLine();
    RNLoadRgb(0, 0, 1);
    R3LoadPoint(R3zero_point + 0.5 * d * R3negz_vector);
    R3LoadPoint(R3zero_point + d * R3posz_vector);
    R3EndLine();
    glLineWidth(1);
  }

  // Draw frame time
  if (show_frame_rate) {
    char buffer[128];
    static RNTime last_time;
    double frame_time = last_time.Elapsed();
    last_time.Read();
    if ((frame_time > 0) && (frame_time < 10)) {
      glDisable(GL_LIGHTING);
      RNLoadRgb(1.0, 1.0, 1.0);
      sprintf(buffer, "%.1f fps", 1.0 / frame_time);
      viewer->DrawText(100, 100, buffer);
    }
  }  

  // Capture image and exit
  if (output_image_name) {
    R2Image image(GLUTwindow_width, GLUTwindow_height, 3);
    image.Capture();
    image.Write(output_image_name);
    GLUTStop();
  }

  // Swap buffers 
  glutSwapBuffers();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
cmpq $0x0, 0x11d4b0(%rip)    # 0x1428d8
je 0x2602b
cvtsd2ss 0x11d46a(%rip), %xmm0   # 0x1428a0
cvtsd2ss 0x11d46a(%rip), %xmm1   # 0x1428a8
cvtsd2ss 0x11d46a(%rip), %xmm2   # 0x1428b0
movss 0xb4bb6(%rip), %xmm3    # 0xda004
callq 0x21e20
movl $0x4100, %edi           # imm = 0x4100
callq 0x211e0
cmpl $0x0, 0x11d47c(%rip)    # 0x1428e0
je 0x25472
movl $0xb44, %edi            # imm = 0xB44
callq 0x211f0
jmp 0x2547c
movl $0xb44, %edi            # imm = 0xB44
callq 0x21810
movq 0x11d465(%rip), %rdi    # 0x1428e8
addq $0x8, %rdi
xorl %esi, %esi
callq 0x404f0
cmpl $0x0, 0x11d45b(%rip)    # 0x1428f0
je 0x2551b
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movss 0xb4b5b(%rip), %xmm0    # 0xda008
callq 0x22140
movsd 0xb4b5e(%rip), %xmm1    # 0xda018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e70
movq 0x11d40c(%rip), %rbx    # 0x1428d8
movq 0x11d425(%rip), %r14    # 0x1428f8
testq %r14, %r14
je 0x254ff
cmpl $0x0, 0xc(%r14)
jle 0x2550e
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r15,8), %rsi
movq (%rbx), %rdi
callq 0x27f35
incq %r15
movslq 0xc(%r14), %rax
cmpq %rax, %r15
jl 0x254e2
jmp 0x2550e
movq (%rbx), %rdi
addq $0x78, %rbx
movq %rbx, %rsi
callq 0x27f35
movss 0xb4aee(%rip), %xmm0    # 0xda004
callq 0x22140
cmpl $0x0, 0x11d3de(%rip)    # 0x142900
je 0x257e9
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb4ade(%rip), %xmm0    # 0xda018
movapd %xmm0, %xmm1
movapd %xmm0, %xmm2
callq 0x21e70
movss 0xb4ab9(%rip), %xmm0    # 0xda008
callq 0x22140
movq 0x11d37d(%rip), %rbx    # 0x1428d8
movq (%rbx), %rdi
callq 0x3c478
movq %rax, %rdi
callq 0x6d330
cmpl $0x0, 0x24(%rbx)
jle 0x257dc
mulsd 0xb4aa3(%rip), %xmm0    # 0xda020
movsd 0xb4aa3(%rip), %xmm1    # 0xda028
mulsd %xmm0, %xmm1
movsd %xmm1, 0x28(%rsp)
movsd 0xb4a99(%rip), %xmm1    # 0xda030
mulsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
movsd 0xb4a8f(%rip), %xmm1    # 0xda038
movsd %xmm0, 0x8(%rsp)
mulsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
xorl %r12d, %r12d
leaq 0xe0(%rsp), %rbp
movq %rbx, 0x18(%rsp)
movq %rbp, %r15
movq 0x18(%rbx), %rax
movq (%rax,%r12,8), %r13
movsd 0x30(%r13), %xmm0
movsd 0x38(%r13), %xmm1
movsd 0x40(%r13), %xmm2
callq 0x21e70
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x42408
cmpl %eax, %ebp
jne 0x256a1
addq $0x50, %r13
movq %r15, %rbp
movq %r15, %rdi
movq %r13, %rsi
callq 0x75e6e
movl $0x1, %edi
callq 0x21190
movq (%rbx), %rdi
callq 0x3c478
movq (%rax), %rcx
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq *0x68(%rcx)
leaq 0xb8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movsd 0x8(%rsp), %xmm0
callq 0x767fa
leaq 0x50(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x75deb
movq %r15, %rdi
callq 0x211b0
movq %r13, %rdi
movq %rbp, %rsi
movsd 0x10(%rsp), %xmm0
callq 0x767fa
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x75deb
movq %r15, %rdi
callq 0x211b0
callq 0x21c50
jmp 0x257b0
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x41b8c
cmpl %eax, %ebp
jne 0x256fb
addq $0x50, %r13
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x753da
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
movsd 0x28(%rsp), %xmm0
callq 0x6a766
movl $0x772, %esi            # imm = 0x772
movq %r15, %rdi
callq 0x46ab6
movq %rbp, %rdi
callq 0x6dafc
jmp 0x257ab
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x41798
cmpl %eax, %ebp
jne 0x257c2
leaq 0x50(%r13), %rsi
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x753da
subq $-0x80, %r13
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x75e6e
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
movsd 0x28(%rsp), %xmm0
callq 0x6a766
movl $0x772, %esi            # imm = 0x772
movq %r15, %rdi
callq 0x46ab6
movq %rbp, %rdi
callq 0x6dafc
movl $0x1, %edi
callq 0x21190
movq %r14, %rdi
callq 0x211b0
leaq 0xb8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movsd 0x20(%rsp), %xmm0
callq 0x767fa
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x7570f
movq %rbp, %rdi
callq 0x211b0
callq 0x21c50
movq 0x18(%rsp), %rbx
incq %r12
movslq 0x24(%rbx), %rax
cmpq %rax, %r12
jl 0x255c9
jmp 0x257dc
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
leaq 0xb4a0d(%rip), %rdi     # 0xda1e0
movl %eax, %esi
xorl %eax, %eax
callq 0x8a0fe
movss 0xb4820(%rip), %xmm0    # 0xda004
callq 0x22140
cmpl $0x0, 0x11d114(%rip)    # 0x142904
je 0x2581e
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb4814(%rip), %xmm1    # 0xda018
xorps %xmm0, %xmm0
movaps %xmm1, %xmm2
callq 0x21e70
movq 0x11d0c2(%rip), %rdi    # 0x1428d8
movq (%rdi), %rsi
callq 0x261af
cmpl $0x0, 0x11d0e3(%rip)    # 0x142908
je 0x25b33
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb47db(%rip), %xmm1    # 0xda018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e70
movss 0xb47bc(%rip), %xmm0    # 0xda00c
callq 0x22140
movq 0x11d07c(%rip), %rbx    # 0x1428d8
leaq 0x50(%rsp), %rdi
callq 0x753c8
leaq 0xb8(%rsp), %r12
movq %r12, %rdi
callq 0x75e5c
movslq 0x110(%rbx), %rax
imulq $0x66666667, %rax, %rdi # imm = 0x66666667
movq %rdi, %rcx
shrq $0x3f, %rcx
sarq $0x22, %rdi
addl %ecx, %edi
movslq 0x114(%rbx), %rcx
imulq $0x66666667, %rcx, %r8  # imm = 0x66666667
movq %r8, %rdx
shrq $0x3f, %rdx
sarq $0x22, %r8
addl %edx, %r8d
leal 0x9(%rax), %edx
cmpl $0x13, %edx
movl $0x1, %edx
cmovbl %edx, %edi
leal 0x9(%rcx), %esi
cmpl $0x13, %esi
cmovbl %edx, %r8d
movq %r8, 0x20(%rsp)
movl %edi, %esi
shrl $0x1f, %esi
addl %edi, %esi
sarl %esi
cmpl %eax, %esi
jge 0x25b26
movq 0x20(%rsp), %rdx
movl %edx, %r14d
shrl $0x1f, %r14d
addl %edx, %r14d
sarl %r14d
leaq 0x118(%rbx), %rdx
movq %rdx, 0x38(%rsp)
leaq 0x50(%rsp), %rbp
movq %rdi, 0x40(%rsp)
movl %r14d, 0x30(%rsp)
movq %rbx, 0x18(%rsp)
cmpl %ecx, %r14d
jge 0x25b1c
movl %esi, 0x34(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd %xmm0, 0x28(%rsp)
movq 0x11cfba(%rip), %rsi    # 0x1428e8
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
leaq 0x88(%rsp), %r13
movq %r13, %rdi
movsd 0x28(%rsp), %xmm0
callq 0x3ef42
leaq 0x118795(%rip), %rax    # 0x13e0e8
movsd (%rax), %xmm1
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xd8(%rsp), %rdx
leaq 0x68(%rsp), %rcx
leaq 0xd0(%rsp), %r8
movq %rbp, %r9
leaq 0x48(%rsp), %rax
pushq %rax
pushq %r12
callq 0x29082
addq $0x10, %rsp
testl %eax, %eax
je 0x25af4
movl %r14d, 0x8(%rsp)
movq 0x68(%rsp), %rax
testq %rax, %rax
je 0x25a2f
movq 0x18(%rax), %r12
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0x873e2
testq %r12, %r12
leaq 0xb8(%rsp), %rbp
movq 0x18(%rsp), %r14
leaq 0xe0(%rsp), %r15
je 0x25a46
leaq 0x80(%r12), %rsi
movq %rbx, %rdi
callq 0x874b2
cmpl $0x0, 0x24(%r14)
jle 0x25a46
xorl %r13d, %r13d
movq 0x18(%r14), %rax
movq (%rax,%r13,8), %rsi
movq 0x11ceea(%rip), %rcx    # 0x1428e8
addq $0x8, %rcx
movq (%rsi), %rax
movq %r15, %rdi
movq %r12, %rdx
leaq 0x50(%rsp), %r8
movq %rbp, %r9
callq *0x58(%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x874b2
incq %r13
movslq 0x24(%r14), %rax
cmpq %rax, %r13
jl 0x259ef
jmp 0x25a46
leaq 0x70(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x873e2
leaq 0xe0(%rsp), %r15
movsd 0x70(%rsp), %xmm0
movsd 0x78(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
callq 0x21e70
movsd 0x48(%rsp), %xmm0
mulsd 0xb45ba(%rip), %xmm0    # 0xda028
movq %r15, %rdi
leaq 0x50(%rsp), %rbp
movq %rbp, %rsi
movsd %xmm0, 0x10(%rsp)
callq 0x6a766
movl $0x772, %esi            # imm = 0x772
movq %r15, %rdi
callq 0x46ab6
movq %r15, %rdi
callq 0x6dafc
movsd 0x10(%rsp), %xmm0
addsd %xmm0, %xmm0
leaq 0x1f8(%rsp), %rbx
movq %rbx, %rdi
leaq 0xb8(%rsp), %r12
movq %r12, %rsi
callq 0x767fa
leaq 0x210(%rsp), %r14
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x7570f
movq %r15, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x7484e
movq %r15, %rdi
callq 0x4538a
movq 0x18(%rsp), %rbx
movl 0x8(%rsp), %r14d
addl 0x20(%rsp), %r14d
movl 0x114(%rbx), %ecx
cmpl %ecx, %r14d
jl 0x25927
movl 0x110(%rbx), %eax
movq 0x40(%rsp), %rdi
movl 0x34(%rsp), %esi
movl 0x30(%rsp), %r14d
addl %edi, %esi
cmpl %eax, %esi
jl 0x2590d
movss 0xb44d6(%rip), %xmm0    # 0xda004
callq 0x22140
cmpq $0x0, 0x11cdd5(%rip)    # 0x142910
je 0x25bd2
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movb 0x11cdf7(%rip), %al     # 0x142948
testb %al, %al
je 0x2608c
movq 0x11cdb0(%rip), %rsi    # 0x142910
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
callq 0x3c7fe
movq %rbx, %rdi
callq 0x4521a
movsd 0xb4498(%rip), %xmm0    # 0xda018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21e70
movss 0xb4479(%rip), %xmm0    # 0xda00c
callq 0x22140
movq 0x11cd71(%rip), %rdi    # 0x142910
movl $0x1, %esi
xorl %edx, %edx
callq 0x3d1ec
movss 0xb4451(%rip), %xmm0    # 0xda004
callq 0x22140
leaq 0xe0(%rsp), %rdi
callq 0x45256
leaq 0xe0(%rsp), %rdi
callq 0x6fa30
movl 0x117dd8(%rip), %eax    # 0x13d9b0
testl %eax, %eax
je 0x25c74
cmpl $0x2, 0x11ccf9(%rip)    # 0x1428e0
jne 0x25c74
movl $0xb50, %edi            # imm = 0xB50
callq 0x21810
leaq 0x1184ba(%rip), %rax    # 0x13e0b8
movsd (%rax), %xmm0
movsd 0x8(%rax), %xmm1
movsd 0x10(%rax), %xmm2
callq 0x21e70
movq 0x11ccc0(%rip), %rdi    # 0x1428d8
movzbl 0x11cd31(%rip), %esi    # 0x142950
movl $0x7, %edx
callq 0x2908a
movsd 0xb440f(%rip), %xmm1    # 0xda040
xorps %xmm0, %xmm0
callq 0x22050
movl $0xb44, %edi            # imm = 0xB44
callq 0x21810
movq 0x11cc8e(%rip), %rdi    # 0x1428d8
movl $0x772, %esi            # imm = 0x772
callq 0x2937a
movl $0xb44, %edi            # imm = 0xB44
callq 0x211f0
movsd 0xb43b2(%rip), %xmm1    # 0xda018
xorps %xmm0, %xmm0
callq 0x22050
movl 0x117d3c(%rip), %eax    # 0x13d9b0
testl %eax, %eax
je 0x25cc5
movl $0xb50, %edi            # imm = 0xB50
callq 0x21810
leaq 0x11842f(%rip), %rax    # 0x13e0b8
movsd (%rax), %xmm0
movsd 0x8(%rax), %xmm1
movsd 0x10(%rax), %xmm2
callq 0x21e70
movq 0x11cc35(%rip), %rdi    # 0x1428d8
movzbl 0x11cca6(%rip), %esi    # 0x142950
movl $0x7, %edx
callq 0x2908a
movq 0x11cc1d(%rip), %rdi    # 0x1428d8
movl $0x772, %esi            # imm = 0x772
callq 0x2937a
cmpl $0x0, 0x11cc88(%rip)    # 0x142954
je 0x25cfc
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb4338(%rip), %xmm1    # 0xda018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e70
movq 0x11cbe6(%rip), %rdi    # 0x1428d8
movl $0x1, %esi
callq 0x2937a
cmpl $0x0, 0x11cc55(%rip)    # 0x142958
je 0x25d31
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb4301(%rip), %xmm0    # 0xda018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21e70
movq 0x11cbaf(%rip), %rax    # 0x1428d8
movq (%rax), %rdi
callq 0x26379
cmpl $0x0, 0x11cc24(%rip)    # 0x14295c
je 0x25f64
movq 0x11cb93(%rip), %rax    # 0x1428d8
movq (%rax), %rdi
callq 0x3c478
movq %rax, %rdi
callq 0x6d330
mulsd 0xb42c3(%rip), %xmm0    # 0xda020
movsd %xmm0, 0x8(%rsp)
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movss 0xb4297(%rip), %xmm0    # 0xda00c
callq 0x22140
movl $0x3, %edi
callq 0x21190
movss 0xb4278(%rip), %xmm0    # 0xda004
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x222f0
movsd 0xb4281(%rip), %xmm0    # 0xda020
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0xb7036(%rip), %rsi     # 0xdcde8
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x767fa
leaq 0x11ffc7(%rip), %rbx    # 0x145d90
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
leaq 0xb6fb2(%rip), %rsi     # 0xdcda0
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x767fa
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
callq 0x21c50
movl $0x3, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movss 0xb41c5(%rip), %xmm1    # 0xda004
callq 0x222f0
leaq 0xb6fb5(%rip), %rsi     # 0xdce00
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x767fa
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
leaq 0xb6f32(%rip), %rsi     # 0xdcdb8
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x767fa
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
callq 0x21c50
movl $0x3, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movss 0xb412d(%rip), %xmm2    # 0xda004
callq 0x222f0
leaq 0xb6f35(%rip), %rsi     # 0xdce18
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x767fa
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
leaq 0xb6eb2(%rip), %rsi     # 0xdcdd0
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x767fa
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7570f
movq %r15, %rdi
callq 0x211b0
callq 0x21c50
movss 0xb40a5(%rip), %xmm0    # 0xda004
callq 0x22140
cmpl $0x0, 0x11c9f5(%rip)    # 0x142960
je 0x2601c
movb 0x11ca01(%rip), %al     # 0x142978
testb %al, %al
je 0x2610f
leaq 0x11c9e2(%rip), %rbx    # 0x142968
movq %rbx, %rdi
callq 0x87052
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21fb0
movsd 0x8(%rsp), %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jbe 0x2601c
movsd 0xb4092(%rip), %xmm0    # 0xda048
ucomisd %xmm1, %xmm0
jbe 0x2601c
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb404a(%rip), %xmm0    # 0xda018
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e70
movsd 0xb4037(%rip), %xmm0    # 0xda018
divsd 0x8(%rsp), %xmm0
leaq 0xb4194(%rip), %rsi     # 0xda182
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
movb $0x1, %al
callq 0x21140
movq 0x11c8e1(%rip), %rdi    # 0x1428e8
movsd 0xb4041(%rip), %xmm0    # 0xda050
movaps %xmm0, %xmm1
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3f80a
cmpq $0x0, 0x11c95c(%rip)    # 0x142980
jne 0x2603d
callq 0xcd5e2
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x117971(%rip), %esi    # 0x13d9b4
movl 0x11796f(%rip), %edx    # 0x13d9b8
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
movl $0x3, %ecx
callq 0x82572
movq %rbx, %rdi
callq 0x82ffc
movq 0x11c913(%rip), %rsi    # 0x142980
leaq 0xe0(%rsp), %rdi
callq 0x843f0
movl 0x11c850(%rip), %edi    # 0x1428d0
callq 0xd3886
xorl %edi, %edi
callq 0x21b00
leaq 0x11c8b5(%rip), %rdi    # 0x142948
callq 0x22130
testl %eax, %eax
je 0x25b59
movl $0xb8, %edi
callq 0x218c0
movq %rax, %r14
movsd 0xb3f63(%rip), %xmm0    # 0xda018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %rax, %rdi
movaps %xmm0, %xmm4
movaps %xmm0, %xmm5
xorl %esi, %esi
callq 0x43f9e
leaq 0x11c843(%rip), %rdi    # 0x142918
leaq 0xb409c(%rip), %rdx     # 0xda178
movq %r14, %rsi
callq 0x43ace
leaq 0x1da99(%rip), %rdi     # 0x43b84
leaq 0x11c826(%rip), %rsi    # 0x142918
leaq 0x1178af(%rip), %rdx    # 0x13d9a8
callq 0x217d0
leaq 0x11c843(%rip), %rdi    # 0x142948
callq 0x215d0
jmp 0x25b59
leaq 0x11c862(%rip), %rdi    # 0x142978
callq 0x22130
testl %eax, %eax
je 0x25f7f
leaq 0x11c83e(%rip), %rdi    # 0x142968
callq 0x86ff0
leaq 0x11c842(%rip), %rdi    # 0x142978
callq 0x215d0
jmp 0x25f7f
movq %rax, %rbx
leaq 0x11c82e(%rip), %rdi    # 0x142978
jmp 0x26168
movq %rax, %rbx
movl $0xb8, %esi
movq %r14, %rdi
callq 0x218e0
jmp 0x26161
movq %rax, %rbx
leaq 0x11c7e0(%rip), %rdi    # 0x142948
callq 0x215b0
jmp 0x261a7
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x827cc
jmp 0x261a7
jmp 0x26197
jmp 0x26197
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x6fa30
jmp 0x261a7
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x6dafc
movq %rbx, %rdi
callq 0x220c0