	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtree_leaf_alloc_intercept
_rtree_leaf_alloc_intercept:            ## @rtree_leaf_alloc_intercept
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	cmpq	_test_rtree@GOTPCREL(%rip), %rsi
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtree_leaf_alloc_orig          ## TAILCALL
LBB0_1:
	movq	_test_rtree@GOTPCREL(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_unlock
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_assert_ptr_not_null
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_lock
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_test_rtree,4,2                 ## @test_rtree
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected calloc() failure"

	.no_dead_strip	_rtree_leaf_alloc_intercept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtree_leaf_alloc_intercept
_rtree_leaf_alloc_intercept:            ; @rtree_leaf_alloc_intercept
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _test_rtree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _test_rtree@GOTPAGEOFF]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtree_leaf_alloc_orig
LBB0_2:
Lloh2:
	adrp	x21, _test_rtree@GOTPAGE
Lloh3:
	ldr	x21, [x21, _test_rtree@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	bl	_malloc_mutex_unlock
	mov	x0, x20
	mov	w1, #4
	bl	_calloc
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_assert_ptr_not_null
	mov	x0, x19
	mov	x1, x21
	bl	_malloc_mutex_lock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_test_rtree,4,2                 ; @test_rtree
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected calloc() failure"

	.no_dead_strip	_rtree_leaf_alloc_intercept
.subsections_via_symbols
