	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arena_slab_alloc_hard
_arena_slab_alloc_hard:                 ## @arena_slab_alloc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	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
	movl	$0, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	(%r15), %r8d
	movq	_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-44(%rbp), %r10
	leaq	-48(%rbp), %r11
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	%r12
	pushq	$1
	pushq	%rax
	callq	_extent_alloc_wrapper
	addq	$48, %rsp
	movq	%rax, %rbx
	movq	_config_stats@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_arena_stats_mapped_add
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_PAGE,4,2                       ## @PAGE
	.comm	_config_stats,8,3               ## @config_stats
	.no_dead_strip	_arena_slab_alloc_hard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arena_slab_alloc_hard
_arena_slab_alloc_hard:                 ; @arena_slab_alloc_hard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, 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	w8, #1
	stp	w8, wzr, [sp, #24]
	ldr	w4, [x20]
Lloh3:
	adrp	x8, _PAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	add	x8, sp, #24
	add	x9, sp, #28
	stp	x9, x8, [sp, #8]
	str	w22, [sp]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, #0
	mov	w5, #0
	mov	w7, #1
	bl	_extent_alloc_wrapper
	mov	x22, x0
Lloh6:
	adrp	x8, _config_stats@GOTPAGE
Lloh7:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [x20]
	mov	x0, x21
	mov	x1, x19
	bl	_arena_stats_mapped_add
LBB0_2:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_PAGE,4,2                       ; @PAGE
	.comm	_config_stats,8,3               ; @config_stats
	.no_dead_strip	_arena_slab_alloc_hard
.subsections_via_symbols
