	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_early_io_map              ## -- Begin function pmap_early_io_map
	.p2align	4, 0x90
_pmap_early_io_map:                     ## @pmap_early_io_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_pmap_bootstrapped@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mfmsr
	movq	_PSL_DR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_DMAP_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	addq	%r14, %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pmap_bootstrapped,4,2          ## @pmap_bootstrapped
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not available after PMAP started!"

	.comm	_PSL_DR,4,2                     ## @PSL_DR
	.comm	_DMAP_BASE_ADDRESS,8,3          ## @DMAP_BASE_ADDRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_early_io_map              ; -- Begin function pmap_early_io_map
	.p2align	2
_pmap_early_io_map:                     ; @pmap_early_io_map
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _pmap_bootstrapped@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pmap_bootstrapped@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	bl	_mfmsr
Lloh5:
	adrp	x8, _PSL_DR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PSL_DR@GOTPAGEOFF]
Lloh7:
	adrp	x9, _DMAP_BASE_ADDRESS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DMAP_BASE_ADDRESS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	x9, [x9]
	tst	w8, w0
	csel	x8, x9, xzr, eq
	add	x0, x8, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pmap_bootstrapped,4,2          ; @pmap_bootstrapped
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not available after PMAP started!"

	.comm	_PSL_DR,4,2                     ; @PSL_DR
	.comm	_DMAP_BASE_ADDRESS,8,3          ; @DMAP_BASE_ADDRESS
.subsections_via_symbols
