LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Point const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Point& point, const R3OrientedBox& box)
{
    // Return whether point contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPoint()) return FALSE;
    if (!R3Contains(point, box.Center())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
testl %eax, %eax
je 0x40fb3
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
testl %eax, %eax
je 0x40fa9
addq $0x8, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x40dd7
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Line const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Line& line, const R3Box& box)
{
    // Return whether line contains box 
    if (box.IsEmpty()) return FALSE;
    if (!box.IsLinear()) return FALSE;
    if (!R3Contains(line, box.Min())) return FALSE;
    if (!R3Contains(line, box.Max())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x257ce
xorl %ebx, %ebx
testl %eax, %eax
je 0x4112b
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq (%r14), %rax
movq %r14, %rdi
callq *0x20(%rax)
testl %eax, %eax
je 0x41123
leaq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x41022
testl %eax, %eax
je 0x41123
addq $0x20, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x41022
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
jmp 0x41123
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Line const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Line& line, const R3OrientedBox& box)
{
    // Return whether line contains box 
    if (box.IsEmpty()) return FALSE;
    if (!box.IsLinear()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(line, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x411c8
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
testl %eax, %eax
je 0x411c8
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x411be
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x41022
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x41194
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Ray const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Ray& ray, const R3Box& box)
{
    // Return whether ray contains box
    if (!R3Contains(ray.Line(), box)) return FALSE;
    RNOctant octant = ray.Vector().Octant();
    if (!R3Contains(ray, box.Corner(~octant & 0x7))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x4110a
testl %eax, %eax
je 0x4134a
leaq 0x18(%rbx), %rdi
callq 0x3852c
notl %eax
andl $0x7, %eax
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x24db6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x41227
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x4134c
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Ray const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Ray& ray, const R3OrientedBox& box)
{
    // Return whether ray contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsLinear()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(ray, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x413be
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
testl %eax, %eax
je 0x413be
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x413b4
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x41227
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x4138a
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Span const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Span& span, const R3Box& box)
{
    // Return whether span contains box
    if (!R3Contains(span.Line(), box)) return FALSE;
    if (!R3Contains(span, box.Min())) return FALSE;
    if (!R3Contains(span, box.Max())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x4110a
xorl %ebp, %ebp
testl %eax, %eax
je 0x41500
leaq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0x4141d
testl %eax, %eax
je 0x41500
addq $0x20, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4141d
xorl %ebp, %ebp
testl %eax, %eax
setne %bpl
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Span const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Span& span, const R3OrientedBox& box)
{
    // Return whether span contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsLinear()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(span, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x4156f
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
testl %eax, %eax
je 0x4156f
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x41565
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x4141d
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x4153b
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Plane const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Plane& plane, const R3Box& box)
{
    // Return whether plane contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPlanar()) return FALSE;
    if (!R3Contains(plane, box.Min())) return FALSE;
    if (!R3Contains(plane, box.Max())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x257ce
xorl %ebx, %ebx
testl %eax, %eax
je 0x4172e
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
testl %eax, %eax
je 0x41726
leaq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x415ce
testl %eax, %eax
je 0x41726
addq $0x20, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x415ce
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
jmp 0x41726
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Plane const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Plane& plane, const R3OrientedBox& box)
{
    // Return whether plane contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPlanar()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(plane, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x417cb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
testl %eax, %eax
je 0x417cb
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x417c1
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x415ce
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x41797
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Box& box, const R3Point& point)
{
    // Return whether box contains point
    if (box.IsEmpty()) return FALSE;
    if (RNIsLess(point.X(), box.XMin())) return FALSE;
    if (RNIsLess(point.Y(), box.YMin())) return FALSE;
    if (RNIsLess(point.Z(), box.ZMin())) return FALSE;
    if (RNIsGreater(point.X(), box.XMax())) return FALSE;
    if (RNIsGreater(point.Y(), box.YMax())) return FALSE;
    if (RNIsGreater(point.Z(), box.ZMax())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x41a70
movsd (%r14), %xmm1
leaq 0x991a5(%rip), %rcx     # 0xdaba8
movsd (%rcx), %xmm0
movapd %xmm1, %xmm2
subsd 0x8(%rbx), %xmm2
movapd 0x51618(%rip), %xmm4    # 0x93030
xorpd %xmm0, %xmm4
ucomisd %xmm2, %xmm4
ja 0x41a70
movsd 0x8(%r14), %xmm3
movapd %xmm3, %xmm2
subsd 0x10(%rbx), %xmm2
ucomisd %xmm2, %xmm4
ja 0x41a70
movsd 0x10(%r14), %xmm2
movapd %xmm2, %xmm5
subsd 0x18(%rbx), %xmm5
ucomisd %xmm5, %xmm4
ja 0x41a70
subsd 0x20(%rbx), %xmm1
ucomisd %xmm0, %xmm1
ja 0x41a70
subsd 0x28(%rbx), %xmm3
ucomisd %xmm0, %xmm3
ja 0x41a70
subsd 0x30(%rbx), %xmm2
xorl %eax, %eax
ucomisd %xmm0, %xmm2
setbe %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Triangle const&, gaps::R3Triangle const&)
RNBoolean R3Contains(const R3Triangle& triangle1, const R3Triangle& triangle2)
{
    // Check whether planes are the same
    if (!R3Contains(triangle1.Plane(), triangle2.Plane())) return FALSE;

    // Check whether triangle1's bounding box contains triangle2
    if (!R3Contains(triangle1.BBox(), triangle2)) return FALSE;

    // Check whether points of triangle2 are inside triangle1
    for (int i = 0; i < 3; i++) {
	if (!R3Contains(triangle1, triangle2.Vertex(i)->Position())) 
            return FALSE;
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
addq $0x20, %rdi
addq $0x20, %rsi
callq 0x416b4
xorl %ebp, %ebp
testl %eax, %eax
je 0x41b32
movq (%r14), %rax
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq *0x88(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *0x1a8(%rax)
movl %eax, %r15d
movq %rsp, %rdi
callq 0x25832
testl %r15d, %r15d
je 0x41b32
xorl %ecx, %ecx
movq %rcx, %r15
cmpq $0x3, %rcx
je 0x41b28
movq 0x8(%rbx,%r15,8), %rsi
movq %r14, %rdi
callq 0x4182a
leaq 0x1(%r15), %rcx
testl %eax, %eax
jne 0x41b0a
xorl %ebp, %ebp
cmpq $0x3, %r15
setae %bpl
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x25832
movq %rbx, %rdi
callq 0xe810
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Triangle const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Triangle& triangle, const R3Box& box)
{
    // Return whether triangle contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPlanar()) return FALSE;
    if (!R3Contains(triangle, box.Min())) return FALSE;
    if (!R3Contains(triangle, box.Max())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x257ce
testl %eax, %eax
je 0x41b8a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
testl %eax, %eax
je 0x41b80
leaq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0x4182a
testl %eax, %eax
je 0x41b80
addq $0x20, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4182a
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Triangle const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Triangle& triangle, const R3OrientedBox& box)
{
    // Return whether triangle contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPlanar()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(triangle, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x41c25
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
testl %eax, %eax
je 0x41c25
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x41c1b
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x4182a
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x41bf1
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Circle const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Circle& circle, const R3Point& point)
{
    // Check whether ellipse is empty
    if (circle.IsEmpty()) return FALSE;

    // Check whether circle plane contains point
    if (!R3Contains(circle.Plane(), point)) return FALSE;

    // Check whether point is within radius of center
    RNScalar dd = R3SquaredDistance(circle.Center(), point);
    if (dd > circle.Radius() * circle.Radius()) return FALSE;

    // Circle contains point
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
ucomisd 0x20(%rdi), %xmm0
ja 0x41cc2
movq %rsi, %r15
movq %rdi, %r14
addq $0x28, %rdi
callq 0x415ce
testl %eax, %eax
je 0x41cc2
leaq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x431f1
movsd 0x20(%r14), %xmm1
mulsd %xmm1, %xmm1
xorl %ebx, %ebx
ucomisd %xmm1, %xmm0
setbe %bl
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Halfspace const&, gaps::R3Triangle const&)
RNBoolean R3Contains(const R3Halfspace& halfspace, const R3Triangle& triangle)
{
    // Check whether halfspace contains triangle bounding shape
    if (R3Contains(halfspace, triangle.Box())) return TRUE;

    // Check whether halfspace contains all vertices of triangle
    if (!R3Contains(halfspace, triangle.Vertex(0)->Position())) return FALSE;
    if (!R3Contains(halfspace, triangle.Vertex(1)->Position())) return FALSE;
    if (!R3Contains(halfspace, triangle.Vertex(2)->Position())) return FALSE;

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
addq $0x40, %rsi
callq 0x41fe7
testl %eax, %eax
je 0x41faf
pushq $0x1
popq %rbp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x41e66
xorl %ebp, %ebp
testl %eax, %eax
je 0x41fa8
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x41e66
testl %eax, %eax
je 0x41fa8
movq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x41e66
xorl %ebp, %ebp
testl %eax, %eax
setne %bpl
jmp 0x41fa8
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Halfspace const&, gaps::R3Circle const&)
RNBoolean R3Contains(const R3Halfspace& halfspace, const R3Circle& circle)
{
    // Return whether halfspace contains circle
    RNScalar d = R3SignedDistance(halfspace.Plane(), circle.Center());
    if (RNIsNegative(d)) return FALSE;
    else if (RNIsGreater(d, circle.Radius())) return TRUE;
    else {
        RNScalar cos_theta = halfspace.Plane().Normal().Dot(circle.Normal());
	if (cos_theta < 0.0) cos_theta = halfspace.Plane().Normal().Dot(-circle.Normal());
	return (RNIsGreaterOrEqual(d, cos_theta * circle.Radius()));
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
addq $0x8, %rsi
callq 0x43420
leaq 0x98b4b(%rip), %r13     # 0xdaba8
movsd (%r13), %xmm3
movapd 0x50fc5(%rip), %xmm1    # 0x93030
xorpd %xmm3, %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
ja 0x420ed
movsd 0x20(%rbx), %xmm1
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
ucomisd %xmm3, %xmm2
ja 0x420ea
movsd %xmm0, (%rsp)
leaq 0x28(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x38586
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x420c3
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x38c72
movq %r14, %rdi
movq %r12, %rsi
callq 0x38586
mulsd 0x20(%rbx), %xmm0
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd (%r13), %xmm0
xorpd 0x50f51(%rip), %xmm0    # 0x93030
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setae %al
jmp 0x420ed
pushq $0x1
popq %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Halfspace const&, gaps::R3Halfspace const&)
RNBoolean R3Contains(const R3Halfspace& halfspace1, const R3Halfspace& halfspace2)
{
    // Return whether halfspace1 contains halfspace2
    RNScalar dot = halfspace1.Plane().Normal().Dot(halfspace2.Plane().Normal());
    if (RNIsEqual(dot, 1.0)) {
	// Halfspace and plane are parallel ???
	return RNIsLessOrEqual(halfspace1.Plane().D(), halfspace2.Plane().D());
    }
    else {
	// Halfspace and plane are not parallel
	return FALSE;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x38586
leaq 0x98a97(%rip), %rax     # 0xdaba8
movsd (%rax), %xmm1
addsd 0x50f03(%rip), %xmm0    # 0x93020
movapd 0x50f0b(%rip), %xmm2    # 0x93030
xorpd %xmm1, %xmm2
xorl %eax, %eax
ucomisd %xmm2, %xmm0
jb 0x4214b
ucomisd %xmm0, %xmm1
jb 0x4214b
movsd 0x18(%r14), %xmm0
subsd 0x18(%rbx), %xmm0
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setae %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Halfspace const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Halfspace& halfspace, const R3OrientedBox& box)
{
    // Return whether halfspace contains box
    if (box.IsEmpty()) return FALSE;
    if (!box.IsPlanar()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(halfspace, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
xorl %ebp, %ebp
testl %eax, %eax
jne 0x421bb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
testl %eax, %eax
je 0x421bb
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x421b1
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x41e66
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x42187
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Line const&)
RNBoolean R3Contains(const R3Box& box, const R3Line& line)
{
    // Return whether box contains line
    if (box.IsEmpty()) return FALSE;
    if (RNIsFinite(box.XLength())) return FALSE;
    if (RNIsFinite(box.YLength())) return FALSE;
    if (RNIsFinite(box.ZLength())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x422fb
movsd 0x20(%rbx), %xmm2
subsd 0x8(%rbx), %xmm2
leaq 0x9890e(%rip), %rcx     # 0xdabb8
movsd (%rcx), %xmm1
movapd 0x50d7a(%rip), %xmm0    # 0x93030
xorpd %xmm1, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x422c6
ucomisd %xmm2, %xmm1
ja 0x422fb
movsd 0x28(%rbx), %xmm2
subsd 0x10(%rbx), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x422dc
ucomisd %xmm2, %xmm1
ja 0x422fb
movsd 0x30(%rbx), %xmm2
subsd 0x18(%rbx), %xmm2
cmpnltpd %xmm2, %xmm0
cmpnltpd %xmm1, %xmm2
orpd %xmm0, %xmm2
movd %xmm2, %eax
andl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Ray const&)
RNBoolean R3Contains(const R3Box& box, const R3Ray& ray)
{
    // Return whether box contains ray
    if (box.IsEmpty()) return FALSE;
    if (RNIsFinite(box.XLength())) return FALSE;
    if (RNIsFinite(box.YLength())) return FALSE;
    if (RNIsFinite(box.ZLength())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42370
movsd 0x20(%rbx), %xmm2
subsd 0x8(%rbx), %xmm2
leaq 0x98899(%rip), %rcx     # 0xdabb8
movsd (%rcx), %xmm1
movapd 0x50d05(%rip), %xmm0    # 0x93030
xorpd %xmm1, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x4233b
ucomisd %xmm2, %xmm1
ja 0x42370
movsd 0x28(%rbx), %xmm2
subsd 0x10(%rbx), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x42351
ucomisd %xmm2, %xmm1
ja 0x42370
movsd 0x30(%rbx), %xmm2
subsd 0x18(%rbx), %xmm2
cmpnltpd %xmm2, %xmm0
cmpnltpd %xmm1, %xmm2
orpd %xmm0, %xmm2
movd %xmm2, %eax
andl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Plane const&)
RNBoolean R3Contains(const R3Box& box, const R3Plane& plane)
{
    // Return whether box contains plane
    if (box.IsEmpty()) return FALSE;
    if (RNIsFinite(box.XLength())) return FALSE;
    if (RNIsFinite(box.YLength())) return FALSE;
    if (RNIsFinite(box.ZLength())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42418
movsd 0x20(%rbx), %xmm2
subsd 0x8(%rbx), %xmm2
leaq 0x987f1(%rip), %rcx     # 0xdabb8
movsd (%rcx), %xmm1
movapd 0x50c5d(%rip), %xmm0    # 0x93030
xorpd %xmm1, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x423e3
ucomisd %xmm2, %xmm1
ja 0x42418
movsd 0x28(%rbx), %xmm2
subsd 0x10(%rbx), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x423f9
ucomisd %xmm2, %xmm1
ja 0x42418
movsd 0x30(%rbx), %xmm2
subsd 0x18(%rbx), %xmm2
cmpnltpd %xmm2, %xmm0
cmpnltpd %xmm1, %xmm2
orpd %xmm0, %xmm2
movd %xmm2, %eax
andl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Halfspace const&)
RNBoolean R3Contains(const R3Box& box, const R3Halfspace& halfspace)
{
    // Return whether box contains halfspace
    if (box.IsEmpty()) return FALSE;
    RNOctant octant = halfspace.Normal().Octant();
    R3Point corner = box.Corner(octant);
    if (!RNIsFinite(corner.X())) return FALSE;
    if (!RNIsFinite(corner.Y())) return FALSE;
    if (!RNIsFinite(corner.Z())) return FALSE;
    RNAbort("Not Implemented");
    return FALSE;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x257ce
testl %eax, %eax
je 0x4243a
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x3852c
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0x24db6
movsd (%r14), %xmm2
leaq 0x9875a(%rip), %rax     # 0xdabb8
movsd (%rax), %xmm0
movapd 0x50bc6(%rip), %xmm1    # 0x93030
xorpd %xmm0, %xmm1
ucomisd %xmm1, %xmm2
jbe 0x42430
ucomisd %xmm2, %xmm0
jbe 0x42430
movsd 0x8(%rsp), %xmm2
ucomisd %xmm1, %xmm2
jbe 0x42430
ucomisd %xmm2, %xmm0
jbe 0x42430
movsd 0x10(%rsp), %xmm2
ucomisd %xmm1, %xmm2
jbe 0x42430
ucomisd %xmm2, %xmm0
jbe 0x42430
leaq 0x51828(%rip), %rdi     # 0x93ccd
xorl %eax, %eax
callq 0x680f0
jmp 0x42430
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Box& box1, const R3Box& box2) 
{
    // Return whether box1 contains box2
    if (box1.IsEmpty()) return FALSE;
    if (box2.IsEmpty()) return FALSE;
    if (RNIsLess(box2.XMin(), box1.XMin())) return FALSE;
    if (RNIsLess(box2.YMin(), box1.YMin())) return FALSE;
    if (RNIsLess(box2.ZMin(), box1.ZMin())) return FALSE;
    if (RNIsGreater(box2.XMax(), box1.XMax())) return FALSE;
    if (RNIsGreater(box2.YMax(), box1.YMax())) return FALSE;
    if (RNIsGreater(box2.ZMax(), box1.ZMax())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
callq 0x257ce
xorl %ebx, %ebx
testl %eax, %eax
jne 0x4255e
movq %r15, %rdi
callq 0x257ce
testl %eax, %eax
jne 0x4255e
movsd 0x8(%r15), %xmm2
leaq 0x986c3(%rip), %rax     # 0xdaba8
movsd (%rax), %xmm0
subsd 0x8(%r14), %xmm2
movapd 0x50b39(%rip), %xmm1    # 0x93030
xorpd %xmm0, %xmm1
ucomisd %xmm2, %xmm1
ja 0x4255e
movsd 0x10(%r15), %xmm2
subsd 0x10(%r14), %xmm2
ucomisd %xmm2, %xmm1
ja 0x4255e
movsd 0x18(%r15), %xmm2
subsd 0x18(%r14), %xmm2
ucomisd %xmm2, %xmm1
ja 0x4255e
movsd 0x20(%r15), %xmm1
subsd 0x20(%r14), %xmm1
ucomisd %xmm0, %xmm1
ja 0x4255e
movsd 0x28(%r15), %xmm1
subsd 0x28(%r14), %xmm1
ucomisd %xmm0, %xmm1
ja 0x4255e
movsd 0x30(%r15), %xmm1
subsd 0x30(%r14), %xmm1
xorl %ebx, %ebx
ucomisd %xmm0, %xmm1
setbe %bl
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Box& box1, const R3OrientedBox& box2)
{
    // Return whether halfspace contains box
    if (box1.IsEmpty()) return FALSE;
    if (box2.IsEmpty()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(box1, box2.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x257ce
xorl %ebp, %ebp
testl %eax, %eax
jne 0x425ca
movq %rbx, %rdi
callq 0x22b76
testl %eax, %eax
jne 0x425ca
xorl %ecx, %ecx
leaq 0x8(%rsp), %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x425c0
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x419e0
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x42596
xorl %ebp, %ebp
cmpl $0x8, %r12d
setae %bpl
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Box const&, gaps::R3Sphere const&)
RNBoolean R3Contains(const R3Box& box, const R3Sphere& sphere)
{
    // Return whether box contains sphere 
    if (box.IsEmpty()) return FALSE;
    if (sphere.IsEmpty()) return TRUE;
    if (RNIsLess(sphere.Center().X() - sphere.Radius(), box.XMin())) return FALSE;
    if (RNIsLess(sphere.Center().Y() - sphere.Radius(), box.YMin())) return FALSE;
    if (RNIsLess(sphere.Center().Z() - sphere.Radius(), box.ZMin())) return FALSE;
    if (RNIsGreater(sphere.Center().X() + sphere.Radius(), box.XMax())) return FALSE;
    if (RNIsGreater(sphere.Center().Y() + sphere.Radius(), box.YMax())) return FALSE;
    if (RNIsGreater(sphere.Center().Z() + sphere.Radius(), box.ZMax())) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x4269f
movsd 0x20(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0x4269c
movsd 0x8(%r14), %xmm2
movapd %xmm2, %xmm3
subsd %xmm0, %xmm3
leaq 0x9858b(%rip), %rcx     # 0xdaba8
movsd (%rcx), %xmm1
subsd 0x8(%rbx), %xmm3
movapd 0x50a02(%rip), %xmm5    # 0x93030
xorpd %xmm1, %xmm5
ucomisd %xmm3, %xmm5
ja 0x4269f
movsd 0x10(%r14), %xmm3
movapd %xmm3, %xmm4
subsd %xmm0, %xmm4
subsd 0x10(%rbx), %xmm4
ucomisd %xmm4, %xmm5
ja 0x4269f
movsd 0x18(%r14), %xmm4
movapd %xmm4, %xmm6
subsd %xmm0, %xmm6
subsd 0x18(%rbx), %xmm6
ucomisd %xmm6, %xmm5
ja 0x4269f
addsd %xmm0, %xmm2
subsd 0x20(%rbx), %xmm2
ucomisd %xmm1, %xmm2
ja 0x4269f
addsd %xmm0, %xmm3
subsd 0x28(%rbx), %xmm3
ucomisd %xmm1, %xmm3
ja 0x4269f
addsd %xmm4, %xmm0
subsd 0x30(%rbx), %xmm0
xorl %eax, %eax
ucomisd %xmm1, %xmm0
setbe %al
jmp 0x4269f
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3OrientedBox const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3OrientedBox& box, const R3Point& point)
{
    // Check if box is empty
    if (box.IsEmpty()) return FALSE;

    // Return whether each halfspace contains point
    for (int dir = 0; dir < 2; dir++) {
      for (int dim = 0; dim < 3; dim++) {
        R3Halfspace halfspace(-box.Plane(dir, dim), 0);
        if (!R3Contains(halfspace, point)) {
          return FALSE;
        }
      }
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x22b76
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42730
movq %rbx, (%rsp)
xorl %ebp, %ebp
leaq 0x8(%rsp), %r15
leaq 0x28(%rsp), %r12
leaq 0x48(%rsp), %r13
cmpl $0x2, %ebp
je 0x42728
xorl %ebx, %ebx
cmpl $0x3, %ebx
je 0x42724
movq %r15, %rdi
movq (%rsp), %rsi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x4ea8a
movq %r12, %rdi
movq %r15, %rsi
callq 0x21c84
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x4f7a4
movq %r13, %rdi
movq %r14, %rsi
callq 0x41e66
incl %ebx
testl %eax, %eax
jne 0x426e4
jmp 0x42728
incl %ebp
jmp 0x426dd
xorl %eax, %eax
cmpl $0x2, %ebp
setae %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3OrientedBox const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3OrientedBox& box1, const R3Box& box2)
{
    // Check if box is empty
    if (box1.IsEmpty()) return FALSE;
    if (box2.IsEmpty()) return FALSE;

    // Return whether each halfspace contains box
    for (int dir = 0; dir < 2; dir++) {
      for (int dim = 0; dim < 3; dim++) {
        R3Halfspace halfspace(-box1.Plane(dir, dim), 0);
        if (!R3Contains(halfspace, box2)) {
          return FALSE;
        }
      }
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r13
movq %rdi, %r14
callq 0x22b76
xorl %r15d, %r15d
testl %eax, %eax
jne 0x42967
movq %r13, %rdi
callq 0x257ce
testl %eax, %eax
jne 0x42967
xorl %ebp, %ebp
cmpl $0x2, %ebp
je 0x4295d
xorl %r15d, %r15d
cmpl $0x3, %r15d
je 0x42959
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x4ea8a
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21c84
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x4f7a4
movq %r12, %rdi
movq %r13, %rsi
callq 0x41fe7
incl %r15d
testl %eax, %eax
jne 0x42908
jmp 0x4295d
incl %ebp
jmp 0x42900
xorl %r15d, %r15d
cmpl $0x2, %ebp
setae %r15b
movl %r15d, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3OrientedBox const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3OrientedBox& box1, const R3OrientedBox& box2) 
{
    // Check if box is empty
    if (box1.IsEmpty()) return FALSE;
    if (box2.IsEmpty()) return FALSE;

    // Return whether each halfspace contains box
    for (int dir = 0; dir < 2; dir++) {
      for (int dim = 0; dim < 3; dim++) {
        R3Halfspace halfspace(-box1.Plane(dir, dim), 0);
        if (!R3Contains(halfspace, box2)) {
          return FALSE;
        }
      }
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r13
movq %rdi, %r14
callq 0x22b76
xorl %r15d, %r15d
testl %eax, %eax
jne 0x42a0e
movq %r13, %rdi
callq 0x22b76
testl %eax, %eax
jne 0x42a0e
xorl %ebp, %ebp
cmpl $0x2, %ebp
je 0x42a04
xorl %r15d, %r15d
cmpl $0x3, %r15d
je 0x42a00
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x4ea8a
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21c84
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x4f7a4
movq %r12, %rdi
movq %r13, %rsi
callq 0x42153
incl %r15d
testl %eax, %eax
jne 0x429af
jmp 0x42a04
incl %ebp
jmp 0x429a7
xorl %r15d, %r15d
cmpl $0x2, %ebp
setae %r15b
movl %r15d, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3OrientedBox const&, gaps::R3Sphere const&)
RNBoolean R3Contains(const R3OrientedBox& box, const R3Sphere& sphere)
{
    // Check if box is empty
    if (box.IsEmpty()) return FALSE;

    // Return whether each halfspace contains sphere
    for (int dir = 0; dir < 2; dir++) {
      for (int dim = 0; dim < 3; dim++) {
        R3Halfspace halfspace(-box.Plane(dir, dim), 0);
        if (!R3Contains(halfspace, sphere)) {
          return FALSE;
        }
      }
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x22b76
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42aa9
movq %rbx, (%rsp)
xorl %ebp, %ebp
leaq 0x8(%rsp), %r15
leaq 0x28(%rsp), %r12
leaq 0x48(%rsp), %r13
cmpl $0x2, %ebp
je 0x42aa1
xorl %ebx, %ebx
cmpl $0x3, %ebx
je 0x42a9d
movq %r15, %rdi
movq (%rsp), %rsi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x4ea8a
movq %r12, %rdi
movq %r15, %rsi
callq 0x21c84
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x4f7a4
movq %r13, %rdi
movq %r14, %rsi
callq 0x421ca
incl %ebx
testl %eax, %eax
jne 0x42a5d
jmp 0x42aa1
incl %ebp
jmp 0x42a56
xorl %eax, %eax
cmpl $0x2, %ebp
setae %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3OrientedBox const&, gaps::R3Shape const&)
RNBoolean R3Contains(const R3OrientedBox& box, const R3Shape& shape)
{
    // Check if box is empty
    if (box.IsEmpty()) return FALSE;

    // Return whether each halfspace contains shape
    for (int dir = 0; dir < 2; dir++) {
      for (int dim = 0; dim < 3; dim++) {
        R3Halfspace halfspace(-box.Plane(dir, dim), 0);
        if (!R3Contains(halfspace, shape)) {
          return FALSE;
        }
      }
    }

    // Passed all tests
    return TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x22b76
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42b49
movq %r14, (%rsp)
xorl %ebp, %ebp
leaq 0x8(%rsp), %r15
leaq 0x28(%rsp), %r12
leaq 0x48(%rsp), %r13
cmpl $0x2, %ebp
je 0x42b41
xorl %r14d, %r14d
cmpl $0x3, %r14d
je 0x42b3d
movq %r15, %rdi
movq (%rsp), %rsi
movl %ebp, %edx
movl %r14d, %ecx
callq 0x4ea8a
movq %r12, %rdi
movq %r15, %rsi
callq 0x21c84
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x4f7a4
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *0x1a0(%rax)
incl %r14d
testl %eax, %eax
jne 0x42af6
jmp 0x42b41
incl %ebp
jmp 0x42aee
xorl %eax, %eax
cmpl $0x2, %ebp
setae %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Sphere const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Sphere& sphere, const R3Point& point)
{
    // Return whether sphere contains point
    RNScalar radius_squared = sphere.Radius() * sphere.Radius();
    R3Vector v = sphere.Center() - point;
    RNScalar distance_squared = v.X() * v.X() + v.Y() * v.Y() + v.Z() * v.Z();
    return RNIsLessOrEqual(distance_squared, radius_squared);
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rdx
movsd 0x20(%rdi), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rdi), %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x37d29
movsd (%rbx), %xmm0
movsd 0x8(%rbx), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
movsd 0x10(%rbx), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
subsd (%rsp), %xmm1
leaq 0x97ffb(%rip), %rax     # 0xdaba8
movsd (%rax), %xmm0
xorl %eax, %eax
ucomisd %xmm1, %xmm0
setae %al
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Sphere const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Sphere& sphere, const R3Box& box)
{
    // Return whether sphere contains box 
    if (box.IsEmpty()) return FALSE;
    R3Vector v = box.Centroid() - sphere.Center();
    R3Point corner = box.Corner(v.Octant());
    return R3Contains(sphere, corner);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x257ce
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42d2a
movq (%r14), %rax
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq *0x68(%rax)
leaq 0x8(%rbx), %rdx
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x37d29
movq %r12, %rdi
callq 0x3852c
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x24db6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x42b58
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Sphere const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Sphere& sphere, const R3OrientedBox& box)
{
    // Return whether sphere contains box 
    if (box.IsEmpty()) return FALSE;
    for (int i = 0; i < RN_NUM_OCTANTS; i++) 
      if (!R3Contains(sphere, box.Corner(i))) return FALSE;
    return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22b76
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x42d8f
xorl %ecx, %ecx
movq %rsp, %r15
movl %ecx, %r12d
cmpl $0x8, %ecx
je 0x42d86
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x221da
movq %r14, %rdi
movq %r15, %rsi
callq 0x42b58
leal 0x1(%r12), %ecx
testl %eax, %eax
jne 0x42d5c
xorl %eax, %eax
cmpl $0x8, %r12d
setae %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Cylinder const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Cylinder& cylinder, const R3Point& point) 
{
    // Get cylinder axis
    const R3Span& axis = cylinder.Axis();
  
    // Check if outside top or bottom
    RNScalar t = axis.T(point);
    if (RNIsNegative(t) || RNIsGreater(t, axis.Length())) 
        return FALSE;

    // Check if inside radius
    RNLength d = R3Distance(point, axis.Point(t));
    return (RNIsLessOrEqual(d, cylinder.Radius()));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
movq %r15, %rdi
callq 0x37276
leaq 0x97d8c(%rip), %r13     # 0xdaba8
movsd (%r13), %xmm1
movapd 0x50206(%rip), %xmm2    # 0x93030
xorpd %xmm1, %xmm2
xorl %eax, %eax
ucomisd %xmm0, %xmm2
ja 0x42e74
movapd %xmm0, %xmm2
subsd 0x50(%rbx), %xmm2
ucomisd %xmm1, %xmm2
ja 0x42e74
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x37180
movq %r14, %rdi
movq %r12, %rsi
callq 0x4321a
movsd (%r13), %xmm1
subsd 0x78(%rbx), %xmm0
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setae %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Cone const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Cone& cone, const R3Point& point) 
{
    // Get cone axis
    const R3Span& axis = cone.Axis();
  
    // Check if outside top or bottom
    RNScalar t = axis.T(point);
    if (RNIsNegative(t) || RNIsGreater(t, axis.Length())) 
        return FALSE;

    // Check if inside radius
    RNLength r = (1.0 - t / axis.Length()) * cone.Radius();
    RNLength d = R3Distance(axis.Point(t), point);
    return RNIsGreaterOrEqual(r, d);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x37276
leaq 0x97d02(%rip), %r12     # 0xdaba8
movsd (%r12), %xmm1
movapd 0x5017c(%rip), %xmm2    # 0x93030
xorpd %xmm1, %xmm2
xorl %eax, %eax
ucomisd %xmm0, %xmm2
ja 0x42f30
movsd 0x50(%r15), %xmm2
movapd %xmm0, %xmm3
subsd %xmm2, %xmm3
ucomisd %xmm1, %xmm3
ja 0x42f30
movapd %xmm0, %xmm1
divsd %xmm2, %xmm1
movsd 0x50124(%rip), %xmm2    # 0x93008
subsd %xmm1, %xmm2
mulsd 0x78(%r15), %xmm2
movsd %xmm2, 0x8(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x37180
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4321a
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd (%r12), %xmm0
xorpd 0x50109(%rip), %xmm0    # 0x93030
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setae %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3Point const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3Point& point)
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), point)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x42f83
xorl %edi, %edi
leaq 0x20(%rdi), %r12
cmpq $0x80, %r12
je 0x42f7a
addq %r14, %rdi
movq %rbx, %rsi
callq 0x41e66
movq %r12, %rdi
testl %eax, %eax
jne 0x42f59
jmp 0x42f83
incq %r15
addq $0x60, %r14
jmp 0x42f51
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3Span const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3Span& span) 
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), span)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x42fe5
xorl %edi, %edi
leaq 0x20(%rdi), %r12
cmpq $0x80, %r12
je 0x42fdc
addq %r14, %rdi
movq %rbx, %rsi
callq 0x41f0d
movq %r12, %rdi
testl %eax, %eax
jne 0x42fbb
jmp 0x42fe5
incq %r15
addq $0x60, %r14
jmp 0x42fb3
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3Box const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3Box& box) 
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), box)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x43047
xorl %edi, %edi
leaq 0x20(%rdi), %r12
cmpq $0x80, %r12
je 0x4303e
addq %r14, %rdi
movq %rbx, %rsi
callq 0x41fe7
movq %r12, %rdi
testl %eax, %eax
jne 0x4301d
jmp 0x43047
incq %r15
addq $0x60, %r14
jmp 0x43015
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3OrientedBox const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3OrientedBox& box) 
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), box)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x430a3
xorl %edi, %edi
leaq 0x20(%rdi), %r12
cmpq $0x80, %r12
je 0x4309a
addq %r14, %rdi
movq %rbx, %rsi
callq 0x42153
movq %r12, %rdi
testl %eax, %eax
jne 0x43079
jmp 0x430a3
incq %r15
addq $0x60, %r14
jmp 0x43071
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3Sphere const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3Sphere& sphere) 
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), sphere)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x430ff
xorl %edi, %edi
leaq 0x20(%rdi), %r12
cmpq $0x80, %r12
je 0x430f6
addq %r14, %rdi
movq %rbx, %rsi
callq 0x421ca
movq %r12, %rdi
testl %eax, %eax
jne 0x430d5
jmp 0x430ff
incq %r15
addq $0x60, %r14
jmp 0x430cd
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/R3Shapes/R3Cont.cpp
// Function: gaps::R3Contains(gaps::R3Frustum const&, gaps::R3Shape const&)
RNBoolean R3Contains(const R3Frustum& frustum, const R3Shape& shape) 
{
  // Check each halfspace
  for (int dir = 0; dir < 2; dir++) {
    for (int dim = 0; dim < 3; dim++) {
      if (!R3Contains(frustum.Halfspace(dir, dim), shape)) {
        return FALSE;
      }
    }
  }

  // Passed all tests
  return TRUE;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %r14
xorl %r15d, %r15d
cmpq $0x2, %r15
je 0x4315f
xorl %esi, %esi
leaq 0x20(%rsi), %r12
cmpq $0x80, %r12
je 0x43156
addq %r14, %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x1a0(%rax)
movq %r12, %rsi
testl %eax, %eax
jne 0x43131
jmp 0x4315f
incq %r15
addq $0x60, %r14
jmp 0x43129
xorl %eax, %eax
cmpq $0x2, %r15
setae %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq