	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtree_new                      ## -- Begin function rtree_new
	.p2align	4, 0x90
_rtree_new:                             ## @rtree_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_assert
	movq	_WITNESS_RANK_RTREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_malloc_mutex_rank_exclusive@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_malloc_mutex_init
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtree"

	.comm	_WITNESS_RANK_RTREE,4,2         ## @WITNESS_RANK_RTREE
	.comm	_malloc_mutex_rank_exclusive,4,2 ## @malloc_mutex_rank_exclusive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtree_new                      ; -- Begin function rtree_new
	.p2align	2
_rtree_new:                             ; @rtree_new
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_assert
Lloh0:
	adrp	x8, _WITNESS_RANK_RTREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WITNESS_RANK_RTREE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _malloc_mutex_rank_exclusive@GOTPAGE
Lloh4:
	ldr	x8, [x8, _malloc_mutex_rank_exclusive@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_malloc_mutex_init
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtree"

	.comm	_WITNESS_RANK_RTREE,4,2         ; @WITNESS_RANK_RTREE
	.comm	_malloc_mutex_rank_exclusive,4,2 ; @malloc_mutex_rank_exclusive
.subsections_via_symbols
