	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function base_extent_bump_alloc_post
_base_extent_bump_alloc_post:           ## @base_extent_bump_alloc_post
	.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
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_extent_bsize_get
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_extent_bsize_get
	leaq	1(%rax), %rdi
	callq	_sz_size2index
	movq	40(%r13), %rcx
	leaq	(%rcx,%rax,4), %rdi
	addq	$-4, %rdi
	movq	%rbx, %rsi
	callq	_extent_heap_insert
LBB0_2:
	movq	_config_stats@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	addq	%r15, (%r13)
	addq	%r14, %r15
	movq	%r15, %rdi
	callq	_PAGE_CEILING
	movq	%rax, %rbx
	subq	%r12, %r14
	movq	%r14, %rdi
	callq	_PAGE_CEILING
	subq	%rax, %rbx
	addq	8(%r13), %rbx
	movq	%rbx, 8(%r13)
	xorl	%edi, %edi
	cmpq	%rbx, (%r13)
	setle	%dil
	callq	_assert
	movq	8(%r13), %rax
	xorl	%edi, %edi
	cmpq	16(%r13), %rax
	setle	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_metadata_thp_madvise
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_opt_metadata_thp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_metadata_thp_always@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, 32(%r13)
	je	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_HUGEPAGE_CEILING
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_HUGEPAGE_CEILING
	subl	%eax, %ebx
	movq	_LG_HUGEPAGE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movslq	%ebx, %rax
	addq	24(%r13), %rax
	movq	%rax, 24(%r13)
	shlq	%cl, %rax
	xorl	%edi, %edi
	cmpq	%rax, 16(%r13)
	setge	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_stats,8,3               ## @config_stats
	.comm	_opt_metadata_thp,8,3           ## @opt_metadata_thp
	.comm	_metadata_thp_always,8,3        ## @metadata_thp_always
	.comm	_LG_HUGEPAGE,4,2                ## @LG_HUGEPAGE
	.no_dead_strip	_base_extent_bump_alloc_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function base_extent_bump_alloc_post
_base_extent_bump_alloc_post:           ; @base_extent_bump_alloc_post
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_extent_bsize_get
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_extent_bsize_get
	add	x0, x0, #1
	bl	_sz_size2index
	ldr	x8, [x19, #40]
	add	x8, x8, x0, lsl #2
	sub	x0, x8, #4
	mov	x1, x23
	bl	_extent_heap_insert
LBB0_2:
Lloh0:
	adrp	x8, _config_stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	add	x8, x8, x20
	str	x8, [x19]
	add	x20, x21, x20
	mov	x0, x20
	bl	_PAGE_CEILING
	mov	x23, x0
	sub	x21, x21, x22
	mov	x0, x21
	bl	_PAGE_CEILING
	ldp	x9, x8, [x19]
	sub	x10, x23, x0
	add	x8, x8, x10
	str	x8, [x19, #8]
	cmp	x9, x8
	cset	w0, le
	bl	_assert
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	cset	w0, le
	bl	_assert
	bl	_metadata_thp_madvise
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _opt_metadata_thp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_metadata_thp@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _metadata_thp_always@GOTPAGE
Lloh7:
	ldr	x9, [x9, _metadata_thp_always@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_HUGEPAGE_CEILING
	mov	x20, x0
	mov	x0, x21
	bl	_HUGEPAGE_CEILING
	sub	w8, w20, w0
Lloh9:
	adrp	x9, _LG_HUGEPAGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LG_HUGEPAGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldp	x11, x10, [x19, #16]
	add	x8, x10, w8, sxtw
	str	x8, [x19, #24]
	lsl	x8, x8, x9
	cmp	x11, x8
	cset	w0, ge
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_assert
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_config_stats,8,3               ; @config_stats
	.comm	_opt_metadata_thp,8,3           ; @opt_metadata_thp
	.comm	_metadata_thp_always,8,3        ; @metadata_thp_always
	.comm	_LG_HUGEPAGE,4,2                ; @LG_HUGEPAGE
	.no_dead_strip	_base_extent_bump_alloc_post
.subsections_via_symbols
