	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtree_ctx_data_init            ## -- Begin function rtree_ctx_data_init
	.p2align	4, 0x90
_rtree_ctx_data_init:                   ## @rtree_ctx_data_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RTREE_CTX_NCACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%r9, %r9
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %r8
	cmpl	$1, %r9d
	jne	LBB0_11
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_11:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	leaq	24(%r8), %rax
	xorl	%edx, %edx
	movq	_RTREE_LEAFKEY_INVALID@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	movq	%rsi, -16(%rax)
	movq	$0, -24(%rax)
	movq	(%rcx), %rsi
	movq	%rsi, (%rax)
	movq	$0, -8(%rax)
	addq	$2, %rdx
	addq	$32, %rax
	cmpq	%rdx, %r10
	jne	LBB0_12
LBB0_3:
	testb	$1, %r9b
	je	LBB0_5
## %bb.4:
	movq	_RTREE_LEAFKEY_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rdx
	movq	%rax, 8(%r8,%rdx)
	movq	$0, (%r8,%rdx)
LBB0_5:
	movq	_RTREE_CTX_NCACHE_L2@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%r9, %r9
	je	LBB0_10
## %bb.6:
	movq	(%rdi), %r8
	cmpl	$1, %r9d
	jne	LBB0_13
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_13:
	movl	%r9d, %esi
	andl	$-2, %esi
	leaq	24(%r8), %rdi
	xorl	%edx, %edx
	movq	_RTREE_LEAFKEY_INVALID@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	movq	%rcx, -16(%rdi)
	movq	$0, -24(%rdi)
	movq	(%rax), %rcx
	movq	%rcx, (%rdi)
	movq	$0, -8(%rdi)
	addq	$2, %rdx
	addq	$32, %rdi
	cmpq	%rdx, %rsi
	jne	LBB0_14
LBB0_8:
	testb	$1, %r9b
	je	LBB0_10
## %bb.9:
	movq	_RTREE_LEAFKEY_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rdx
	movq	%rax, 8(%r8,%rdx)
	movq	$0, (%r8,%rdx)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTREE_CTX_NCACHE,4,2           ## @RTREE_CTX_NCACHE
	.comm	_RTREE_LEAFKEY_INVALID,8,3      ## @RTREE_LEAFKEY_INVALID
	.comm	_RTREE_CTX_NCACHE_L2,4,2        ## @RTREE_CTX_NCACHE_L2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtree_ctx_data_init            ; -- Begin function rtree_ctx_data_init
	.p2align	2
_rtree_ctx_data_init:                   ; @rtree_ctx_data_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RTREE_CTX_NCACHE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTREE_CTX_NCACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _RTREE_LEAFKEY_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTREE_LEAFKEY_INVALID@GOTPAGEOFF]
	cbz	w9, LBB0_9
; %bb.1:
	ldr	x10, [x0, #8]
	cmp	w9, #8
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #4
	add	x12, x8, #8
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffff8
	add	x13, x10, #64
	movi.2d	v0, #0000000000000000
	mov	x12, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ld1r.2d	{ v1 }, [x8]
	sub	x14, x13, #64
	st2.2d	{ v0, v1 }, [x14]
	sub	x14, x13, #32
	st2.2d	{ v0, v1 }, [x14]
	add	x14, x13, #128
	st2.2d	{ v0, v1 }, [x13], #32
	st2.2d	{ v0, v1 }, [x13]
	mov	x13, x14
	subs	x12, x12, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	add	x10, x10, x11, lsl #4
	add	x10, x10, #8
	sub	x9, x9, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	stp	xzr, x11, [x10, #-8]
	add	x10, x10, #16
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
Lloh5:
	adrp	x9, _RTREE_CTX_NCACHE_L2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTREE_CTX_NCACHE_L2@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cbz	w9, LBB0_18
; %bb.10:
	ldr	x10, [x0]
	cmp	w9, #8
	b.lo	LBB0_15
; %bb.11:
	add	x11, x10, x9, lsl #4
	add	x12, x8, #8
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_15
; %bb.12:
	and	x11, x9, #0xfffffff8
	add	x13, x10, #64
	movi.2d	v0, #0000000000000000
	mov	x12, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ld1r.2d	{ v1 }, [x8]
	sub	x14, x13, #64
	st2.2d	{ v0, v1 }, [x14]
	sub	x14, x13, #32
	st2.2d	{ v0, v1 }, [x14]
	add	x14, x13, #128
	st2.2d	{ v0, v1 }, [x13], #32
	st2.2d	{ v0, v1 }, [x13]
	mov	x13, x14
	subs	x12, x12, #8
	b.ne	LBB0_13
; %bb.14:
	cmp	x11, x9
	b.ne	LBB0_16
	b	LBB0_18
LBB0_15:
	mov	x11, #0
LBB0_16:
	add	x10, x10, x11, lsl #4
	add	x10, x10, #8
	sub	x9, x9, x11
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	stp	xzr, x11, [x10, #-8]
	add	x10, x10, #16
	subs	x9, x9, #1
	b.ne	LBB0_17
LBB0_18:
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RTREE_CTX_NCACHE,4,2           ; @RTREE_CTX_NCACHE
	.comm	_RTREE_LEAFKEY_INVALID,8,3      ; @RTREE_LEAFKEY_INVALID
	.comm	_RTREE_CTX_NCACHE_L2,4,2        ; @RTREE_CTX_NCACHE_L2
.subsections_via_symbols
