	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_alloc_wrapper_hard
_extent_alloc_wrapper_hard:             ## @extent_alloc_wrapper_hard
	.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	$56, %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, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rdi, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_extent_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r12
	movq	48(%rbp), %r10
	movq	40(%rbp), %r9
	movq	16(%rbp), %r8
	addq	%r15, %r14
	movq	(%rbx), %rax
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movq	%r13, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_extent_hook_pre_reentrancy
	movq	(%rbx), %r13
	movq	(%r13), %rbx
	movq	%r15, %rdi
	callq	_arena_ind_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	16(%rbp), %rcx
	movq	40(%rbp), %r8
	movq	%r8, %r15
	movq	48(%rbp), %r14
	movq	%r14, %r9
	pushq	%rax
	callq	*%rbx
	addq	$16, %rsp
	movq	%rax, %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_extent_hook_post_reentrancy
	testq	%r13, %r13
	je	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_arena_extent_sn_next
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_extent_state_active@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	(%r15), %r11d
	movl	(%r14), %r10d
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	movl	32(%rbp), %r9d
	pushq	$1
	pushq	%r10
	pushq	%r11
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_extent_init
	addq	$48, %rsp
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	16(%rbp), %rdx
	callq	_extent_addr_randomize
LBB0_8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_extent_register
	testq	%rax, %rax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_extents_leak
	jmp	LBB0_10
LBB0_2:
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r9, %r15
	pushq	%r10
	movq	%r10, %r14
	callq	_extent_alloc_default_impl
	addq	$16, %rsp
	movq	%rax, %r13
	testq	%r13, %r13
	jne	LBB0_6
LBB0_5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_extent_dalloc
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
	.comm	_extent_state_active,4,2        ## @extent_state_active
	.no_dead_strip	_extent_alloc_wrapper_hard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_alloc_wrapper_hard
_extent_alloc_wrapper_hard:             ; @extent_alloc_wrapper_hard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x6
	mov	x24, x5
	mov	x26, x4
	mov	x25, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	bl	_extent_alloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	ldp	x28, x27, [x29, #24]
	add	x26, x24, x26
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _extent_hooks_default@GOTPAGE
Lloh1:
	ldr	x9, [x9, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x9
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x22
	mov	x1, x20
	b.eq	LBB0_7
; %bb.2:
	bl	_extent_hook_pre_reentrancy
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
	mov	x28, x27
	mov	x27, x26
	mov	x26, x24
	mov	x24, x23
	ldr	x23, [x21]
	ldr	x21, [x23]
	mov	x0, x20
	bl	_arena_ind_get
	mov	x6, x0
	mov	x0, x23
	mov	x23, x24
	mov	x24, x26
	mov	x26, x27
	mov	x27, x28
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x26
	mov	x3, x23
	mov	x4, x28
	mov	x5, x27
	blr	x21
	mov	x25, x0
	mov	x0, x22
	bl	_extent_hook_post_reentrancy
	cbz	x25, LBB0_8
LBB0_3:
	mov	x21, x23
	ldr	w23, [x29, #16]
	mov	x0, x20
	bl	_arena_extent_sn_next
	mov	x6, x0
Lloh2:
	adrp	x8, _extent_state_active@GOTPAGE
Lloh3:
	ldr	x8, [x8, _extent_state_active@GOTPAGEOFF]
Lloh4:
	ldr	w7, [x8]
	ldr	w8, [x28]
	ldr	w9, [x27]
	mov	w10, #1
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	mov	x5, x23
	bl	_extent_init
	cbz	x24, LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_extent_addr_randomize
LBB0_5:
	mov	x0, x22
	mov	x1, x19
	bl	_extent_register
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x22
	mov	x1, x20
	mov	x3, x20
	mov	x4, x19
	mov	w5, #0
	bl	_extents_leak
	b	LBB0_9
LBB0_7:
	mov	x2, x25
	mov	x3, x26
	mov	x4, x23
	mov	x5, x28
	mov	x6, x27
	bl	_extent_alloc_default_impl
	mov	x25, x0
	cbnz	x25, LBB0_3
LBB0_8:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_extent_dalloc
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
	.comm	_extent_state_active,4,2        ; @extent_state_active
	.no_dead_strip	_extent_alloc_wrapper_hard
.subsections_via_symbols
