	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irq_remapping_restore_boot_irq_mode
_irq_remapping_restore_boot_irq_mode:   ## @irq_remapping_restore_boot_irq_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_X86_FEATURE_APIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_boot_cpu_has
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_apic_from_smp_config
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	xorl	%edi, %edi
	popq	%rbp
	jmp	_disconnect_bsp_APIC            ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_FEATURE_APIC,4,2           ## @X86_FEATURE_APIC
	.no_dead_strip	_irq_remapping_restore_boot_irq_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irq_remapping_restore_boot_irq_mode
_irq_remapping_restore_boot_irq_mode:   ; @irq_remapping_restore_boot_irq_mode
	.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, _X86_FEATURE_APIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_FEATURE_APIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_boot_cpu_has
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_apic_from_smp_config
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_disconnect_bsp_APIC
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_FEATURE_APIC,4,2           ; @X86_FEATURE_APIC
	.no_dead_strip	_irq_remapping_restore_boot_irq_mode
.subsections_via_symbols
