	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_rtree_leaf_elm_try_lock
_extent_rtree_leaf_elm_try_lock:        ## @extent_rtree_leaf_elm_try_lock
	.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
	movl	%ecx, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_extents_rtree@GOTPCREL(%rip), %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_rtree_leaf_elm_extent_read
	movq	_lock_result_no_extent@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.2:
	movq	_extents_rtree@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_rtree_leaf_elm_slab_read
	testq	%rax, %rax
	jne	LBB0_6
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_extent_lock
	movq	_extents_rtree@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_rtree_leaf_elm_extent_read
	cmpq	%rax, %rbx
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_extent_unlock
	movq	_lock_result_failure@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_lock_result_success@GOTPCREL(%rip), %r14
LBB0_6:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extents_rtree,4,2              ## @extents_rtree
	.comm	_lock_result_no_extent,4,2      ## @lock_result_no_extent
	.comm	_lock_result_success,4,2        ## @lock_result_success
	.comm	_lock_result_failure,4,2        ## @lock_result_failure
	.no_dead_strip	_extent_rtree_leaf_elm_try_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_rtree_leaf_elm_try_lock
_extent_rtree_leaf_elm_try_lock:        ; @extent_rtree_leaf_elm_try_lock
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x1, _extents_rtree@GOTPAGE
Lloh1:
	ldr	x1, [x1, _extents_rtree@GOTPAGEOFF]
	mov	x2, x22
	mov	w3, #1
	bl	_rtree_leaf_elm_extent_read
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	cbz	w23, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, _extents_rtree@GOTPAGE
Lloh3:
	ldr	x1, [x1, _extents_rtree@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x22
	mov	w3, #1
	bl	_rtree_leaf_elm_slab_read
	cbz	x0, LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _lock_result_no_extent@GOTPAGE
Lloh5:
	ldr	x8, [x8, _lock_result_no_extent@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_extent_lock
Lloh6:
	adrp	x1, _extents_rtree@GOTPAGE
Lloh7:
	ldr	x1, [x1, _extents_rtree@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x22
	mov	w3, #1
	bl	_rtree_leaf_elm_extent_read
	cmp	x21, x0
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_extent_unlock
Lloh8:
	adrp	x8, _lock_result_failure@GOTPAGE
Lloh9:
	ldr	x8, [x8, _lock_result_failure@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	str	x21, [x19]
Lloh10:
	adrp	x8, _lock_result_success@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lock_result_success@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_extents_rtree,4,2              ; @extents_rtree
	.comm	_lock_result_no_extent,4,2      ; @lock_result_no_extent
	.comm	_lock_result_success,4,2        ; @lock_result_success
	.comm	_lock_result_failure,4,2        ; @lock_result_failure
	.no_dead_strip	_extent_rtree_leaf_elm_try_lock
.subsections_via_symbols
