	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function base_map
_base_map:                              ## @base_map
	.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	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	$1, -48(%rbp)
	movl	$1, -44(%rbp)
	movq	%rcx, %rdi
	callq	_HUGEPAGE_CEILING
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	callq	_assert
	movq	_HUGEPAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %r14
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	callq	_tsdn_null
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_tsd_fetch
	jmp	LBB0_5
LBB0_1:
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_extent_alloc_mmap
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_4:
	movq	%r13, %rdi
	callq	_tsdn_tsd
LBB0_5:
	movq	%rax, %r13
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_pre_reentrancy
	movl	%r15d, (%rsp)
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	*(%r14)
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_post_reentrancy
LBB0_6:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HUGEPAGE,8,3                   ## @HUGEPAGE
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
	.no_dead_strip	_base_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function base_map
_base_map:                              ; @base_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	mov	w8, #1
	stp	w8, w8, [sp, #8]
	mov	x0, x3
	bl	_HUGEPAGE_CEILING
	cmp	x0, x19
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x8, _HUGEPAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HUGEPAGE@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x8, [x8, _extent_hooks_default@GOTPAGEOFF]
	cmp	x21, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_tsdn_null
	cbz	x0, LBB0_4
; %bb.2:
	bl	_tsd_fetch
	b	LBB0_5
LBB0_3:
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, #0
	mov	x1, x19
	mov	x2, x22
	bl	_extent_alloc_mmap
	mov	x19, x0
	b	LBB0_6
LBB0_4:
	mov	x0, x23
	bl	_tsdn_tsd
LBB0_5:
	mov	x23, x0
	mov	x1, #0
	bl	_pre_reentrancy
	ldr	x8, [x21]
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x0, x21
	mov	x1, #0
	mov	x2, x19
	mov	x3, x22
	mov	x6, x20
	blr	x8
	mov	x19, x0
	mov	x0, x23
	bl	_post_reentrancy
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HUGEPAGE,8,3                   ; @HUGEPAGE
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
	.no_dead_strip	_base_map
.subsections_via_symbols
