	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_epf_test_raise_irq
_pci_epf_test_raise_irq:                ## @pci_epf_test_raise_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r8d
	movq	%rdi, %rdx
	movq	16(%rdi), %rax
	movq	8(%rax), %rdi
	movl	(%rdx), %ecx
	movq	8(%rdx), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	_STATUS_IRQ_RAISED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%rcx)
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_7
## %bb.3:
	movl	(%rax), %esi
	movq	_PCI_EPC_IRQ_LEGACY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_pci_epc_raise_irq              ## TAILCALL
LBB0_6:
	movl	(%rax), %esi
	movq	_PCI_EPC_IRQ_MSIX@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movl	(%rax), %esi
	movq	_PCI_EPC_IRQ_MSI@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movl	%r8d, %ecx
	popq	%rbp
	jmp	_pci_epc_raise_irq              ## TAILCALL
LBB0_7:
	addq	$16, %rax
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_IRQ_RAISED,4,2          ## @STATUS_IRQ_RAISED
	.comm	_PCI_EPC_IRQ_LEGACY,4,2         ## @PCI_EPC_IRQ_LEGACY
	.comm	_PCI_EPC_IRQ_MSI,4,2            ## @PCI_EPC_IRQ_MSI
	.comm	_PCI_EPC_IRQ_MSIX,4,2           ## @PCI_EPC_IRQ_MSIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to raise IRQ, unknown type\n"

	.no_dead_strip	_pci_epf_test_raise_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_epf_test_raise_irq
_pci_epf_test_raise_irq:                ; @pci_epf_test_raise_irq
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	ldr	w9, [x0]
	ldp	x10, x8, [x0, #8]
	ldr	x9, [x10, x9, lsl #3]
Lloh0:
	adrp	x10, _STATUS_IRQ_RAISED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STATUS_IRQ_RAISED@GOTPAGEOFF]
	ldr	x0, [x8, #8]
Lloh2:
	ldr	w10, [x10]
	ldr	w11, [x9]
	orr	w10, w11, w10
	str	w10, [x9]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x9, _PCI_EPC_IRQ_LEGACY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_EPC_IRQ_LEGACY@GOTPAGEOFF]
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	mov	w3, #0
	b	_pci_epc_raise_irq
LBB0_4:
Lloh6:
	adrp	x9, _PCI_EPC_IRQ_MSIX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCI_EPC_IRQ_MSIX@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x9, _PCI_EPC_IRQ_MSI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PCI_EPC_IRQ_MSI@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	ldr	w2, [x9]
	b	_pci_epc_raise_irq
LBB0_7:
	add	x0, x8, #16
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_IRQ_RAISED,4,2          ; @STATUS_IRQ_RAISED
	.comm	_PCI_EPC_IRQ_LEGACY,4,2         ; @PCI_EPC_IRQ_LEGACY
	.comm	_PCI_EPC_IRQ_MSI,4,2            ; @PCI_EPC_IRQ_MSI
	.comm	_PCI_EPC_IRQ_MSIX,4,2           ; @PCI_EPC_IRQ_MSIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to raise IRQ, unknown type\n"

	.no_dead_strip	_pci_epf_test_raise_irq
.subsections_via_symbols
