	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_lost_interrupt             ## -- Begin function pci_lost_interrupt
	.p2align	4, 0x90
_pci_lost_interrupt:                    ## @pci_lost_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 8(%rdi)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	movq	_PCI_LOST_IRQ_DISABLE_MSI@GOTPCREL(%rip), %rbx
	cmoveq	_PCI_LOST_IRQ_NO_INFORMATION@GOTPCREL(%rip), %rbx
	cmoveq	%rax, %rsi
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	_PCI_LOST_IRQ_DISABLE_MSIX@GOTPCREL(%rip), %rbx
LBB0_2:
	callq	_pci_note_irq_problem
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MSIX routing failure"

	.comm	_PCI_LOST_IRQ_DISABLE_MSIX,4,2  ## @PCI_LOST_IRQ_DISABLE_MSIX
L_.str.1:                               ## @.str.1
	.asciz	"MSI routing failure"

	.comm	_PCI_LOST_IRQ_DISABLE_MSI,4,2   ## @PCI_LOST_IRQ_DISABLE_MSI
L_.str.2:                               ## @.str.2
	.asciz	"unknown cause (not MSI or ACPI)"

	.comm	_PCI_LOST_IRQ_NO_INFORMATION,4,2 ## @PCI_LOST_IRQ_NO_INFORMATION
	.comm	_PCI_LOST_IRQ_DISABLE_ACPI,4,2  ## @PCI_LOST_IRQ_DISABLE_ACPI
	.comm	_acpi_disabled,8,3              ## @acpi_disabled
	.comm	_acpi_noirq,8,3                 ## @acpi_noirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_lost_interrupt             ; -- Begin function pci_lost_interrupt
	.p2align	2
_pci_lost_interrupt:                    ; @pci_lost_interrupt
	.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
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	ldp	x11, x10, [x0]
Lloh4:
	adrp	x12, l_.str@PAGE
Lloh5:
	add	x12, x12, l_.str@PAGEOFF
Lloh6:
	adrp	x13, _PCI_LOST_IRQ_NO_INFORMATION@GOTPAGE
Lloh7:
	ldr	x13, [x13, _PCI_LOST_IRQ_NO_INFORMATION@GOTPAGEOFF]
	cmp	x10, #0
	csel	x8, x9, x8, eq
Lloh8:
	adrp	x9, _PCI_LOST_IRQ_DISABLE_MSI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PCI_LOST_IRQ_DISABLE_MSI@GOTPAGEOFF]
	csel	x9, x13, x9, eq
	cmp	x11, #0
	csel	x1, x8, x12, eq
Lloh10:
	adrp	x8, _PCI_LOST_IRQ_DISABLE_MSIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PCI_LOST_IRQ_DISABLE_MSIX@GOTPAGEOFF]
	csel	x19, x9, x8, eq
	bl	_pci_note_irq_problem
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MSIX routing failure"

	.comm	_PCI_LOST_IRQ_DISABLE_MSIX,4,2  ; @PCI_LOST_IRQ_DISABLE_MSIX
l_.str.1:                               ; @.str.1
	.asciz	"MSI routing failure"

	.comm	_PCI_LOST_IRQ_DISABLE_MSI,4,2   ; @PCI_LOST_IRQ_DISABLE_MSI
l_.str.2:                               ; @.str.2
	.asciz	"unknown cause (not MSI or ACPI)"

	.comm	_PCI_LOST_IRQ_NO_INFORMATION,4,2 ; @PCI_LOST_IRQ_NO_INFORMATION
	.comm	_PCI_LOST_IRQ_DISABLE_ACPI,4,2  ; @PCI_LOST_IRQ_DISABLE_ACPI
	.comm	_acpi_disabled,8,3              ; @acpi_disabled
	.comm	_acpi_noirq,8,3                 ; @acpi_noirq
.subsections_via_symbols
