	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_kenter_flags              ## -- Begin function pmap_kenter_flags
	.p2align	4, 0x90
_pmap_kenter_flags:                     ## @pmap_kenter_flags
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movl	%edi, %r12d
	callq	_tsb_kvtotte
	movq	%rax, %r14
	movq	_KTR_PMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_CTR4
	movq	_TS_8K@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_TV_VPN
	movl	%eax, 4(%r14)
	movq	_TD_V@GOTPCREL(%rip), %rax
	movq	_TD_8K@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	movl	%r15d, %edi
	callq	_TD_PA
	movq	_TD_REF@GOTPCREL(%rip), %rcx
	orl	%ebx, %eax
	orl	(%rcx), %eax
	movq	_TD_P@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTR_PMAP,4,2                   ## @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmap_kenter_flags: va=%#lx pa=%#lx tp=%p data=%#lx"

	.comm	_TS_8K,4,2                      ## @TS_8K
	.comm	_TD_V,4,2                       ## @TD_V
	.comm	_TD_8K,4,2                      ## @TD_8K
	.comm	_TD_REF,4,2                     ## @TD_REF
	.comm	_TD_P,4,2                       ## @TD_P
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_kenter_flags              ; -- Begin function pmap_kenter_flags
	.p2align	2
_pmap_kenter_flags:                     ; @pmap_kenter_flags
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_tsb_kvtotte
	mov	x22, x0
Lloh0:
	adrp	x8, _KTR_PMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KTR_PMAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w5, [x22]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	bl	_CTR4
Lloh5:
	adrp	x8, _TS_8K@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TS_8K@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_TV_VPN
	str	w0, [x22, #4]
Lloh8:
	adrp	x8, _TD_V@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TD_V@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
Lloh11:
	adrp	x8, _TD_8K@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TD_8K@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_TD_PA
Lloh14:
	adrp	x8, _TD_REF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TD_REF@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _TD_P@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TD_P@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w10, w21, w19
	orr	w10, w10, w23
	orr	w10, w10, w0
	orr	w8, w10, w8
	orr	w8, w8, w9
	str	w8, [x22]
	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	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KTR_PMAP,4,2                   ; @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmap_kenter_flags: va=%#lx pa=%#lx tp=%p data=%#lx"

	.comm	_TS_8K,4,2                      ; @TS_8K
	.comm	_TD_V,4,2                       ; @TD_V
	.comm	_TD_8K,4,2                      ; @TD_8K
	.comm	_TD_REF,4,2                     ; @TD_REF
	.comm	_TD_P,4,2                       ; @TD_P
.subsections_via_symbols
