	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_deregister_impl
_extent_deregister_impl:                ## @extent_deregister_impl
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-52(%rbp), %rsi
	callq	_tsdn_rtree_ctx
	movq	%rax, %r12
	leaq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_extent_rtree_leaf_elms_lookup
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_extent_lock
	movq	-48(%rbp), %rsi
	movq	-40(%rbp), %rdx
	movq	_SC_NSIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_extent_rtree_write_acquired
	movq	%r14, %rdi
	callq	_extent_slab_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_extent_interior_deregister
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_extent_slab_set
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_extent_unlock
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:
	movq	_config_prof@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_extent_gdump_sub
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_NSIZES,4,2                  ## @SC_NSIZES
	.comm	_config_prof,8,3                ## @config_prof
	.no_dead_strip	_extent_deregister_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_deregister_impl
_extent_deregister_impl:                ; @extent_deregister_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #28
	bl	_tsdn_rtree_ctx
	mov	x22, x0
	add	x5, sp, #16
	add	x6, sp, #8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	w3, #1
	mov	w4, #0
	bl	_extent_rtree_leaf_elms_lookup
	mov	x0, x20
	mov	x1, x19
	bl	_extent_lock
	ldp	x2, x1, [sp, #8]
Lloh0:
	adrp	x8, _SC_NSIZES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SC_NSIZES@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x3, #0
	mov	w5, #0
	bl	_extent_rtree_write_acquired
	mov	x0, x19
	bl	_extent_slab_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_extent_interior_deregister
	mov	x0, x19
	mov	w1, #0
	bl	_extent_slab_set
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_extent_unlock
	cbz	w21, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _config_prof@GOTPAGE
Lloh4:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_extent_gdump_sub
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_NSIZES,4,2                  ; @SC_NSIZES
	.comm	_config_prof,8,3                ; @config_prof
	.no_dead_strip	_extent_deregister_impl
.subsections_via_symbols
