// File: /workspace/github_cpp_makefile_star2_O1/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, 0x11f470(%rip)    # 0x1448d8
je 0x2603b
cvtsd2ss 0x11f42a(%rip), %xmm0   # 0x1448a0
cvtsd2ss 0x11f42a(%rip), %xmm1   # 0x1448a8
cvtsd2ss 0x11f42a(%rip), %xmm2   # 0x1448b0
movss 0xb6b76(%rip), %xmm3    # 0xdc004
callq 0x21e30
movl $0x4100, %edi           # imm = 0x4100
callq 0x211e0
cmpl $0x0, 0x11f43c(%rip)    # 0x1448e0
je 0x254b2
movl $0xb44, %edi            # imm = 0xB44
callq 0x211f0
jmp 0x254bc
movl $0xb44, %edi            # imm = 0xB44
callq 0x21810
movq 0x11f425(%rip), %rdi    # 0x1448e8
addq $0x8, %rdi
xorl %esi, %esi
callq 0x4096c
cmpl $0x0, 0x11f41b(%rip)    # 0x1448f0
je 0x25554
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movss 0xb6b1f(%rip), %xmm0    # 0xdc008
callq 0x22150
movsd 0xb6b22(%rip), %xmm1    # 0xdc018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e80
movq 0x11f3d0(%rip), %rbx    # 0x1448d8
movq 0x11f3e9(%rip), %r14    # 0x1448f8
testq %r14, %r14
je 0x2553b
cmpl $0x0, 0xc(%r14)
jle 0x25547
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r15,8), %rsi
movq %rbx, %rdi
callq 0x27f62
incq %r15
movslq 0xc(%r14), %rax
cmpq %rax, %r15
jl 0x2551e
jmp 0x25547
leaq 0x78(%rbx), %rsi
movq %rbx, %rdi
callq 0x27f62
movss 0xb6ab5(%rip), %xmm0    # 0xdc004
callq 0x22150
cmpl $0x0, 0x11f3a5(%rip)    # 0x144900
je 0x2581c
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb6aa5(%rip), %xmm0    # 0xdc018
movapd %xmm0, %xmm1
movapd %xmm0, %xmm2
callq 0x21e80
movss 0xb6a80(%rip), %xmm0    # 0xdc008
callq 0x22150
movq 0x11f344(%rip), %rbx    # 0x1448d8
movq (%rbx), %rdi
callq 0x3c988
movq %rax, %rdi
callq 0x6e16c
cmpl $0x0, 0x24(%rbx)
jle 0x2580f
mulsd 0xb6a6a(%rip), %xmm0    # 0xdc020
movsd 0xb6a6a(%rip), %xmm1    # 0xdc028
mulsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rsp)
movsd 0xb6a60(%rip), %xmm1    # 0xdc030
mulsd %xmm0, %xmm1
movsd %xmm1, 0x38(%rsp)
movsd 0xb6a56(%rip), %xmm1    # 0xdc038
movsd %xmm0, 0x8(%rsp)
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
xorl %r12d, %r12d
leaq 0xe0(%rsp), %rbp
movq %rbx, 0x20(%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 0x21e80
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x42920
cmpl %eax, %ebp
jne 0x256d7
addq $0x50, %r13
movq %r15, %rbp
movq %r15, %rdi
movq %r13, %rsi
callq 0x76d62
movl $0x1, %edi
callq 0x21190
movq (%rbx), %rdi
callq 0x3c988
movq (%rax), %rcx
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq *0x68(%rcx)
leaq 0x50(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movsd 0x8(%rsp), %xmm0
callq 0x77722
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x76ce1
movq %r15, %rdi
callq 0x211b0
movq %r13, %rdi
movq %rbp, %rsi
movsd 0x18(%rsp), %xmm0
callq 0x77722
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x76ce1
movq %r15, %rdi
callq 0x211b0
callq 0x21c60
jmp 0x257e3
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x420a4
cmpl %eax, %ebp
jne 0x25731
addq $0x50, %r13
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x762ca
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
movsd 0x30(%rsp), %xmm0
callq 0x6b536
movl $0x772, %esi            # imm = 0x772
movq %r15, %rdi
callq 0x470b0
movq %rbp, %rdi
callq 0x6e944
jmp 0x257de
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
movl %eax, %ebp
callq 0x41cb0
cmpl %eax, %ebp
jne 0x257f5
leaq 0x50(%r13), %rsi
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x762ca
subq $-0x80, %r13
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x76d62
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
movsd 0x30(%rsp), %xmm0
callq 0x6b536
movl $0x772, %esi            # imm = 0x772
movq %r15, %rdi
callq 0x470b0
movq %rbp, %rdi
callq 0x6e944
movl $0x1, %edi
callq 0x21190
movq %r14, %rdi
callq 0x211b0
leaq 0x50(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movsd 0x38(%rsp), %xmm0
callq 0x77722
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x76605
movq %rbp, %rdi
callq 0x211b0
callq 0x21c60
movq 0x20(%rsp), %rbx
incq %r12
movslq 0x24(%rbx), %rax
cmpq %rax, %r12
jl 0x25602
jmp 0x2580f
movq (%r13), %rax
movq %r13, %rdi
callq *0x78(%rax)
leaq 0xb69da(%rip), %rdi     # 0xdc1e0
movl %eax, %esi
xorl %eax, %eax
callq 0x8b53a
movss 0xb67ed(%rip), %xmm0    # 0xdc004
callq 0x22150
cmpl $0x0, 0x11f0e1(%rip)    # 0x144904
je 0x25851
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb67e1(%rip), %xmm1    # 0xdc018
xorps %xmm0, %xmm0
movaps %xmm1, %xmm2
callq 0x21e80
movq 0x11f08f(%rip), %rdi    # 0x1448d8
movq (%rdi), %rsi
callq 0x261bf
cmpl $0x0, 0x11f0b0(%rip)    # 0x144908
je 0x25b45
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb67a8(%rip), %xmm1    # 0xdc018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e80
movss 0xb6789(%rip), %xmm0    # 0xdc00c
callq 0x22150
movq 0x11f049(%rip), %rbx    # 0x1448d8
leaq 0x68(%rsp), %rdi
callq 0x762b8
leaq 0x50(%rsp), %r12
movq %r12, %rdi
callq 0x76d50
movslq 0x110(%rbx), %rax
imulq $0x66666667, %rax, %rsi # imm = 0x66666667
movq %rsi, %rcx
shrq $0x3f, %rcx
sarq $0x22, %rsi
addl %ecx, %esi
movslq 0x114(%rbx), %rcx
imulq $0x66666667, %rcx, %rdi # imm = 0x66666667
movq %rdi, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rdi
addl %edx, %edi
leal 0x9(%rax), %edx
cmpl $0x13, %edx
movl $0x1, %edx
cmovbl %edx, %esi
addl $0x9, %ecx
cmpl $0x13, %ecx
cmovbl %edx, %edi
movq %rdi, 0x20(%rsp)
movl %esi, %ecx
shrl $0x1f, %ecx
movq %rsi, 0x40(%rsp)
addl %esi, %ecx
sarl %ecx
movl %ecx, 0x14(%rsp)
cmpl %eax, %ecx
jge 0x25b38
movq 0x20(%rsp), %rax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, 0x2c(%rsp)
leaq 0x118(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x68(%rsp), %rbp
leaq 0xb8(%rsp), %r15
movl 0x2c(%rsp), %eax
cmpl 0x114(%rbx), %eax
jge 0x25b20
xorps %xmm0, %xmm0
cvtsi2sdl 0x14(%rsp), %xmm0
movsd %xmm0, 0x30(%rsp)
movl 0x2c(%rsp), %r14d
movq 0x11ef80(%rip), %rsi    # 0x1448e8
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
leaq 0x88(%rsp), %r13
movq %r13, %rdi
movsd 0x30(%rsp), %xmm0
callq 0x3f3f2
leaq 0x11a75b(%rip), %rax    # 0x1400e8
movsd (%rax), %xmm1
xorpd %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xd8(%rsp), %rdx
leaq 0x80(%rsp), %rcx
leaq 0xd0(%rsp), %r8
movq %rbp, %r9
leaq 0x48(%rsp), %rax
pushq %rax
pushq %r12
callq 0x29142
addq $0x10, %rsp
testl %eax, %eax
je 0x25b0e
movq 0x80(%rsp), %rax
testq %rax, %rax
movl %r14d, 0x8(%rsp)
je 0x259e7
movq 0x18(%rax), %r12
jmp 0x259ea
xorl %r12d, %r12d
movq %r15, %rdi
movq 0x38(%rsp), %rsi
callq 0x88512
testq %r12, %r12
leaq 0x50(%rsp), %rbp
leaq 0xe0(%rsp), %r14
je 0x25a60
leaq 0x80(%r12), %rsi
movq %r15, %rdi
callq 0x885e2
cmpl $0x0, 0x24(%rbx)
jle 0x25a60
xorl %r13d, %r13d
movq 0x18(%rbx), %rax
movq (%rax,%r13,8), %rsi
movq 0x11eeb7(%rip), %rcx    # 0x1448e8
addq $0x8, %rcx
movq (%rsi), %rax
movq %r14, %rdi
movq %r12, %rdx
leaq 0x68(%rsp), %r8
movq %rbp, %r9
callq *0x58(%rax)
movq %r15, %rdi
movq %r14, %rsi
callq 0x885e2
incq %r13
movslq 0x24(%rbx), %rax
cmpq %rax, %r13
jl 0x25a22
movsd 0xb8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movsd 0xc8(%rsp), %xmm2
callq 0x21e80
movsd 0x48(%rsp), %xmm0
mulsd 0xb659a(%rip), %xmm0    # 0xdc028
movq %r14, %rdi
leaq 0x68(%rsp), %rbp
movq %rbp, %rsi
movsd %xmm0, 0x18(%rsp)
callq 0x6b536
movl $0x772, %esi            # imm = 0x772
movq %r14, %rdi
callq 0x470b0
movq %r14, %rdi
callq 0x6e944
movsd 0x18(%rsp), %xmm0
addsd %xmm0, %xmm0
leaq 0x1f8(%rsp), %r13
movq %r13, %rdi
leaq 0x50(%rsp), %rsi
callq 0x77722
leaq 0x210(%rsp), %r12
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x76605
movq %r14, %rdi
movq %rbp, %rsi
movq %r12, %rdx
leaq 0x50(%rsp), %r12
callq 0x7573e
movq %r14, %rdi
callq 0x45976
movl 0x8(%rsp), %r14d
addl 0x20(%rsp), %r14d
cmpl 0x114(%rbx), %r14d
jl 0x25961
movl 0x14(%rsp), %eax
addl 0x40(%rsp), %eax
movl %eax, 0x14(%rsp)
cmpl 0x110(%rbx), %eax
jl 0x2593d
movss 0xb64c4(%rip), %xmm0    # 0xdc004
callq 0x22150
cmpq $0x0, 0x11edc3(%rip)    # 0x144910
je 0x25be4
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movb 0x11ede5(%rip), %al     # 0x144948
testb %al, %al
je 0x2609c
movq 0x11ed9e(%rip), %rsi    # 0x144910
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
callq 0x3cd0e
movq %rbx, %rdi
callq 0x45806
movsd 0xb6486(%rip), %xmm0    # 0xdc018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21e80
movss 0xb6467(%rip), %xmm0    # 0xdc00c
callq 0x22150
movq 0x11ed5f(%rip), %rdi    # 0x144910
movl $0x1, %esi
xorl %edx, %edx
callq 0x3d69c
movss 0xb643f(%rip), %xmm0    # 0xdc004
callq 0x22150
leaq 0xe0(%rsp), %rdi
callq 0x45842
leaq 0xe0(%rsp), %rdi
callq 0x70878
cmpl $0x0, 0x119dc5(%rip)    # 0x13f9b0
je 0x25c7f
cmpl $0x2, 0x11ece8(%rip)    # 0x1448e0
jne 0x25c7f
movl $0xb50, %edi            # imm = 0xB50
callq 0x21810
leaq 0x11a4a9(%rip), %rax    # 0x1400b8
movsd (%rax), %xmm0
movsd 0x8(%rax), %xmm1
movsd 0x10(%rax), %xmm2
callq 0x21e80
movq 0x11ecaf(%rip), %rdi    # 0x1448d8
movzbl 0x11ed20(%rip), %esi    # 0x144950
movl $0x7, %edx
callq 0x2914a
movsd 0xb63fe(%rip), %xmm1    # 0xdc040
xorps %xmm0, %xmm0
callq 0x22060
movl $0xb44, %edi            # imm = 0xB44
callq 0x21810
movq 0x11ec7d(%rip), %rdi    # 0x1448d8
movl $0x772, %esi            # imm = 0x772
callq 0x29448
movl $0xb44, %edi            # imm = 0xB44
callq 0x211f0
movsd 0xb63a1(%rip), %xmm1    # 0xdc018
xorps %xmm0, %xmm0
callq 0x22060
cmpl $0x0, 0x119d2a(%rip)    # 0x13f9b0
je 0x25cd5
movl $0xb50, %edi            # imm = 0xB50
callq 0x21810
leaq 0x11a41f(%rip), %rax    # 0x1400b8
movsd (%rax), %xmm0
movsd 0x8(%rax), %xmm1
movsd 0x10(%rax), %xmm2
callq 0x21e80
movq 0x11ec25(%rip), %rdi    # 0x1448d8
movzbl 0x11ec96(%rip), %esi    # 0x144950
movl $0x7, %edx
callq 0x2914a
movq 0x11ec0d(%rip), %rdi    # 0x1448d8
movl $0x772, %esi            # imm = 0x772
callq 0x29448
cmpl $0x0, 0x11ec78(%rip)    # 0x144954
je 0x25d0c
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb6328(%rip), %xmm1    # 0xdc018
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
callq 0x21e80
movq 0x11ebd6(%rip), %rdi    # 0x1448d8
movl $0x1, %esi
callq 0x29448
cmpl $0x0, 0x11ec45(%rip)    # 0x144958
je 0x25d41
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb62f1(%rip), %xmm0    # 0xdc018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x21e80
movq 0x11eb9f(%rip), %rax    # 0x1448d8
movq (%rax), %rdi
callq 0x26385
cmpl $0x0, 0x11ec14(%rip)    # 0x14495c
je 0x25f74
movq 0x11eb83(%rip), %rax    # 0x1448d8
movq (%rax), %rdi
callq 0x3c988
movq %rax, %rdi
callq 0x6e16c
mulsd 0xb62b3(%rip), %xmm0    # 0xdc020
movsd %xmm0, 0x8(%rsp)
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movss 0xb6287(%rip), %xmm0    # 0xdc00c
callq 0x22150
movl $0x3, %edi
callq 0x21190
movss 0xb6268(%rip), %xmm0    # 0xdc004
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x22300
movsd 0xb6271(%rip), %xmm0    # 0xdc020
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
leaq 0xb9026(%rip), %rsi     # 0xdede8
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x77722
leaq 0x121fb7(%rip), %rbx    # 0x147d90
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
leaq 0xb8fa2(%rip), %rsi     # 0xdeda0
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x77722
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
callq 0x21c60
movl $0x3, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movss 0xb61b5(%rip), %xmm1    # 0xdc004
callq 0x22300
leaq 0xb8fa5(%rip), %rsi     # 0xdee00
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x18(%rsp), %xmm0
callq 0x77722
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
leaq 0xb8f22(%rip), %rsi     # 0xdedb8
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x77722
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
callq 0x21c60
movl $0x3, %edi
callq 0x21190
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movss 0xb611d(%rip), %xmm2    # 0xdc004
callq 0x22300
leaq 0xb8f25(%rip), %rsi     # 0xdee18
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x18(%rsp), %xmm0
callq 0x77722
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
leaq 0xb8ea2(%rip), %rsi     # 0xdedd0
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x77722
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76605
movq %r15, %rdi
callq 0x211b0
callq 0x21c60
movss 0xb6095(%rip), %xmm0    # 0xdc004
callq 0x22150
cmpl $0x0, 0x11e9e5(%rip)    # 0x144960
je 0x2602c
movb 0x11e9f1(%rip), %al     # 0x144978
testb %al, %al
je 0x2611f
leaq 0x11e9d2(%rip), %rbx    # 0x144968
movq %rbx, %rdi
callq 0x88182
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21fc0
movsd 0x8(%rsp), %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jbe 0x2602c
movsd 0xb6082(%rip), %xmm0    # 0xdc048
ucomisd %xmm1, %xmm0
jbe 0x2602c
movl $0xb50, %edi            # imm = 0xB50
callq 0x211f0
movsd 0xb603a(%rip), %xmm0    # 0xdc018
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x21e80
movsd 0xb6027(%rip), %xmm0    # 0xdc018
divsd 0x8(%rsp), %xmm0
leaq 0xb6184(%rip), %rsi     # 0xdc182
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
movb $0x1, %al
callq 0x21140
movq 0x11e8d1(%rip), %rdi    # 0x1448e8
movsd 0xb6031(%rip), %xmm0    # 0xdc050
movaps %xmm0, %xmm1
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3fc88
cmpq $0x0, 0x11e94c(%rip)    # 0x144980
jne 0x2604d
callq 0xcf464
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x119961(%rip), %esi    # 0x13f9b4
movl 0x11995f(%rip), %edx    # 0x13f9b8
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
movl $0x3, %ecx
callq 0x836ae
movq %rbx, %rdi
callq 0x84138
movq 0x11e903(%rip), %rsi    # 0x144980
leaq 0xe0(%rsp), %rdi
callq 0x854e8
movl 0x11e840(%rip), %edi    # 0x1448d0
callq 0xd5754
xorl %edi, %edi
callq 0x21b10
leaq 0x11e8a5(%rip), %rdi    # 0x144948
callq 0x22140
testl %eax, %eax
je 0x25b6b
movl $0xb8, %edi
callq 0x218c0
movq %rax, %r14
movsd 0xb5f53(%rip), %xmm0    # 0xdc018
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %rax, %rdi
movaps %xmm0, %xmm4
movaps %xmm0, %xmm5
xorl %esi, %esi
callq 0x44582
leaq 0x11e833(%rip), %rdi    # 0x144918
leaq 0xb608c(%rip), %rdx     # 0xdc178
movq %r14, %rsi
callq 0x440f8
leaq 0x1e0b3(%rip), %rdi     # 0x441ae
leaq 0x11e816(%rip), %rsi    # 0x144918
leaq 0x11989f(%rip), %rdx    # 0x13f9a8
callq 0x217d0
leaq 0x11e833(%rip), %rdi    # 0x144948
callq 0x215d0
jmp 0x25b6b
leaq 0x11e852(%rip), %rdi    # 0x144978
callq 0x22140
testl %eax, %eax
je 0x25f8f
leaq 0x11e82e(%rip), %rdi    # 0x144968
callq 0x88120
leaq 0x11e832(%rip), %rdi    # 0x144978
callq 0x215d0
jmp 0x25f8f
movq %rax, %rbx
leaq 0x11e81e(%rip), %rdi    # 0x144978
jmp 0x26178
movq %rax, %rbx
movl $0xb8, %esi
movq %r14, %rdi
callq 0x218e0
jmp 0x26171
movq %rax, %rbx
leaq 0x11e7d0(%rip), %rdi    # 0x144948
callq 0x215b0
jmp 0x261b7
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x83916
jmp 0x261b7
jmp 0x261a7
jmp 0x261a7
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x70878
jmp 0x261b7
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x6e944
movq %rbx, %rdi
callq 0x220d0