	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function base_unmap
_base_unmap:                            ## @base_unmap
	.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, %r12
	movq	%rcx, %r14
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rsi
	je	LBB0_1
## %bb.6:
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_tsdn_null
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_tsd_fetch
	jmp	LBB0_9
LBB0_1:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_extent_dalloc_mmap
	testl	%eax, %eax
	je	LBB0_18
## %bb.2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_pages_decommit
	testl	%eax, %eax
	je	LBB0_18
## %bb.3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_pages_purge_forced
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_pages_purge_lazy
	testl	%eax, %eax
	je	LBB0_18
## %bb.5:
	xorl	%eax, %eax
	callq	_not_reached
	jmp	LBB0_18
LBB0_8:
	movq	%rbx, %rdi
	callq	_tsdn_tsd
LBB0_9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_pre_reentrancy
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	movl	%r13d, %r8d
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_17
LBB0_11:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	%r13d, %r9d
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_17
LBB0_13:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	%r13d, %r9d
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_17
LBB0_15:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	%r13d, %r9d
	callq	*%rax
LBB0_17:
	movq	%rbx, %rdi
	callq	_post_reentrancy
LBB0_18:
	xorl	%eax, %eax
	callq	_metadata_thp_madvise
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	_HUGEPAGE_MASK@GOTPCREL(%rip), %rax
	movq	%r14, %rcx
	orq	%r12, %rcx
	xorl	%edi, %edi
	andq	(%rax), %rcx
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pages_nohuge                   ## TAILCALL
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extent_hooks_default,32,3      ## @extent_hooks_default
	.comm	_HUGEPAGE_MASK,8,3              ## @HUGEPAGE_MASK
	.no_dead_strip	_base_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function base_unmap
_base_unmap:                            ; @base_unmap
	.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	x19, x4
	mov	x20, x3
Lloh0:
	adrp	x8, _extent_hooks_default@GOTPAGE
Lloh1:
	ldr	x8, [x8, _extent_hooks_default@GOTPAGEOFF]
	cmp	x1, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_tsdn_null
	cbz	x0, LBB0_8
; %bb.2:
	bl	_tsd_fetch
	b	LBB0_9
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_extent_dalloc_mmap
	cbz	w0, LBB0_18
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_pages_decommit
	cbz	w0, LBB0_18
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_pages_purge_forced
	cbz	w0, LBB0_18
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_pages_purge_lazy
	cbz	w0, LBB0_18
; %bb.7:
	bl	_not_reached
	b	LBB0_18
LBB0_8:
	mov	x0, x23
	bl	_tsdn_tsd
LBB0_9:
	mov	x23, x0
	mov	x1, #0
	bl	_pre_reentrancy
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	mov	x4, x21
	blr	x8
	cbz	w0, LBB0_17
LBB0_11:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	mov	x4, x19
	mov	x5, x21
	blr	x8
	cbz	w0, LBB0_17
LBB0_13:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	mov	x4, x19
	mov	x5, x21
	blr	x8
	cbz	w0, LBB0_17
LBB0_15:
	ldr	x8, [x22]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	mov	x4, x19
	mov	x5, x21
	blr	x8
LBB0_17:
	mov	x0, x23
	bl	_post_reentrancy
LBB0_18:
	bl	_metadata_thp_madvise
	cbz	x0, LBB0_20
; %bb.19:
Lloh2:
	adrp	x8, _HUGEPAGE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HUGEPAGE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	orr	x9, x20, x19
	tst	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	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	_pages_nohuge
LBB0_20:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_extent_hooks_default,32,3      ; @extent_hooks_default
	.comm	_HUGEPAGE_MASK,8,3              ; @HUGEPAGE_MASK
	.no_dead_strip	_base_unmap
.subsections_via_symbols
