	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_decommit_wrapper        ## -- Begin function extent_decommit_wrapper
	.p2align	4, 0x90
_extent_decommit_wrapper:               ## @extent_decommit_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	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	%r15, %rdi
	movq	%r12, %rsi
	callq	_extent_hooks_assure_initialized
	movq	_extent_hooks_default@GOTPCREL(%rip), %r13
	cmpq	%r13, (%r12)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_extent_hook_pre_reentrancy
	movq	(%r12), %r13
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r15
	testq	%r15, %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_extent_base_get
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_extent_size_get
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_arena_ind_get
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r9d
	callq	*%r15
	testq	%rax, %rax
	setne	%r14b
	movq	(%r12), %r13
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %r13
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_extent_hook_post_reentrancy
LBB0_7:
	movzbl	%r14b, %r14d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_extent_committed_get
	testq	%rax, %rax
	setne	%al
	movl	%r14d, %ecx
	andb	%al, %cl
	movzbl	%cl, %esi
	movq	%rbx, %rdi
	callq	_extent_committed_set
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movb	$1, %r14b
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %r13
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_decommit_wrapper        ; -- Begin function extent_decommit_wrapper
	.p2align	2
_extent_decommit_wrapper:               ; @extent_decommit_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	x28, x5
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
	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, x24
	mov	x1, x21
	bl	_extent_hooks_assure_initialized
	ldr	x8, [x21]
Lloh3:
	adrp	x27, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x27, [x27, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x27
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x20
	mov	x1, x24
	bl	_extent_hook_pre_reentrancy
	ldr	x25, [x21]
	ldr	x22, [x25]
	cbz	x22, LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_extent_base_get
	mov	x26, x0
	mov	x0, x19
	bl	_extent_size_get
	mov	x27, x0
	mov	x0, x24
	bl	_arena_ind_get
	mov	x5, x0
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
Lloh5:
	adrp	x27, _extent_hooks_default@GOTPAGE
Lloh6:
	ldr	x27, [x27, _extent_hooks_default@GOTPAGEOFF]
	mov	x3, x23
	mov	x4, x28
	blr	x22
	cmp	x0, #0
	cset	w22, ne
	ldr	x25, [x21]
	cmp	x25, x27
	b.eq	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_extent_hook_post_reentrancy
LBB0_4:
	mov	x0, x19
	bl	_extent_committed_get
	cmp	x0, #0
	cset	w8, ne
	and	w1, w8, w22
	mov	x0, x19
	bl	_extent_committed_set
	mov	x0, x22
	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_5:
	mov	x25, x27
	ldr	x22, [x25]
	cbnz	x22, LBB0_2
LBB0_6:
	mov	w22, #1
	cmp	x25, x27
	b.ne	LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
.subsections_via_symbols
