	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_kvm_tdp_mmu
_init_kvm_tdp_mmu:                      ## @init_kvm_tdp_mmu
	.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, %rbx
	movq	_nonpaging_new_cr3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	_tdp_page_fault@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_nonpaging_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	_nonpaging_prefetch_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movq	_nonpaging_sync_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_nonpaging_invlpg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movl	%eax, 20(%rbx)
	movq	_INVALID_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_is_paging
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_is_long_mode
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_PT64_ROOT_LEVEL@GOTPCREL(%rip), %r14
	jmp	LBB0_4
LBB0_1:
	movq	_nonpaging_gva_to_gpa@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_is_pae
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_PT32E_ROOT_LEVEL@GOTPCREL(%rip), %r14
LBB0_4:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_reset_rsvds_bits_mask
	movq	_paging64_gva_to_gpa@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	(%r14), %rax
LBB0_9:
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_PT32_ROOT_LEVEL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_reset_rsvds_bits_mask
	movq	_paging32_gva_to_gpa@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_nonpaging_new_cr3,4,2          ## @nonpaging_new_cr3
	.comm	_tdp_page_fault,4,2             ## @tdp_page_fault
	.comm	_nonpaging_free,4,2             ## @nonpaging_free
	.comm	_nonpaging_prefetch_page,4,2    ## @nonpaging_prefetch_page
	.comm	_nonpaging_sync_page,4,2        ## @nonpaging_sync_page
	.comm	_nonpaging_invlpg,4,2           ## @nonpaging_invlpg
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_INVALID_PAGE,4,2               ## @INVALID_PAGE
	.comm	_nonpaging_gva_to_gpa,8,3       ## @nonpaging_gva_to_gpa
	.comm	_PT64_ROOT_LEVEL,8,3            ## @PT64_ROOT_LEVEL
	.comm	_paging64_gva_to_gpa,8,3        ## @paging64_gva_to_gpa
	.comm	_PT32E_ROOT_LEVEL,8,3           ## @PT32E_ROOT_LEVEL
	.comm	_PT32_ROOT_LEVEL,8,3            ## @PT32_ROOT_LEVEL
	.comm	_paging32_gva_to_gpa,8,3        ## @paging32_gva_to_gpa
	.no_dead_strip	_init_kvm_tdp_mmu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_kvm_tdp_mmu
_init_kvm_tdp_mmu:                      ; @init_kvm_tdp_mmu
	.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, _nonpaging_new_cr3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nonpaging_new_cr3@GOTPAGEOFF]
Lloh2:
	adrp	x9, _tdp_page_fault@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tdp_page_fault@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh6:
	adrp	x8, _nonpaging_free@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nonpaging_free@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _nonpaging_prefetch_page@GOTPAGE
Lloh10:
	ldr	x9, [x9, _nonpaging_prefetch_page@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
Lloh12:
	adrp	x8, _nonpaging_sync_page@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nonpaging_sync_page@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _nonpaging_invlpg@GOTPAGE
Lloh16:
	ldr	x9, [x9, _nonpaging_invlpg@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh18:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
Lloh21:
	adrp	x8, _INVALID_PAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INVALID_PAGE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	mov	x0, x19
	bl	_is_paging
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_is_long_mode
	cbz	x0, LBB0_4
; %bb.2:
Lloh24:
	adrp	x20, _PT64_ROOT_LEVEL@GOTPAGE
Lloh25:
	ldr	x20, [x20, _PT64_ROOT_LEVEL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	x8, #0
Lloh26:
	adrp	x9, _nonpaging_gva_to_gpa@GOTPAGE
Lloh27:
	ldr	x9, [x9, _nonpaging_gva_to_gpa@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	str	x9, [x19, #8]
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_is_pae
	cbz	x0, LBB0_9
; %bb.5:
Lloh29:
	adrp	x20, _PT32E_ROOT_LEVEL@GOTPAGE
Lloh30:
	ldr	x20, [x20, _PT32E_ROOT_LEVEL@GOTPAGEOFF]
LBB0_6:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_reset_rsvds_bits_mask
Lloh31:
	adrp	x8, _paging64_gva_to_gpa@GOTPAGE
Lloh32:
	ldr	x8, [x8, _paging64_gva_to_gpa@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x20]
LBB0_8:
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh33:
	adrp	x20, _PT32_ROOT_LEVEL@GOTPAGE
Lloh34:
	ldr	x20, [x20, _PT32_ROOT_LEVEL@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_reset_rsvds_bits_mask
Lloh35:
	adrp	x8, _paging32_gva_to_gpa@GOTPAGE
Lloh36:
	ldr	x8, [x8, _paging32_gva_to_gpa@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_nonpaging_new_cr3,4,2          ; @nonpaging_new_cr3
	.comm	_tdp_page_fault,4,2             ; @tdp_page_fault
	.comm	_nonpaging_free,4,2             ; @nonpaging_free
	.comm	_nonpaging_prefetch_page,4,2    ; @nonpaging_prefetch_page
	.comm	_nonpaging_sync_page,4,2        ; @nonpaging_sync_page
	.comm	_nonpaging_invlpg,4,2           ; @nonpaging_invlpg
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_INVALID_PAGE,4,2               ; @INVALID_PAGE
	.comm	_nonpaging_gva_to_gpa,8,3       ; @nonpaging_gva_to_gpa
	.comm	_PT64_ROOT_LEVEL,8,3            ; @PT64_ROOT_LEVEL
	.comm	_paging64_gva_to_gpa,8,3        ; @paging64_gva_to_gpa
	.comm	_PT32E_ROOT_LEVEL,8,3           ; @PT32E_ROOT_LEVEL
	.comm	_PT32_ROOT_LEVEL,8,3            ; @PT32_ROOT_LEVEL
	.comm	_paging32_gva_to_gpa,8,3        ; @paging32_gva_to_gpa
	.no_dead_strip	_init_kvm_tdp_mmu
.subsections_via_symbols
