	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modern_apic
_modern_apic:                           ## @modern_apic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_boot_cpu_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_X86_VENDOR_AMD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, %eax
	cmpl	$14, 8(%rcx)
	jle	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_lapic_get_version
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$20, %ecx
	setge	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_boot_cpu_data,16,3             ## @boot_cpu_data
	.comm	_X86_VENDOR_AMD,8,3             ## @X86_VENDOR_AMD
	.no_dead_strip	_modern_apic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modern_apic
_modern_apic:                           ; @modern_apic
	.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, _boot_cpu_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _boot_cpu_data@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _X86_VENDOR_AMD@GOTPAGE
Lloh3:
	ldr	x10, [x10, _X86_VENDOR_AMD@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	w8, [x8, #8]
	cmp	x9, x10
	ccmp	w8, #14, #4, eq
	b.gt	LBB0_2
; %bb.1:
	bl	_lapic_get_version
	cmp	w0, #19
	cset	w0, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_boot_cpu_data,16,3             ; @boot_cpu_data
	.comm	_X86_VENDOR_AMD,8,3             ; @X86_VENDOR_AMD
	.no_dead_strip	_modern_apic
.subsections_via_symbols
