	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_extent_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movq	16(%rbp), %rdi
	addq	%rbx, %r15
	movq	_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALIGNMENT_CEILING
	movq	%rax, %r8
	movq	(%r12), %rax
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	callq	_extent_hook_pre_reentrancy
	movq	(%r12), %rbx
	movq	(%rbx), %r12
	movq	%r14, %rdi
	callq	_arena_ind_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rbp), %r8
	movq	48(%rbp), %r9
	pushq	%rax
	callq	*%r12
	addq	$16, %rsp
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_extent_hook_post_reentrancy
	testq	%r12, %r12
	jne	LBB0_5
	jmp	LBB0_8
LBB0_2:
	subq	$8, %rsp
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	40(%rbp), %r9
	pushq	48(%rbp)
	callq	_extent_alloc_default_impl
	addq	$16, %rsp
	movq	%rax, %r12
	testq	%r12, %r12
	je	LBB0_8
LBB0_5:
	movq	%r14, %rdi
	callq	_arena_ind_get
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_arena_extent_sn_next
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_extent_state_active@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %rax
	movl	(%rax), %r11d
	movq	48(%rbp), %rax
	movl	(%rax), %r10d
	movq	_EXTENT_NOT_HEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	24(%rbp), %r8d
	movl	32(%rbp), %r9d
	pushq	%rax
	pushq	$1
	pushq	%r10
	pushq	%r11
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_extent_init
	addq	$48, %rsp
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	16(%rbp), %rcx
	callq	_extent_addr_randomize
LBB0_7:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_extent_register
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_extent_dalloc
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE,4,2                       ## @PAGE
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
	.comm	_extent_state_active,4,2        ## @extent_state_active
	.comm	_EXTENT_NOT_HEAD,4,2            ## @EXTENT_NOT_HEAD
	.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	x26, x7
	mov	x25, x6
	mov	x23, x5
	mov	x22, x4
	mov	x28, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	bl	_extent_alloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
	ldp	x27, x26, [x29, #24]
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	add	x23, x23, x22
Lloh0:
	adrp	x8, _PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_ALIGNMENT_CEILING
	mov	x22, x0
	ldr	x8, [x24]
Lloh3:
	adrp	x9, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x9, [x9, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x9
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x21
	mov	x1, x20
	b.eq	LBB0_3
; %bb.2:
	bl	_extent_hook_pre_reentrancy
	ldr	x24, [x24]
	ldr	x25, [x24]
	mov	x0, x20
	bl	_arena_ind_get
	mov	x6, x0
	mov	x0, x24
	mov	x1, x28
	mov	x2, x23
	mov	x3, x22
	mov	x4, x27
	mov	x5, x26
	blr	x25
	mov	x28, x0
	mov	x0, x21
	bl	_extent_hook_post_reentrancy
	cbnz	x28, LBB0_4
	b	LBB0_7
LBB0_3:
	mov	x2, x28
	mov	x3, x23
	mov	x4, x22
	mov	x5, x27
	mov	x6, x26
	bl	_extent_alloc_default_impl
	mov	x28, x0
	cbz	x28, LBB0_7
LBB0_4:
	ldr	w22, [x29, #16]
	mov	x0, x20
	bl	_arena_ind_get
	mov	x24, x0
	mov	x0, x20
	bl	_arena_extent_sn_next
	mov	x6, x0
Lloh5:
	adrp	x8, _extent_state_active@GOTPAGE
Lloh6:
	ldr	x8, [x8, _extent_state_active@GOTPAGEOFF]
Lloh7:
	ldr	w7, [x8]
	ldr	w8, [x27]
	ldr	w9, [x26]
Lloh8:
	adrp	x10, _EXTENT_NOT_HEAD@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EXTENT_NOT_HEAD@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	mov	w11, #1
	stp	w11, w10, [sp, #8]
	stp	w8, w9, [sp]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x28
	mov	x3, x23
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	mov	x5, x22
	bl	_extent_init
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldr	x3, [sp, #24]                   ; 8-byte Folded Reload
	bl	_extent_addr_randomize
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_extent_register
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_extent_dalloc
	mov	x19, #0
LBB0_8:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE,4,2                       ; @PAGE
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
	.comm	_extent_state_active,4,2        ; @extent_state_active
	.comm	_EXTENT_NOT_HEAD,4,2            ; @EXTENT_NOT_HEAD
	.no_dead_strip	_extent_alloc_wrapper_hard
.subsections_via_symbols
