	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_alloc_retained
_extent_alloc_retained:                 ## @extent_alloc_retained
	.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, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r8, %r8
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%rbp)
	setne	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_lock
	leaq	4(%r15), %rcx
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, %r9
	pushq	$1
	pushq	48(%rbp)
	pushq	40(%rbp)
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	16(%rbp)
	pushq	%rbx
	callq	_extent_recycle
	addq	$64, %rsp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_unlock
	movq	_config_prof@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_extent_gdump_add
	jmp	LBB0_7
LBB0_3:
	movq	16(%rbp), %r9
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	48(%rbp), %r10
	movq	40(%rbp), %r13
	movl	32(%rbp), %r11d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.4:
	movq	_opt_retain@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	pushq	%r10
	pushq	%r13
	pushq	%r11
	movl	24(%rbp), %eax
	pushq	%rax
	callq	_extent_grow_retained
	addq	$32, %rsp
	movq	%rax, %r13
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_unlock
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_assert_not_owner
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,8,3                ## @config_prof
	.comm	_opt_retain,8,3                 ## @opt_retain
	.no_dead_strip	_extent_alloc_retained
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_alloc_retained
_extent_alloc_retained:                 ; @extent_alloc_retained
	.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	x28, x7
	mov	x21, x6
	mov	x27, x5
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x25, [x29, #24]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w26, [x29, #16]
	cmp	x4, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_lock
	add	x3, x19, #4
	mov	w8, #1
	str	w8, [sp, #24]
	stp	x25, x24, [sp, #32]             ; 16-byte Folded Spill
	str	x25, [sp, #16]
	ldr	x25, [sp, #56]                  ; 8-byte Folded Reload
	str	x25, [sp, #8]
	stp	w28, w26, [sp]
	str	w28, [sp, #52]                  ; 4-byte Folded Spill
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	x24, x22
	mov	x4, x22
	mov	x5, x23
	mov	x22, x27
	mov	x6, x27
	mov	x7, x21
	bl	_extent_recycle
	cbz	x0, LBB0_3
; %bb.1:
	mov	x28, x0
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_unlock
Lloh0:
	adrp	x8, _config_prof@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x0, x20
	mov	x1, x28
	bl	_extent_gdump_add
	b	LBB0_7
LBB0_3:
	ldp	x9, x2, [sp, #32]               ; 16-byte Folded Reload
	ldr	w6, [sp, #52]                   ; 4-byte Folded Reload
	cbnz	x24, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _opt_retain@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_retain@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	stp	x25, x9, [sp]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x7, x26
	bl	_extent_grow_retained
	mov	x28, x0
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_unlock
	mov	x28, #0
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_assert_not_owner
	mov	x0, x28
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,8,3                ; @config_prof
	.comm	_opt_retain,8,3                 ; @opt_retain
	.no_dead_strip	_extent_alloc_retained
.subsections_via_symbols
