	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_dalloc_wrapper          ## -- Begin function extent_dalloc_wrapper
	.p2align	4, 0x90
_extent_dalloc_wrapper:                 ## @extent_dalloc_wrapper
	.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, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rcx, %rdi
	callq	_extent_dumpable_get
	movl	%eax, %edi
	callq	_assert
	movq	%r12, %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	%r12, %rdi
	movq	%rbx, %rsi
	callq	_extent_deregister
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_extent_dalloc_wrapper_try
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_extent_reregister
	movq	(%r15), %rax
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_extent_hook_pre_reentrancy
LBB0_3:
	movq	%rbx, %rdi
	callq	_extent_committed_get
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	movq	%rbx, %rdi
	callq	_extent_size_get
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_extent_decommit_wrapper
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	(%r15), %r13
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_extent_base_get
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_extent_size_get
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_extent_size_get
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_arena_ind_get
	movq	%r13, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_13
LBB0_7:
	movq	%rbx, %rdi
	callq	_extent_state_get
	movq	_extent_state_muzzy@GOTPCREL(%rip), %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.8:
	movq	(%r15), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:
	movq	%rbx, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_extent_base_get
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_extent_size_get
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_extent_size_get
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_arena_ind_get
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_13
LBB0_12:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_13:
	movq	(%r15), %r13
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %r13
	je	LBB0_15
LBB0_14:
	movq	%r12, %rdi
	callq	_extent_hook_post_reentrancy
LBB0_15:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_extent_zeroed_set
	movq	_config_prof@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_extent_gdump_sub
LBB0_17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_extent_record                  ## TAILCALL
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %r13
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,16,3      ## @extent_hooks_default
	.comm	_extent_state_muzzy,8,3         ## @extent_state_muzzy
	.comm	_config_prof,8,3                ## @config_prof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_dalloc_wrapper          ; -- Begin function extent_dalloc_wrapper
	.p2align	2
_extent_dalloc_wrapper:                 ; @extent_dalloc_wrapper
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x3
	bl	_extent_dumpable_get
	bl	_assert
	mov	x0, x22
	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, x22
	mov	x1, x19
	bl	_extent_deregister
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	bl	_extent_dalloc_wrapper_try
	cbz	w0, LBB0_17
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	bl	_extent_reregister
	ldr	x8, [x21]
Lloh3:
	adrp	x27, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x27, [x27, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x27
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	bl	_extent_hook_pre_reentrancy
LBB0_3:
	mov	x0, x19
	bl	_extent_committed_get
	cbz	w0, LBB0_11
; %bb.4:
	mov	x0, x19
	bl	_extent_size_get
	mov	x5, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	mov	w4, #0
	bl	_extent_decommit_wrapper
	cbz	w0, LBB0_11
; %bb.5:
	ldr	x23, [x21]
	ldr	x28, [x23, #8]
	cbz	x28, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_extent_base_get
	mov	x24, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x25, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x26, x0
	mov	x0, x20
	bl	_arena_ind_get
	mov	x5, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	w3, #0
	mov	x4, x26
	blr	x28
	cbz	w0, LBB0_11
LBB0_7:
	mov	x0, x19
	bl	_extent_state_get
Lloh5:
	adrp	x8, _extent_state_muzzy@GOTPAGE
Lloh6:
	ldr	x8, [x8, _extent_state_muzzy@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.8:
	ldr	x23, [x21]
	ldr	x28, [x23]
	cbz	x28, LBB0_18
; %bb.9:
	mov	x0, x19
	bl	_extent_base_get
	mov	x24, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x25, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x26, x0
	mov	x0, x20
	bl	_arena_ind_get
	mov	x5, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	w3, #0
	mov	x4, x26
	blr	x28
LBB0_10:
	mov	w24, #0
	b	LBB0_12
LBB0_11:
	mov	w24, #1
LBB0_12:
	ldr	x23, [x21]
	cmp	x23, x27
	b.eq	LBB0_14
LBB0_13:
	mov	x0, x22
	bl	_extent_hook_post_reentrancy
LBB0_14:
	mov	x0, x19
	mov	x1, x24
	bl	_extent_zeroed_set
Lloh8:
	adrp	x8, _config_prof@GOTPAGE
Lloh9:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x22
	mov	x1, x19
	bl	_extent_gdump_sub
LBB0_16:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	w5, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_extent_record
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	w24, #0
	cmp	x23, x27
	b.ne	LBB0_13
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,16,3      ; @extent_hooks_default
	.comm	_extent_state_muzzy,8,3         ; @extent_state_muzzy
	.comm	_config_prof,8,3                ; @config_prof
.subsections_via_symbols
