	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_get_guest_memory_type      ## -- Begin function kvm_get_guest_memory_type
	.p2align	4, 0x90
_kvm_get_guest_memory_type:             ## @kvm_get_guest_memory_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movslq	%esi, %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rsi, %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_mtrr_type
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$254, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_MTRR_TYPE_WRBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_MTRR_TYPE_WRBACK,4,2           ## @MTRR_TYPE_WRBACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_get_guest_memory_type      ; -- Begin function kvm_get_guest_memory_type
	.p2align	2
_kvm_get_guest_memory_type:             ; @kvm_get_guest_memory_type
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w1, w1, w8
Lloh3:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x2, x8, w1, sxtw
	bl	_get_mtrr_type
	and	w8, w0, #0xfffffffe
Lloh6:
	adrp	x9, _MTRR_TYPE_WRBACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MTRR_TYPE_WRBACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, #254
	csel	w0, w9, w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_MTRR_TYPE_WRBACK,4,2           ; @MTRR_TYPE_WRBACK
.subsections_via_symbols
