LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/./R3Mesh.h
// Function: gaps::R3Mesh::Draw(gaps::RNFlags) const
inline void R3Mesh:: 
Draw(const R3DrawFlags draw_flags) const
{
  // Draw the mesh
  if (draw_flags[R3_SURFACES_DRAW_FLAG]) DrawFaces(draw_flags);
  else if (draw_flags[R3_EDGES_DRAW_FLAG]) DrawEdges(draw_flags);
  else DrawVertices(draw_flags);
}

// Assembly:
testb $0x2, %sil
jne 0x24749
movq (%rdi), %rax
testb $0x1, %sil
jne 0x24753
addq $0x128, %rax            # imm = 0x128
jmp 0x24759
movl $0x138, %eax            # imm = 0x138
addq (%rdi), %rax
jmp 0x24759
addq $0x130, %rax            # imm = 0x130
movq (%rax), %rax
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/../../pkgs/RNBasics/RNHeap.cpp
// Function: gaps::RNHeap<gaps::R3MeshBoundaryVertexData*>::BubbleUp(int)
int RNHeap<PtrType>::
BubbleUp(int index)
{
  // Move data up tree to rightful place
  while (index > 0) {
    int parent_index = ((index - 1) >> 1);

    // Compare values
    if (Compare(index, parent_index) >= 0) break;

    // Swap values
    Swap(index, parent_index);

    // Move up tree
    index = parent_index;
  }

  // Return new index
  return index;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
testl %esi, %esi
jle 0x24bf3
movq %rdi, %rbx
leal -0x1(%r14), %r15d
movl %r15d, %ebp
shrl %ebp
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x24c04
testl %eax, %eax
jns 0x24bf3
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x24c62
movl %ebp, %r14d
cmpl $0x1, %r15d
ja 0x24bc1
jmp 0x24bf6
movl %r14d, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/../../pkgs/RNBasics/RNHeap.cpp
// Function: gaps::RNHeap<gaps::R3MeshBoundaryVertexData*>::Compare(int, int) const
int RNHeap<PtrType>::
Compare(int i, int j) const
{
  // Get values
  RNScalar value1 = Value(i);
  RNScalar value2 = Value(j);

  // Compare values
  if (least_first) { 
    if (value1 < value2) return -1;
    else if (value1 > value2) return 1;
    else return 0;
  }
  else {
    if (value1 > value2) return -1;
    else if (value1 < value2) return 1;
    else return 0;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
callq 0x24ce2
movsd %xmm0, (%rsp)
movq %r14, %rdi
movl %ebx, %esi
callq 0x24ce2
cmpl $0x0, 0x30(%r14)
je 0x24c40
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movsd (%rsp), %xmm1
ucomisd %xmm1, %xmm0
ja 0x24c59
xorl %eax, %eax
ucomisd %xmm0, %xmm1
jmp 0x24c56
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movsd (%rsp), %xmm1
ucomisd %xmm0, %xmm1
ja 0x24c59
xorl %eax, %eax
ucomisd %xmm1, %xmm0
seta %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/../../pkgs/RNBasics/RNHeap.cpp
// Function: gaps::RNHeap<gaps::R3MeshBoundaryVertexData*>::Swap(int, int)
void RNHeap<PtrType>::
Swap(int i, int j)
{
  // Swap entries
  PtrType swap = entries[i];
  entries[i] = entries[j];
  entries[j] = swap;
  
  // Update entry backpointers
  if (entry_offset >= 0) {
    *((PtrType **) ((unsigned char *) entries[i] + entry_offset)) = &entries[i];
    *((PtrType **) ((unsigned char *) entries[j] + entry_offset)) = &entries[j];
  }
  if (entry_callback) {
    *((PtrType **) (*entry_callback)(entries[i], callback_data)) = &entries[i];
    *((PtrType **) (*entry_callback)(entries[j], callback_data)) = &entries[j];
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rcx
movslq %esi, %rax
movq (%rcx,%rax,8), %rsi
movslq %edx, %r14
movq (%rcx,%r14,8), %rdx
movq %rdx, (%rcx,%rax,8)
movq (%rdi), %rcx
movq %rsi, (%rcx,%r14,8)
movslq 0x14(%rdi), %rcx
testq %rcx, %rcx
js 0x24cab
movq (%rbx), %rdx
leaq (%rdx,%rax,8), %rdx
movq (%rdx), %rsi
movq %rdx, (%rsi,%rcx)
movq (%rbx), %rdx
leaq (%rdx,%r14,8), %rdx
movq (%rdx), %rsi
movq %rdx, (%rsi,%rcx)
movq 0x20(%rbx), %rcx
testq %rcx, %rcx
je 0x24cdb
movq (%rbx), %rdx
movq 0x28(%rbx), %rsi
leaq (%rdx,%rax,8), %r15
movq (%r15), %rdi
callq *%rcx
movq %r15, (%rax)
movq (%rbx), %rax
movq 0x28(%rbx), %rsi
leaq (%rax,%r14,8), %r14
movq (%r14), %rdi
callq *0x20(%rbx)
movq %r14, (%rax)
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/../../pkgs/RNBasics/RNHeap.cpp
// Function: gaps::RNHeap<gaps::R3MeshBoundaryVertexData*>::Value(int) const
RNScalar RNHeap<PtrType>::
Value(int i) const
{
  // Return value}
  if (value_offset >= 0) {
    return *((RNScalar *) ((unsigned char *) entries[i] + value_offset));
  }
  else if (value_callback) {
    return (*value_callback)(entries[i], callback_data);
  }
  else {
    RNAbort("No heap value callback or offset\n");
    return 0;
  }
}

// Assembly:
movslq 0x10(%rdi), %rax
testq %rax, %rax
js 0x24cfb
movq (%rdi), %rcx
movslq %esi, %rdx
movq (%rcx,%rdx,8), %rcx
movsd (%rcx,%rax), %xmm0
retq
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x24d14
movslq %esi, %rcx
movq (%rdi), %rdx
movq 0x28(%rdi), %rsi
movq (%rdx,%rcx,8), %rdi
jmpq *%rax
pushq %rax
leaq 0x7ddec(%rip), %rdi     # 0xa2b08
xorl %eax, %eax
callq 0x718f6
xorps %xmm0, %xmm0
addq $0x8, %rsp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Sphere.cpp
// Function: gaps::R3Sphere::ClosestPoint(gaps::R3Point const&) const
const R3Point R3Sphere::
ClosestPoint(const R3Point& point) const
{
    // Return closest point in sphere
    if (radius <= 0) return center;
    R3Vector v = point - Center();
    RNLength d = v.Length();
    if (d < radius) return point;
    else return center + radius * v / d;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r12
movq %rdi, %rbx
xorpd %xmm0, %xmm0
ucomisd 0x20(%rsi), %xmm0
jae 0x2701c
movq %rdx, %r15
leaq 0x8(%r12), %r14
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rdx, %rsi
movq %r14, %rdx
callq 0x3c78e
movq %r13, %rdi
callq 0x3d0cc
movapd %xmm0, %xmm1
movsd 0x20(%r12), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x2702d
movq %rbx, %rdi
movq %r15, %rsi
jmp 0x27026
addq $0x8, %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3c542
jmp 0x27067
leaq 0x20(%rsp), %r15
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
movsd %xmm1, (%rsp)
callq 0x3d962
leaq 0x38(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x3dcac
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3c877
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Sphere.cpp
// Function: gaps::R3Sphere::FurthestPoint(gaps::R3Point const&) const
const R3Point R3Sphere::
FurthestPoint(const R3Point& point) const
{
    // Return furthest point in sphere
    if (radius <= 0) return center;
    R3Vector v = point - Center();
    RNLength d = v.Length();
    if (RNIsZero(d)) return R3Point(center[0] + radius, center[1], center[2]);
    else return center - radius * v / d;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorpd %xmm0, %xmm0
ucomisd 0x20(%rsi), %xmm0
jae 0x270fc
leaq 0x8(%r14), %r15
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
movq %r15, %rdx
callq 0x3c78e
movq %r12, %rdi
callq 0x3d0cc
movapd %xmm0, %xmm2
leaq 0xbeada(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm0
movapd 0x7af56(%rip), %xmm1    # 0xa2020
xorpd %xmm0, %xmm1
ucomisd %xmm1, %xmm2
jb 0x2710d
ucomisd %xmm2, %xmm0
jb 0x2710d
movsd 0x8(%r14), %xmm0
movsd 0x10(%r14), %xmm1
addsd 0x20(%r14), %xmm0
movsd 0x18(%r14), %xmm2
movq %rbx, %rdi
callq 0x3c532
jmp 0x2714f
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3c542
jmp 0x2714f
movsd 0x20(%r14), %xmm0
leaq 0x28(%rsp), %r14
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movsd %xmm2, 0x8(%rsp)
callq 0x3d962
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movsd 0x8(%rsp), %xmm0
callq 0x3dcac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x3cf53
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::Corner(int) const
const R3Point R3Box::
Corner (RNOctant octant) const
{
    // Return corner point 
    switch (octant) {
    case RN_NNN_OCTANT: return minpt;
    case RN_NNP_OCTANT: return R3Point(minpt.X(), minpt.Y(), maxpt.Z());
    case RN_NPN_OCTANT: return R3Point(minpt.X(), maxpt.Y(), minpt.Z());
    case RN_NPP_OCTANT: return R3Point(minpt.X(), maxpt.Y(), maxpt.Z());
    case RN_PNN_OCTANT: return R3Point(maxpt.X(), minpt.Y(), minpt.Z());
    case RN_PNP_OCTANT: return R3Point(maxpt.X(), minpt.Y(), maxpt.Z());
    case RN_PPN_OCTANT: return R3Point(maxpt.X(), maxpt.Y(), minpt.Z());
    case RN_PPP_OCTANT: return maxpt;
    default: RNAbort("Invalid octant for box corner"); return R3null_point;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x7, %edx
ja 0x275d8
movl %edx, %eax
leaq 0x7b718(%rip), %rcx     # 0xa2c7c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rsi
jmp 0x275ed
movsd 0x20(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
jmp 0x27589
movsd 0x28(%rsi), %xmm1
movsd 0x8(%rsi), %xmm0
movsd 0x18(%rsi), %xmm2
jmp 0x275ce
movsd 0x8(%rsi), %xmm0
movsd 0x28(%rsi), %xmm1
jmp 0x275b8
addq $0x20, %rsi
jmp 0x275ed
movsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
jmp 0x275b8
movsd 0x10(%rsi), %xmm1
movsd 0x20(%rsi), %xmm0
movsd 0x30(%rsi), %xmm2
jmp 0x275ce
movsd 0x18(%rsi), %xmm2
movsd 0x20(%rsi), %xmm0
movsd 0x28(%rsi), %xmm1
movq %rbx, %rdi
callq 0x3c532
jmp 0x275f5
leaq 0x7b6e7(%rip), %rdi     # 0xa2cc6
xorl %eax, %eax
callq 0x718f6
leaq 0x4bf473(%rip), %rsi    # 0x4e6a60
movq %rbx, %rdi
callq 0x3c542
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::Plane(int, int) const
const R3Plane R3Box::
Plane (RNDirection dir, RNDimension dim) const
{
    // Return plane along side
    R3Vector v = R3xyz_triad[dim]; 
    RNCoord d = (*this)[dir][dim];
    if (dir == RN_LO) return R3Plane(-v, d);
    else return R3Plane(v, -d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movslq %ecx, %r15
leaq (%r15,%r15,2), %rsi
shlq $0x3, %rsi
addq 0xbd94a(%rip), %rsi     # 0xe4fb0
leaq 0x18(%rsp), %rdi
callq 0x3cfd6
leaq 0x20(%r14), %rax
addq $0x8, %r14
testl %ebp, %ebp
cmovneq %rax, %r14
movsd (%r14,%r15,8), %xmm0
je 0x27697
xorps 0x7a993(%rip), %xmm0    # 0xa2020
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
jmp 0x276b7
leaq 0x30(%rsp), %r14
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
movaps %xmm0, (%rsp)
callq 0x3dc00
movq %rbx, %rdi
movq %r14, %rsi
movaps (%rsp), %xmm0
callq 0x3b08e
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::Octant(int, int, int) const
const R3Box R3Box::
Octant (RNDirection xdir, RNDirection ydir, RNDirection zdir) const
{
    // Return box in octant (xdir, ydir, zdir)
    R3Box result;
    R3Point centroid = Centroid();
    if (xdir == RN_HI) { result[RN_LO][RN_X] = centroid[RN_X]; result[RN_HI][RN_X] = maxpt[RN_X]; }
    else { result[RN_LO][RN_X] = minpt[RN_X]; result[RN_HI][RN_X] = centroid[RN_X]; }
    if (ydir == RN_HI) { result[RN_LO][RN_Y] = centroid[RN_Y]; result[RN_HI][RN_Y] = maxpt[RN_Y]; }
    else { result[RN_LO][RN_Y] = minpt[RN_Y]; result[RN_HI][RN_Y] = centroid[RN_Y]; }
    if (zdir == RN_HI) { result[RN_LO][RN_Z] = centroid[RN_Z]; result[RN_HI][RN_Z] = maxpt[RN_Z]; }
    else { result[RN_LO][RN_Z] = minpt[RN_Z]; result[RN_HI][RN_Z] = centroid[RN_Z]; }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %r8d, %ebp
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rbx
callq 0x27290
movq (%r14), %rax
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq *0x68(%rax)
movsd 0x8(%rsp), %xmm0
cmpl $0x1, %r12d
je 0x2774f
movaps %xmm0, %xmm1
movsd 0x8(%r14), %xmm0
jmp 0x27755
movsd 0x20(%r14), %xmm1
movsd %xmm0, 0x8(%rbx)
movsd %xmm1, 0x20(%rbx)
movsd 0x10(%rsp), %xmm0
cmpl $0x1, %r15d
je 0x27773
movsd 0x10(%r14), %xmm1
jmp 0x2777c
movaps %xmm0, %xmm1
movsd 0x28(%r14), %xmm0
movsd %xmm1, 0x10(%rbx)
movsd %xmm0, 0x28(%rbx)
movsd 0x18(%rsp), %xmm0
cmpl $0x1, %ebp
je 0x27799
movsd 0x18(%r14), %xmm1
jmp 0x277a2
movaps %xmm0, %xmm1
movsd 0x30(%r14), %xmm0
movsd %xmm1, 0x18(%rbx)
movsd %xmm0, 0x30(%rbx)
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x280f4
movq %r14, %rdi
callq 0xe7e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::ClosestPoint(gaps::R3Point const&) const
const R3Point R3Box::
ClosestPoint(const R3Point& point) const
{
    // Return closest point in box
    R3Point closest(point);
    if (closest.X() < XMin()) closest[RN_X] = XMin();
    else if (closest.X() > XMax()) closest[RN_X] = XMax();
    if (closest.Y() < YMin()) closest[RN_Y] = YMin();
    else if (closest.Y() > YMax()) closest[RN_Y] = YMax();
    if (closest.Z() < ZMin()) closest[RN_Z] = ZMin();
    else if (closest.Z() > ZMax()) closest[RN_Z] = ZMax();
    return closest;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x3c542
movsd (%rbx), %xmm1
movsd 0x8(%r14), %xmm0
ucomisd %xmm1, %xmm0
ja 0x27966
movsd 0x20(%r14), %xmm0
ucomisd %xmm0, %xmm1
jbe 0x2796a
movsd %xmm0, (%rbx)
movsd 0x8(%rbx), %xmm1
movsd 0x10(%r14), %xmm0
ucomisd %xmm1, %xmm0
ja 0x27987
movsd 0x28(%r14), %xmm0
ucomisd %xmm0, %xmm1
jbe 0x2798c
movsd %xmm0, 0x8(%rbx)
movsd 0x10(%rbx), %xmm1
movsd 0x18(%r14), %xmm0
ucomisd %xmm1, %xmm0
ja 0x279a9
movsd 0x30(%r14), %xmm0
ucomisd %xmm0, %xmm1
jbe 0x279ae
movsd %xmm0, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::FurthestPoint(gaps::R3Point const&) const
const R3Point R3Box::
FurthestPoint(const R3Point& point) const
{
    // Return furthest point in box
    R3Point furthest(point);
    RNScalar x = (point.X() < XCenter()) ? XMax() : XMin();
    RNScalar y = (point.Y() < YCenter()) ? YMax() : YMin();
    RNScalar z = (point.Z() < ZCenter()) ? ZMax() : ZMin();
    return R3Point(x, y, z);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x3c542
movsd 0x20(%r15), %xmm1
movsd 0x8(%r15), %xmm2
movapd %xmm1, %xmm3
addsd %xmm2, %xmm3
mulsd 0x7a63b(%rip), %xmm3    # 0xa2030
movsd (%r14), %xmm0
cmpltsd %xmm3, %xmm0
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
movupd 0x8(%r14), %xmm1
movupd 0x28(%r15), %xmm2
movupd 0x10(%r15), %xmm3
movapd %xmm2, %xmm4
addpd %xmm3, %xmm4
mulpd 0x7a5e3(%rip), %xmm4    # 0xa2010
cmpltpd %xmm4, %xmm1
movmskpd %xmm1, %eax
movapd %xmm2, %xmm1
testb $0x1, %al
jne 0x27a42
movapd %xmm3, %xmm1
testb $0x2, %al
jne 0x27a50
unpckhpd %xmm3, %xmm3            # xmm3 = xmm3[1,1]
movapd %xmm3, %xmm2
jmp 0x27a54
unpckhpd %xmm2, %xmm2            # xmm2 = xmm2[1,1]
movq %rbx, %rdi
callq 0x3c532
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::Union(gaps::R3Point const&)
void R3Box::
Union (const R3Point& point) 
{
    // Expand this to include point
    if (IsEmpty()) {
        minpt = point;
        maxpt = point;
    }
    else {
        if (minpt.X() > point.X()) minpt[0] = point.X();
        if (minpt.Y() > point.Y()) minpt[1] = point.Y();
        if (minpt.Z() > point.Z()) minpt[2] = point.Z();
        if (maxpt.X() < point.X()) maxpt[0] = point.X();
        if (maxpt.Y() < point.Y()) maxpt[1] = point.Y();
        if (maxpt.Z() < point.Z()) maxpt[2] = point.Z();
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x8(%rdi), %rax
movsd 0x8(%rdi), %xmm4
movsd 0x20(%rdi), %xmm1
leaq 0x20(%rdi), %r14
ucomisd %xmm1, %xmm4
ja 0x27d6e
movsd 0x10(%rdi), %xmm5
movsd 0x28(%rdi), %xmm2
ucomisd %xmm2, %xmm5
ja 0x27d6e
movsd 0x18(%rdi), %xmm3
movsd 0x30(%rdi), %xmm0
ucomisd %xmm0, %xmm3
ja 0x27d6e
movsd (%rbx), %xmm6
ucomisd %xmm6, %xmm4
jbe 0x27d17
movsd %xmm6, (%rax)
movsd 0x8(%rbx), %xmm4
ucomisd %xmm4, %xmm5
jbe 0x27d27
movsd %xmm4, 0x10(%rdi)
movsd 0x10(%rbx), %xmm4
ucomisd %xmm4, %xmm3
jbe 0x27d37
movsd %xmm4, 0x18(%rdi)
movsd (%rbx), %xmm3
ucomisd %xmm1, %xmm3
jbe 0x27d46
movsd %xmm3, (%r14)
movsd 0x8(%rbx), %xmm1
ucomisd %xmm2, %xmm1
jbe 0x27d56
movsd %xmm1, 0x28(%rdi)
movsd 0x10(%rbx), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x27d66
movsd %xmm1, 0x30(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3c89a
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3c89a
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Box.cpp
// Function: gaps::R3Box::Union(gaps::R3Box const&)
void R3Box::
Union (const R3Box& box) 
{
    // Expand this to include box
    if (IsEmpty()) {
        *this = box;
    }
    else if (!box.IsEmpty()) {
        if (minpt.X() > box.XMin()) minpt[0] = box.XMin();
        if (minpt.Y() > box.YMin()) minpt[1] = box.YMin();
        if (minpt.Z() > box.ZMin()) minpt[2] = box.ZMin();
        if (maxpt.X() < box.XMax()) maxpt[0] = box.XMax();
        if (maxpt.Y() < box.YMax()) maxpt[1] = box.YMax();
        if (maxpt.Z() < box.ZMax()) maxpt[2] = box.ZMax();
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x8(%rdi), %rax
movsd 0x8(%rdi), %xmm5
movsd 0x20(%rdi), %xmm1
leaq 0x20(%rdi), %r14
ucomisd %xmm1, %xmm5
ja 0x27e5f
movsd 0x10(%rdi), %xmm4
movsd 0x28(%rdi), %xmm2
ucomisd %xmm2, %xmm4
ja 0x27e5f
movsd 0x18(%rdi), %xmm3
movsd 0x30(%rdi), %xmm0
ucomisd %xmm0, %xmm3
ja 0x27e5f
movsd 0x8(%rbx), %xmm7
ucomisd 0x20(%rbx), %xmm7
ja 0x27e57
movsd 0x10(%rbx), %xmm6
ucomisd 0x28(%rbx), %xmm6
ja 0x27e57
movsd 0x18(%rbx), %xmm8
ucomisd 0x30(%rbx), %xmm8
ja 0x27e57
ucomisd %xmm7, %xmm5
jbe 0x27e0c
movsd %xmm7, (%rax)
movsd 0x10(%rbx), %xmm6
ucomisd %xmm6, %xmm4
jbe 0x27e17
movsd %xmm6, 0x10(%rdi)
movsd 0x18(%rbx), %xmm4
ucomisd %xmm4, %xmm3
jbe 0x27e27
movsd %xmm4, 0x18(%rdi)
movsd 0x20(%rbx), %xmm3
ucomisd %xmm1, %xmm3
jbe 0x27e37
movsd %xmm3, (%r14)
movsd 0x28(%rbx), %xmm1
ucomisd %xmm2, %xmm1
jbe 0x27e47
movsd %xmm1, 0x28(%rdi)
movsd 0x30(%rbx), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x27e57
movsd %xmm1, 0x30(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x8(%rbx), %rsi
movq %rax, %rdi
callq 0x3c89a
addq $0x20, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3c89a
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Affine.cpp
// Function: gaps::R3Affine::InverseMatrix() const
const R4Matrix& R3Affine::
InverseMatrix(void) const
{
    // Update inverse matrix 
    if (!flags[R3_AFFINE_INVERSE_UPTODATE_FLAG]) {
        // Update inverse matrix
        R3Affine *affine = (R3Affine *) this;
	affine->inverse = matrix.Inverse();
	affine->flags.Add(R3_AFFINE_INVERSE_UPTODATE_FLAG);
    }

    // Return inverse matrix
    return inverse;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
testb $0x2, 0x108(%rdi)
jne 0x2a083
leaq 0x8(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2caea
leaq 0x88(%rbx), %rdi
movq %r14, %rsi
callq 0x2dea2
orb $0x2, 0x108(%rbx)
addq $0x88, %rbx
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Affine.cpp
// Function: gaps::R3Affine::Transform(gaps::R3Affine const&)
void R3Affine::
Transform(const R3Affine& affine) 
{
    // Transform affine transformation
    matrix = matrix * affine.matrix;
    if (affine.HasMirror()) Mirror();
    InvalidateInverse();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
leaq 0x8(%rsi), %rdx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x2e2af
movq %r15, %rdi
movq %r12, %rsi
callq 0x2dea2
movq 0x108(%rbx), %rax
andl $0x1, %eax
movq 0x108(%r14), %rcx
andq $-0x3, %rcx
xorq %rax, %rcx
movq %rcx, 0x108(%r14)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Affine.cpp
// Function: gaps::R3Affine::InverseTransform(gaps::R3Affine const&)
void R3Affine::
InverseTransform(const R3Affine& affine) 
{
    // Transform affine transformation
    matrix = matrix * affine.InverseMatrix();
    if (affine.HasMirror()) Mirror();
    InvalidateInverse();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
movq %rsi, %rdi
callq 0x2a046
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x2e2af
movq %r15, %rdi
movq %r12, %rsi
callq 0x2dea2
movq 0x108(%rbx), %rax
andl $0x1, %eax
movq 0x108(%r14), %rcx
andq $-0x3, %rcx
xorq %rax, %rcx
movq %rcx, 0x108(%r14)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Affine.cpp
// Function: gaps::R3Affine::Mirror(gaps::R3Plane const&)
void R3Affine::
Mirror(const R3Plane& plane)
{
  // Compute translation
  R3Vector translation = plane.D() * plane.Normal();

  // Compute dimension to rotate to and reflect across
  RNDimension dim = plane.Normal().MinDimension();
  R3Vector target_vector = R3xyz_triad[dim];

  // Compute rotation axis
  R3Vector rotation_axis = plane.Normal() % target_vector;
  RNLength rotation_axis_length = rotation_axis.Length();
  if (RNIsZero(rotation_axis_length)) return;
  rotation_axis /= rotation_axis_length;

  // Compute rotation angle
  RNAngle rotation_angle = R3InteriorAngle(plane.Normal(), target_vector);
  
  // Transform
  Translate(-translation);
  Rotate(rotation_axis, -rotation_angle);
  Mirror(dim);
  Rotate(rotation_axis, rotation_angle);
  Translate(translation);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movsd 0x18(%rsi), %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3d962
movq %r14, %rdi
callq 0x3d112
movl %eax, %ebp
cltq
leaq (%rax,%rax,2), %rsi
shlq $0x3, %rsi
addq 0xbaaaa(%rip), %rsi     # 0xe4fb0
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x3cfd6
leaq 0x18(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3d8fa
movq %r12, %rdi
callq 0x3d0cc
leaq 0xbb663(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm1
movapd 0x77adf(%rip), %xmm2    # 0xa2020
xorpd %xmm1, %xmm2
ucomisd %xmm2, %xmm0
jb 0x2a555
ucomisd %xmm0, %xmm1
jae 0x2a5fe
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x3db98
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x4bc63
movapd %xmm0, (%rsp)
leaq 0x60(%rsp), %r13
leaq 0x48(%rsp), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x3dc00
leaq 0x8(%rbx), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x2d3f8
andb $-0x3, 0x108(%rbx)
movaps 0x77a7a(%rip), %xmm0    # 0xa2020
xorps (%rsp), %xmm0
movq %r12, %rdi
movq %r15, %rsi
callq 0x2da22
andb $-0x3, 0x108(%rbx)
movsd 0x77a84(%rip), %xmm0    # 0xa2048
movq %r12, %rdi
movl %ebp, %esi
callq 0x2d516
xorb $0x1, 0x108(%rbx)
movq %r12, %rdi
movq %r15, %rsi
movapd (%rsp), %xmm0
callq 0x2da22
andb $-0x3, 0x108(%rbx)
movq %r12, %rdi
movq %r14, %rsi
callq 0x2d3f8
andb $-0x3, 0x108(%rbx)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Crdsys.cpp
// Function: gaps::R3CoordSystem::Matrix() const
const R4Matrix R3CoordSystem::
Matrix(void) const
{
    // Return matrix (std -> cs)
    R4Matrix m(R4identity_matrix);
    m.Translate(origin.Vector());
    m.Transform(axes.Matrix());
    return m;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x786d9(%rip), %rsi     # 0xa2e40
callq 0x2c2be
movsd (%r14), %xmm0
movsd 0x8(%r14), %xmm1
movsd 0x10(%r14), %xmm2
movq %rsp, %r15
movq %r15, %rdi
callq 0x3cfc6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2d3f8
addq $0x18, %r14
leaq 0x80(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2acce
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2e2af
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2dea2
movq %rbx, %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Crdsys.cpp
// Function: gaps::R3CoordSystem::InverseMatrix() const
const R4Matrix R3CoordSystem::
InverseMatrix(void) const
{
    // Return matrix (cs -> std)
    R4Matrix m(axes.InverseMatrix());
    m.Translate(-origin.Vector());
    return m;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
addq $0x18, %rsi
callq 0x2ad48
movsd (%rbx), %xmm0
movsd 0x8(%rbx), %xmm1
movsd 0x10(%rbx), %xmm2
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x3cfc6
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3dc00
movq %r14, %rdi
movq %r15, %rsi
callq 0x2d3f8
movq %r14, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Crdsys.cpp
// Function: gaps::R3CoordSystemSlerp(gaps::R3CoordSystem const&, gaps::R3CoordSystem const&, double)
R3CoordSystem
R3CoordSystemSlerp(const R3CoordSystem& cs0, const R3CoordSystem& cs1, RNScalar t)
{                            
  // Compute interpolated origin
  const R3Point& origin0 = cs0.Origin();
  const R3Point& origin1 = cs1.Origin();
  R3Point origin = (1-t)*origin0 + t*origin1;

  // Slerp orientation
  R3Quaternion q0(cs0.Matrix(), 0);
  R3Quaternion q1(cs1.Matrix(), 0);
  R3Quaternion q = R3QuaternionSlerp(q0, q1, t);

  // Compute interpolated axes
  R3Vector ax = q * R3posx_vector;
  R3Vector ay = q * R3posy_vector;
  ay.Normalize();
  R3Vector az = ax % ay;
  az.Normalize();
  ax = ay % az;
  ax.Normalize();
  R3Triad triad(ax, ay, az);

  // Return interpolated coordinate system
  return R3CoordSystem(origin, triad);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movapd %xmm0, %xmm1
movsd %xmm0, (%rsp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movsd 0x77686(%rip), %xmm0    # 0xa2038
subsd %xmm1, %xmm0
leaq 0x88(%rsp), %r13
movq %r13, %rdi
callq 0x3cf76
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x3cf76
leaq 0x70(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x3cf30
leaq 0x88(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x2a74e
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2b4f2
leaq 0x88(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x2a74e
leaq 0x128(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2b4f2
leaq 0x108(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movsd (%rsp), %xmm0
callq 0x2b21f
leaq 0x7dcb3(%rip), %rdx     # 0xa8710
leaq 0x58(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0x2bf84
leaq 0x7dcb4(%rip), %rdx     # 0xa8728
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x2bf84
movq %r12, %rdi
callq 0x3d2dc
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x3d8fa
movq %r13, %rdi
callq 0x3d2dc
leaq 0x88(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x3d8fa
movq %r15, %rdi
movq %rbp, %rsi
callq 0x3d752
movq %r15, %rdi
callq 0x3d2dc
leaq 0x88(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x2ab98
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3c542
movq %rbx, %rdi
addq $0x18, %rdi
movq %rbp, %rsi
callq 0x2ab46
movq %rbx, %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::R3Triad(gaps::R3Vector const&, gaps::R3Vector const&)
R3Triad::
R3Triad(const R3Vector& towards, const R3Vector& up)
{
    axis[2] = -towards;
    axis[2].Normalize();
    axis[0] = up % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorl %r12d, %r12d
leaq (%rbx,%r12), %rdi
callq 0x3cfc4
addq $0x18, %r12
cmpq $0x48, %r12
jne 0x2ac3d
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3dc00
leaq 0x30(%rbx), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x3d752
movq %r15, %rdi
callq 0x3d2dc
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3d8fa
addq $0x18, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::Rotate(gaps::R3Vector const&, double)
void R3Triad::
Rotate(const R3Vector& rotaxis, RNAngle radians)
{
    // Rotate each axis
    axis[0].Rotate(rotaxis, radians);
    axis[1].Rotate(rotaxis, radians);
    axis[2].Rotate(rotaxis, radians);
    axis[2].Normalize();
    axis[0] = axis[1] % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, %r14
callq 0x3d772
leaq 0x18(%r14), %rbx
movq %rbx, %rdi
movq %r15, %rsi
movsd 0x8(%rsp), %xmm0
callq 0x3d772
leaq 0x30(%r14), %r12
movq %r12, %rdi
movq %r15, %rsi
movsd 0x8(%rsp), %xmm0
callq 0x3d772
movq %r12, %rdi
callq 0x3d2dc
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x3d8fa
movq %r14, %rdi
movq %r15, %rsi
callq 0x3d752
movq %r14, %rdi
callq 0x3d2dc
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::Rotate(gaps::R3Vector const&, gaps::R3Vector const&)
void R3Triad::
Rotate(const R3Vector& from, const R3Vector& to)
{
    // Rotate each axis
    RNAngle angle = R3InteriorAngle(from, to);
    R3Vector rotaxis = from % to;
    rotaxis.Normalize();
    Rotate(rotaxis, angle);
    axis[2].Normalize();
    axis[0] = axis[1] % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x4bc63
movsd %xmm0, (%rsp)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %r12, %rdi
callq 0x3d2dc
movq %rbx, %rdi
movq %r12, %rsi
movsd (%rsp), %xmm0
callq 0x2ae14
leaq 0x30(%rbx), %r14
movq %r14, %rdi
callq 0x3d2dc
leaq 0x18(%rbx), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3d8fa
movq %r15, %rdi
movq %r12, %rsi
callq 0x3d752
movq %r15, %rdi
callq 0x3d2dc
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::Mirror(gaps::R3Plane const&)
void R3Triad::
Mirror(const R3Plane& plane)
{
    // Mirror each axis 
    axis[0].Mirror(plane);
    axis[1].Mirror(plane);
    axis[2].Mirror(plane);
    axis[2].Normalize();
    axis[0] = axis[1] % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %r14
callq 0x3dae6
leaq 0x18(%r14), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3dae6
leaq 0x30(%r14), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3dae6
movq %r12, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x3d8fa
movq %r14, %rdi
movq %r15, %rsi
callq 0x3d752
movq %r14, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::Transform(gaps::R3Transformation const&)
void R3Triad::
Transform(const R3Transformation& transformation)
{
    // Transform each axis 
    axis[0].Transform(transformation);
    axis[1].Transform(transformation);
    axis[2].Transform(transformation);
    axis[2].Normalize();
    axis[0] = axis[1] % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %r14
callq 0x3db46
leaq 0x18(%r14), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3db46
leaq 0x30(%r14), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3db46
movq %r12, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x3d8fa
movq %r14, %rdi
movq %r15, %rsi
callq 0x3d752
movq %r14, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Triad.cpp
// Function: gaps::R3Triad::InverseTransform(gaps::R3Transformation const&)
void R3Triad::
InverseTransform(const R3Transformation& transformation)
{
    // Transform each axis 
    axis[0].InverseTransform(transformation);
    axis[1].InverseTransform(transformation);
    axis[2].InverseTransform(transformation);
    axis[2].Normalize();
    axis[0] = axis[1] % axis[2];
    axis[0].Normalize();
    axis[1] = axis[2] % axis[0];
    axis[1].Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %r14
callq 0x3db58
leaq 0x18(%r14), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3db58
leaq 0x30(%r14), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3db58
movq %r12, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x3d8fa
movq %r14, %rdi
movq %r15, %rsi
callq 0x3d752
movq %r14, %rdi
callq 0x3d2dc
movq %rsp, %r15
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3d8fa
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3d752
movq %rbx, %rdi
callq 0x3d2dc
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::Normalize()
void R3Quaternion::
Normalize(void)
{
  // Normalize -- internal function because all R3Quaternions are normalized
  RNScalar sum = 0;
  sum += v[0]*v[0];
  sum += v[1]*v[1];
  sum += v[2]*v[2];
  sum += v[3]*v[3];
  RNScalar length = sqrt(sum);
  if (RNIsZero(length)) return;
  v[0] /= length;
  v[1] /= length;
  v[2] /= length;
  v[3] /= length;
}

// Assembly:
movupd (%rdi), %xmm1
movupd 0x10(%rdi), %xmm0
movapd %xmm1, %xmm2
mulsd %xmm1, %xmm2
xorpd %xmm3, %xmm3
addsd %xmm2, %xmm3
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
mulsd %xmm2, %xmm2
addsd %xmm3, %xmm2
movapd %xmm0, %xmm3
mulsd %xmm0, %xmm3
addsd %xmm2, %xmm3
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
mulsd %xmm2, %xmm2
addsd %xmm3, %xmm2
sqrtsd %xmm2, %xmm2
leaq 0xbaa02(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm3
movapd 0x76e7e(%rip), %xmm4    # 0xa2020
xorpd %xmm3, %xmm4
ucomisd %xmm4, %xmm2
jb 0x2b1b3
ucomisd %xmm2, %xmm3
jb 0x2b1b3
retq
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
divpd %xmm2, %xmm1
movupd %xmm1, (%rdi)
divpd %xmm2, %xmm0
movupd %xmm0, 0x10(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::R3Quaternion(gaps::R3Vector const&, double)
R3Quaternion::
R3Quaternion(const R3Vector& axis, RNAngle theta)
{
    RNAngle half_theta = 0.5 * theta;
    RNScalar sine_half_theta = sin(half_theta);
    R3Vector normalized_axis = axis;
    normalized_axis.Normalize();
    v[0] = cos(half_theta);
    v[1] = normalized_axis[0] * sine_half_theta; 
    v[2] = normalized_axis[1] * sine_half_theta; 
    v[3] = normalized_axis[2] * sine_half_theta; 
    Normalize();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
mulsd 0x76c33(%rip), %xmm0    # 0xa2030
movsd %xmm0, 0x8(%rsp)
callq 0xe0f0
movapd %xmm0, 0x10(%rsp)
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3cfd6
movq %r15, %rdi
callq 0x3d2dc
movsd 0x8(%rsp), %xmm0
callq 0xe860
movsd %xmm0, (%rbx)
movapd 0x10(%rsp), %xmm1
movapd %xmm1, %xmm0
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
mulpd (%r15), %xmm0
movupd %xmm0, 0x8(%rbx)
mulsd 0x10(%r15), %xmm1
movsd %xmm1, 0x18(%rbx)
movq %rbx, %rdi
callq 0x2b146
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::R3Quaternion(double const*)
R3Quaternion::
R3Quaternion(const RNScalar array[4])
{
    v[0] = array[0]; 
    v[1] = array[1]; 
    v[2] = array[2];
    v[3] = array[3];
    Normalize();
}

// Assembly:
movsd (%rsi), %xmm0
movsd %xmm0, (%rdi)
movsd 0x8(%rsi), %xmm0
movsd %xmm0, 0x8(%rdi)
movsd 0x10(%rsi), %xmm0
movsd %xmm0, 0x10(%rdi)
movsd 0x18(%rsi), %xmm0
movsd %xmm0, 0x18(%rdi)
jmp 0x2b146
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::operator==(gaps::R3Quaternion const&) const
const RNBoolean R3Quaternion::
operator==(const R3Quaternion& quaternion) const
{
    // Return whether quaternion is equal
    return ((v[0] == quaternion.v[0]) && 
            (v[1] == quaternion.v[1]) && 
            (v[2] == quaternion.v[2]) && 
            (v[3] == quaternion.v[3]));
}

// Assembly:
movsd (%rdi), %xmm0
xorl %eax, %eax
ucomisd (%rsi), %xmm0
jne 0x2bc1f
jp 0x2bc1f
movsd 0x8(%rdi), %xmm0
ucomisd 0x8(%rsi), %xmm0
jne 0x2bc1f
jp 0x2bc1f
movsd 0x10(%rdi), %xmm0
ucomisd 0x10(%rsi), %xmm0
jne 0x2bc1f
jp 0x2bc1f
movsd 0x18(%rsi), %xmm0
cmpeqsd 0x18(%rdi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::operator!=(gaps::R3Quaternion const&) const
const RNBoolean R3Quaternion::
operator!=(const R3Quaternion& quaternion) const
{
    // Return whether quaternion is not equal
    return ((v[0] != quaternion.v[0]) || 
            (v[1] != quaternion.v[1]) || 
            (v[2] != quaternion.v[2]) || 
            (v[3] != quaternion.v[3]));
}

// Assembly:
movsd (%rdi), %xmm0
movl $0x1, %eax
ucomisd (%rsi), %xmm0
jne 0x2bc31
jnp 0x2bc32
retq
movsd 0x8(%rdi), %xmm0
ucomisd 0x8(%rsi), %xmm0
jne 0x2bc31
jp 0x2bc31
movsd 0x10(%rdi), %xmm0
ucomisd 0x10(%rsi), %xmm0
jne 0x2bc31
jp 0x2bc31
movsd 0x18(%rsi), %xmm0
cmpneqsd 0x18(%rdi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Quaternion.cpp
// Function: gaps::R3Quaternion::Rotate(gaps::R3Vector const&)
void R3Quaternion:: 
Rotate(const R3Vector& xyz_radians)
{
    // Rotate first around X, then around Y, and finally around Z
    ZRotate(xyz_radians.Z());
    YRotate(xyz_radians.Y());
    XRotate(xyz_radians.X());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movsd 0x10(%rsi), %xmm0
leaq 0x7c8d7(%rip), %rsi     # 0xa8740
movq %rsp, %r15
movq %r15, %rdi
callq 0x2b3e6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2bc7e
movsd 0x8(%r14), %xmm0
leaq 0x7c89c(%rip), %rsi     # 0xa8728
movq %rsp, %r15
movq %r15, %rdi
callq 0x2b3e6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2bc7e
movsd (%r14), %xmm0
leaq 0x7c862(%rip), %rsi     # 0xa8710
movq %rsp, %r14
movq %r14, %rdi
callq 0x2b3e6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2bc7e
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::IsIsotropic() const
const RNBoolean R4Matrix::
IsIsotropic(void) const
{
    // Return whether matrix transformation is isotropic
    RNScalar d0 = m[0][0]*m[0][0] + m[1][0]*m[1][0] + m[2][0]*m[2][0];
    RNScalar d1 = m[0][1]*m[0][1] + m[1][1]*m[1][1] + m[2][1]*m[2][1];
    if (RNIsNotEqual(d0, d1)) return FALSE;
    RNScalar d2 = m[0][2]*m[0][2] + m[1][2]*m[1][2] + m[2][2]*m[2][2];
    if (RNIsNotEqual(d0, d2)) return FALSE;
    return TRUE;
}

// Assembly:
movupd (%rdi), %xmm1
movupd 0x20(%rdi), %xmm2
movupd 0x40(%rdi), %xmm0
mulpd %xmm2, %xmm2
mulpd %xmm1, %xmm1
addpd %xmm2, %xmm1
mulpd %xmm0, %xmm0
addpd %xmm1, %xmm0
leaq 0xb96e1(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm1
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
movapd %xmm0, %xmm3
subsd %xmm2, %xmm3
xorl %eax, %eax
ucomisd %xmm1, %xmm3
ja 0x2c521
movapd 0x75b45(%rip), %xmm2    # 0xa2020
xorpd %xmm1, %xmm2
ucomisd %xmm3, %xmm2
ja 0x2c521
movsd 0x10(%rdi), %xmm3
movsd 0x30(%rdi), %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
movsd 0x50(%rdi), %xmm4
mulsd %xmm4, %xmm4
addsd %xmm3, %xmm4
subsd %xmm4, %xmm0
cmpnltpd %xmm0, %xmm1
cmpnltpd %xmm2, %xmm0
andpd %xmm1, %xmm0
movd %xmm0, %eax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::HasTranslation() const
const RNBoolean R4Matrix::
HasTranslation(void) const
{
    // Return whether matrix transformation has translation
    if (RNIsNotZero(m[0][3])) return TRUE;
    if (RNIsNotZero(m[1][3])) return TRUE;
    if (RNIsNotZero(m[2][3])) return TRUE;
    return FALSE;
}

// Assembly:
movsd 0x18(%rdi), %xmm2
leaq 0xb966a(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm0
ucomisd %xmm0, %xmm2
movl $0x1, %eax
ja 0x2c57a
movapd 0x75adb(%rip), %xmm1    # 0xa2020
xorpd %xmm0, %xmm1
ucomisd %xmm2, %xmm1
ja 0x2c57a
movsd 0x38(%rdi), %xmm2
ucomisd %xmm0, %xmm2
ja 0x2c57a
ucomisd %xmm2, %xmm1
ja 0x2c57a
movsd 0x58(%rdi), %xmm2
cmpltpd %xmm2, %xmm0
cmpltpd %xmm1, %xmm2
orpd %xmm0, %xmm2
movd %xmm2, %eax
andl $0x1, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::HasScale() const
const RNBoolean R4Matrix::
HasScale(void) const
{
    // Return whether matrix transformation has scale
    RNScalar d0 = m[0][0]*m[0][0] + m[1][0]*m[1][0] + m[2][0]*m[2][0];
    if (RNIsNotEqual(d0, 1.0)) return TRUE;
    RNScalar d1 = m[0][1]*m[0][1] + m[1][1]*m[1][1] + m[2][1]*m[2][1];
    if (RNIsNotEqual(d1, 1.0)) return TRUE;
    RNScalar d2 = m[0][2]*m[0][2] + m[1][2]*m[1][2] + m[2][2]*m[2][2];
    if (RNIsNotEqual(d2, 1.0)) return TRUE;
    return FALSE;
}

// Assembly:
movsd (%rdi), %xmm0
movsd 0x20(%rdi), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
movsd 0x40(%rdi), %xmm2
mulsd %xmm2, %xmm2
addsd %xmm0, %xmm2
leaq 0xb95f3(%rip), %rax     # 0xe5b98
addsd 0x75a9b(%rip), %xmm2    # 0xa2048
movsd (%rax), %xmm0
ucomisd %xmm0, %xmm2
movl $0x1, %eax
ja 0x2c649
movapd 0x75a58(%rip), %xmm1    # 0xa2020
xorpd %xmm0, %xmm1
ucomisd %xmm2, %xmm1
ja 0x2c649
movsd 0x8(%rdi), %xmm3
movsd 0x28(%rdi), %xmm2
mulsd %xmm2, %xmm2
mulsd %xmm3, %xmm3
addsd %xmm2, %xmm3
movsd 0x48(%rdi), %xmm2
mulsd %xmm2, %xmm2
addsd %xmm3, %xmm2
addsd 0x75a4b(%rip), %xmm2    # 0xa2048
ucomisd %xmm0, %xmm2
ja 0x2c649
ucomisd %xmm2, %xmm1
ja 0x2c649
movsd 0x10(%rdi), %xmm2
movsd 0x30(%rdi), %xmm3
mulsd %xmm3, %xmm3
mulsd %xmm2, %xmm2
addsd %xmm3, %xmm2
movsd 0x50(%rdi), %xmm3
mulsd %xmm3, %xmm3
addsd %xmm2, %xmm3
addsd 0x75a14(%rip), %xmm3    # 0xa2048
cmpltpd %xmm3, %xmm0
cmpltpd %xmm1, %xmm3
orpd %xmm0, %xmm3
movd %xmm3, %eax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::HasRotation() const
const RNBoolean R4Matrix::
HasRotation(void) const
{
    // Return whether matrix transformation has rotation
    if (RNIsNotZero(m[0][1])) return TRUE;
    if (RNIsNotZero(m[0][2])) return TRUE;
    if (RNIsNotZero(m[1][0])) return TRUE;
    if (RNIsNotZero(m[1][2])) return TRUE;
    if (RNIsNotZero(m[2][0])) return TRUE;
    if (RNIsNotZero(m[2][1])) return TRUE;
    return FALSE;
}

// Assembly:
movsd 0x8(%rdi), %xmm2
leaq 0xb9542(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm0
ucomisd %xmm0, %xmm2
movl $0x1, %eax
ja 0x2c6d5
movapd 0x759b3(%rip), %xmm1    # 0xa2020
xorpd %xmm0, %xmm1
ucomisd %xmm2, %xmm1
ja 0x2c6d5
movsd 0x10(%rdi), %xmm2
ucomisd %xmm0, %xmm2
ja 0x2c6d5
ucomisd %xmm2, %xmm1
ja 0x2c6d5
movsd 0x20(%rdi), %xmm2
ucomisd %xmm0, %xmm2
ja 0x2c6d5
ucomisd %xmm2, %xmm1
ja 0x2c6d5
movsd 0x30(%rdi), %xmm2
ucomisd %xmm0, %xmm2
ja 0x2c6d5
ucomisd %xmm2, %xmm1
ja 0x2c6d5
movsd 0x40(%rdi), %xmm2
ucomisd %xmm0, %xmm2
ja 0x2c6d5
ucomisd %xmm2, %xmm1
ja 0x2c6d5
movsd 0x48(%rdi), %xmm2
cmpltpd %xmm2, %xmm0
cmpltpd %xmm1, %xmm2
orpd %xmm0, %xmm2
movd %xmm2, %eax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::HasMirror() const
const RNBoolean R4Matrix::
HasMirror(void) const
{
    // Return whether matrix transformation has mirror operator
    R3Vector vx(m[0][0], m[1][0], m[2][0]);
    R3Vector vy(m[0][1], m[1][1], m[2][1]);
    R3Vector vz(m[0][2], m[1][2], m[2][2]);
    return RNIsNegative(vz.Dot(vx % vy));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r14
movsd (%rdi), %xmm0
movsd 0x20(%rdi), %xmm1
movsd 0x40(%rdi), %xmm2
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x3cfc6
movsd 0x8(%r14), %xmm0
movsd 0x28(%r14), %xmm1
movsd 0x48(%r14), %xmm2
leaq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0x3cfc6
movsd 0x10(%r14), %xmm0
movsd 0x30(%r14), %xmm1
movsd 0x50(%r14), %xmm2
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x3cfc6
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x3d8fa
movq %r14, %rdi
movq %r12, %rsi
callq 0x3d252
leaq 0xb9436(%rip), %rax     # 0xe5b98
movsd (%rax), %xmm1
xorpd 0x758b2(%rip), %xmm1    # 0xa2020
xorl %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::R4Matrix::Translate(int, double)
void R4Matrix:: 
Translate(RNAxis axis, RNScalar offset)
{
    // Translate matrix along axis
    switch (axis) {
    case RN_XAXIS: 
	XTranslate(offset); 
	break;

    case RN_YAXIS: 
	YTranslate(offset); 
	break;

    case RN_ZAXIS: 
	ZTranslate(offset); 
	break;

    default: 
	RNWarning("Matrix translate along undefined axis");
	break;
    }
}

// Assembly:
cmpl $0x2, %esi
je 0x2d32f
cmpl $0x1, %esi
je 0x2d302
testl %esi, %esi
jne 0x2d365
movsd (%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x18(%rdi), %xmm1
movsd %xmm1, 0x18(%rdi)
movsd 0x20(%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x38(%rdi), %xmm1
movsd %xmm1, 0x38(%rdi)
mulsd 0x40(%rdi), %xmm0
jmp 0x2d35a
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x18(%rdi), %xmm1
movsd %xmm1, 0x18(%rdi)
movsd 0x28(%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x38(%rdi), %xmm1
movsd %xmm1, 0x38(%rdi)
mulsd 0x48(%rdi), %xmm0
jmp 0x2d35a
movsd 0x10(%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x18(%rdi), %xmm1
movsd %xmm1, 0x18(%rdi)
movsd 0x30(%rdi), %xmm1
mulsd %xmm0, %xmm1
addsd 0x38(%rdi), %xmm1
movsd %xmm1, 0x38(%rdi)
mulsd 0x50(%rdi), %xmm0
addsd 0x58(%rdi), %xmm0
movsd %xmm0, 0x58(%rdi)
retq
leaq 0x75b82(%rip), %rdi     # 0xa2eee
xorl %eax, %eax
jmp 0x71a8d
nop