	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_dalloc_wrapper_try
_extent_dalloc_wrapper_try:             ## @extent_dalloc_wrapper_try
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rcx, %rdi
	callq	_extent_base_get
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r13, %rdi
	callq	_extent_size_get
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_tsdn_witness_tsdp_get
	movq	_WITNESS_RANK_CORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_witness_assert_depth_to_rank
	movq	%r13, %rdi
	callq	_extent_base_get
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_extent_addr_set
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_extent_hooks_assure_initialized
	movq	(%r12), %rax
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_extent_hook_pre_reentrancy
	movq	(%r12), %rbx
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	%r13, %rdi
	callq	_extent_base_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_extent_size_get
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_extent_committed_get
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_arena_ind_get
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	*%r12
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_5
LBB0_1:
	movq	%r13, %rdi
	callq	_extent_base_get
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_extent_size_get
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_extent_dalloc_default_impl
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jne	LBB0_8
	jmp	LBB0_7
LBB0_3:
	movl	$1, %ebx
LBB0_5:
	movq	%r15, %rdi
	callq	_extent_hook_post_reentrancy
	testl	%ebx, %ebx
	jne	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_extent_dalloc
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
	.no_dead_strip	_extent_dalloc_wrapper_try
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_dalloc_wrapper_try
_extent_dalloc_wrapper_try:             ; @extent_dalloc_wrapper_try
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x3
	bl	_extent_base_get
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_extent_size_get
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x21
	bl	_tsdn_witness_tsdp_get
Lloh0:
	adrp	x8, _WITNESS_RANK_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WITNESS_RANK_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_witness_assert_depth_to_rank
	mov	x0, x19
	bl	_extent_base_get
	mov	x1, x0
	mov	x0, x19
	bl	_extent_addr_set
	mov	x0, x20
	mov	x1, x22
	bl	_extent_hooks_assure_initialized
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x9, [x9, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_extent_hook_pre_reentrancy
	ldr	x22, [x22]
	ldr	x26, [x22]
	cbz	x26, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_extent_base_get
	mov	x23, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x24, x0
	mov	x0, x19
	bl	_extent_committed_get
	mov	x25, x0
	mov	x0, x20
	bl	_arena_ind_get
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	blr	x26
	cmp	x0, #0
	cset	w22, ne
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_extent_base_get
	mov	x22, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x1, x0
	mov	x0, x22
	bl	_extent_dalloc_default_impl
	mov	x22, x0
	cbnz	w22, LBB0_7
	b	LBB0_6
LBB0_4:
	mov	w22, #1
LBB0_5:
	mov	x0, x21
	bl	_extent_hook_post_reentrancy
	cbnz	w22, LBB0_7
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_extent_dalloc
LBB0_7:
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
	.no_dead_strip	_extent_dalloc_wrapper_try
.subsections_via_symbols
