	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_lapic_get_cr8              ## -- Begin function kvm_lapic_get_cr8
	.p2align	4, 0x90
_kvm_lapic_get_cr8:                     ## @kvm_lapic_get_cr8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_APIC_TASKPRI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_apic_get_reg
	shrl	$4, %eax
	andl	$15, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APIC_TASKPRI,4,2               ## @APIC_TASKPRI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_lapic_get_cr8              ; -- Begin function kvm_lapic_get_cr8
	.p2align	2
_kvm_lapic_get_cr8:                     ; @kvm_lapic_get_cr8
	.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
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _APIC_TASKPRI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APIC_TASKPRI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_apic_get_reg
	ubfx	w0, w0, #4, #4
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_APIC_TASKPRI,4,2               ; @APIC_TASKPRI
.subsections_via_symbols
