	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svm_npt_init                   ## -- Begin function svm_npt_init
	.p2align	4, 0x90
_svm_npt_init:                          ## @svm_npt_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, -12(%rbp)
	movq	_NPT_IPIMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_npt_flags@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	leaq	L_.str(%rip), %rdi
	leaq	-12(%rbp), %rsi
	callq	_TUNABLE_INT_FETCH
	cmpl	$0, -12(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_PMAP_PDE_SUPERPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPT_IPIMASK,4,2                ## @NPT_IPIMASK
	.comm	_npt_flags,4,2                  ## @npt_flags
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.vmm.npt.enable_superpage"

	.comm	_PMAP_PDE_SUPERPAGE,4,2         ## @PMAP_PDE_SUPERPAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svm_npt_init                   ; -- Begin function svm_npt_init
	.p2align	2
_svm_npt_init:                          ; @svm_npt_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w8, #1
Lloh0:
	adrp	x9, _NPT_IPIMASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NPT_IPIMASK@GOTPAGEOFF]
	str	w8, [sp, #12]
Lloh2:
	ldr	w8, [x9]
	and	w8, w8, w0
Lloh3:
	adrp	x19, _npt_flags@GOTPAGE
Lloh4:
	ldr	x19, [x19, _npt_flags@GOTPAGEOFF]
	str	w8, [x19]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #12
	bl	_TUNABLE_INT_FETCH
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _PMAP_PDE_SUPERPAGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PMAP_PDE_SUPERPAGE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NPT_IPIMASK,4,2                ; @NPT_IPIMASK
	.comm	_npt_flags,4,2                  ; @npt_flags
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.vmm.npt.enable_superpage"

	.comm	_PMAP_PDE_SUPERPAGE,4,2         ; @PMAP_PDE_SUPERPAGE
.subsections_via_symbols
