	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NonConvex                      ## -- Begin function NonConvex
	.p2align	4, 0x90
_NonConvex:                             ## @NonConvex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	movq	8(%rsi), %r12
	movq	_mapplanes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	(%rdi), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_4
## %bb.1:
	xorl	(%rsi), %ecx
	movslq	%ecx, %r13
	shlq	$4, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %r15
	addq	$8, %r15
	addq	%rax, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	callq	_DotProduct
	subq	(%r13), %rax
	movq	_CONVEX_EPSILON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	subq	%rcx, %rdx
	cmpq	%rdx, %rax
	jl	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_4:
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.5:
	movslq	-44(%rbp), %r15                 ## 4-byte Folded Reload
	shlq	$4, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	addq	$8, %r14
	addq	%rax, %r15
	xorl	%ebx, %ebx
	movq	_CONVEX_EPSILON@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_DotProduct
	subq	(%r15), %rax
	movq	(%r13), %rcx
	xorl	%edx, %edx
	subq	%rcx, %rdx
	cmpq	%rdx, %rax
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movl	$1, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapplanes,8,3                  ## @mapplanes
	.comm	_CONVEX_EPSILON,8,3             ## @CONVEX_EPSILON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NonConvex                      ; -- Begin function NonConvex
	.p2align	2
_NonConvex:                             ; @NonConvex
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	ldr	x24, [x0, #8]
	ldr	x20, [x1, #8]
Lloh0:
	adrp	x8, _mapplanes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mapplanes@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	w23, [x0]
	ldr	w8, [x24]
Lloh3:
	adrp	x21, _CONVEX_EPSILON@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CONVEX_EPSILON@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x25, #0
	ldr	w8, [x1]
	eor	w8, w8, w3
	add	x26, x22, w8, sxtw #4
	add	x27, x26, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27]
	ldr	x8, [x24, #8]
	ldr	w1, [x8, x25, lsl #2]
	bl	_DotProduct
	ldr	x8, [x26]
	sub	x8, x0, x8
	ldr	x9, [x21]
	neg	x9, x9
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x24]
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x24, #0
	eor	w8, w23, w19
	sxtw	x8, w8
	add	x19, x22, x8, lsl #4
	add	x22, x19, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x24, lsl #2]
	bl	_DotProduct
	ldr	x8, [x19]
	sub	x8, x0, x8
	ldr	x9, [x21]
	neg	x9, x9
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.lt	LBB0_6
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mapplanes,8,3                  ; @mapplanes
	.comm	_CONVEX_EPSILON,8,3             ; @CONVEX_EPSILON
.subsections_via_symbols
