	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_pci_func_get_irq_type       ## -- Begin function aq_pci_func_get_irq_type
	.p2align	4, 0x90
_aq_pci_func_get_irq_type:              ## @aq_pci_func_get_irq_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	(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_AQ_HW_IRQ_MSIX@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_AQ_HW_IRQ_LEGACY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_AQ_HW_IRQ_MSI@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_HW_IRQ_MSIX,4,2             ## @AQ_HW_IRQ_MSIX
	.comm	_AQ_HW_IRQ_MSI,4,2              ## @AQ_HW_IRQ_MSI
	.comm	_AQ_HW_IRQ_LEGACY,4,2           ## @AQ_HW_IRQ_LEGACY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_pci_func_get_irq_type       ; -- Begin function aq_pci_func_get_irq_type
	.p2align	2
_aq_pci_func_get_irq_type:              ; @aq_pci_func_get_irq_type
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AQ_HW_IRQ_MSIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AQ_HW_IRQ_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _AQ_HW_IRQ_MSI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AQ_HW_IRQ_MSI@GOTPAGEOFF]
Lloh5:
	adrp	x10, _AQ_HW_IRQ_LEGACY@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AQ_HW_IRQ_LEGACY@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_HW_IRQ_MSIX,4,2             ; @AQ_HW_IRQ_MSIX
	.comm	_AQ_HW_IRQ_MSI,4,2              ; @AQ_HW_IRQ_MSI
	.comm	_AQ_HW_IRQ_LEGACY,4,2           ; @AQ_HW_IRQ_LEGACY
.subsections_via_symbols
