	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_alloc_wrapper           ## -- Begin function extent_alloc_wrapper
	.p2align	4, 0x90
_extent_alloc_wrapper:                  ## @extent_alloc_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	%r9, %r15
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	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	%r13, %rsi
	callq	_extent_hooks_assure_initialized
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r9
	pushq	48(%rbp)
	pushq	40(%rbp)
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	16(%rbp)
	callq	_extent_alloc_retained
	addq	$48, %rsp
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	%r15, %rdi
	callq	_extent_dumpable_get
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_7:
	callq	_assert
LBB0_8:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	48(%rbp), %r11
	movq	40(%rbp), %r10
	movl	32(%rbp), %r15d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	movq	_opt_retain@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_4:
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %r8
	pushq	%r11
	pushq	%r10
	pushq	%r15
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	16(%rbp)
	callq	_extent_alloc_wrapper_hard
	addq	$48, %rsp
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	$1, %edi
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_opt_retain,8,3                 ## @opt_retain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_alloc_wrapper           ; -- Begin function extent_alloc_wrapper
	.p2align	2
_extent_alloc_wrapper:                  ; @extent_alloc_wrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x27, x7
	mov	x21, x6
	mov	x19, x5
	mov	x24, x4
	mov	x20, x3
	mov	x28, x2
	mov	x22, x1
	mov	x26, x0
	ldp	x8, x23, [x29, #24]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w25, [x29, #16]
	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, x28
	bl	_extent_hooks_assure_initialized
	stp	x23, x24, [sp, #32]             ; 16-byte Folded Spill
	str	x23, [sp, #16]
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	str	x23, [sp, #8]
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x22
	mov	x2, x28
	str	x20, [sp, #48]                  ; 8-byte Folded Spill
	mov	x3, x20
	mov	x4, x24
	mov	x20, x19
	mov	x5, x19
	mov	x19, x21
	mov	x6, x21
	mov	x21, x27
	mov	x7, x27
	bl	_extent_alloc_retained
	mov	x27, x0
	cbz	x0, LBB0_4
LBB0_1:
	mov	x0, x27
	bl	_extent_dumpable_get
	cmp	x0, #0
	cset	w0, ne
LBB0_2:
	bl	_assert
LBB0_3:
	mov	x0, x27
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	ldp	x9, x4, [sp, #32]               ; 16-byte Folded Reload
	mov	x10, x23
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x3, LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _opt_retain@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_retain@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x27, #0
	b	LBB0_3
LBB0_7:
	stp	x10, x9, [sp, #8]
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x22
	mov	x2, x28
	mov	x5, x20
	mov	x6, x19
	mov	x7, x21
	bl	_extent_alloc_wrapper_hard
	mov	x27, x0
	cbnz	x0, LBB0_1
; %bb.8:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_opt_retain,8,3                 ; @opt_retain
.subsections_via_symbols
