	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointInSubsector             ## -- Begin function R_PointInSubsector
	.p2align	4, 0x90
_R_PointInSubsector:                    ## @R_PointInSubsector
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_numnodes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	decl	%eax
	movq	_NF_SUBSECTOR@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%eax, %ecx
	jne	LBB0_5
## %bb.3:
	movl	%esi, %r14d
	movl	%edi, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_nodes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movslq	%eax, %r12
	leaq	(%rbx,%r12,8), %rdx
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_R_PointOnSide
	movq	(%rbx,%r12,8), %rcx
	cltq
	movl	(%rcx,%rax,4), %eax
	movl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_4
LBB0_5:
	movq	_subsectors@GOTPCREL(%rip), %rdx
	notl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	(%rdx), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_subsectors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numnodes,4,2                   ## @numnodes
	.comm	_subsectors,8,3                 ## @subsectors
	.comm	_NF_SUBSECTOR,4,2               ## @NF_SUBSECTOR
	.comm	_nodes,8,3                      ## @nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointInSubsector             ; -- Begin function R_PointInSubsector
	.p2align	2
_R_PointInSubsector:                    ; @R_PointInSubsector
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _numnodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numnodes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	sub	w8, w8, #1
Lloh3:
	adrp	x22, _NF_SUBSECTOR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NF_SUBSECTOR@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x19, x1
	mov	x20, x0
Lloh5:
	adrp	x23, _nodes@GOTPAGE
Lloh6:
	ldr	x23, [x23, _nodes@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x21, x9, w8, sxtw #3
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_R_PointOnSide
	ldr	x8, [x21]
	ldr	w8, [x8, w0, sxtw #2]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_4:
Lloh7:
	adrp	x10, _subsectors@GOTPAGE
Lloh8:
	ldr	x10, [x10, _subsectors@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	bic	w8, w8, w9
	add	x0, x10, w8, sxtw #2
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _subsectors@GOTPAGE
Lloh11:
	ldr	x8, [x8, _subsectors@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_numnodes,4,2                   ; @numnodes
	.comm	_subsectors,8,3                 ; @subsectors
	.comm	_NF_SUBSECTOR,4,2               ; @NF_SUBSECTOR
	.comm	_nodes,8,3                      ; @nodes
.subsections_via_symbols
