	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpc_irq
_dpc_irq:                               ## @dpc_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movl	(%rsi), %ebx
	movq	_PCI_EXP_DPC_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	addl	%ebx, %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_word
	movl	-28(%rbp), %ecx
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	cmpl	$-1, %ecx
	je	LBB0_5
## %bb.1:
	movq	_PCI_EXP_DPC_STATUS_INTERRUPT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edx, %ecx
	je	LBB0_5
## %bb.2:
	addl	(%r15), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pci_write_config_word
	movq	_PCI_EXP_DPC_STATUS_TRIGGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -28(%rbp)
	jne	LBB0_3
## %bb.4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_DPC_STATUS,4,2         ## @PCI_EXP_DPC_STATUS
	.comm	_PCI_EXP_DPC_STATUS_INTERRUPT,4,2 ## @PCI_EXP_DPC_STATUS_INTERRUPT
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PCI_EXP_DPC_STATUS_TRIGGER,4,2 ## @PCI_EXP_DPC_STATUS_TRIGGER
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dpc_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpc_irq
_dpc_irq:                               ; @dpc_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
	ldr	w20, [x1]
Lloh0:
	adrp	x21, _PCI_EXP_DPC_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PCI_EXP_DPC_STATUS@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w1, w8, w20
	add	x2, sp, #12
	mov	x0, x19
	bl	_pci_read_config_word
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _PCI_EXP_DPC_STATUS_INTERRUPT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PCI_EXP_DPC_STATUS_INTERRUPT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	and	w9, w2, w8
	cmn	w8, #1
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x21]
	add	w1, w8, w20
	mov	x0, x19
	bl	_pci_write_config_word
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _PCI_EXP_DPC_STATUS_TRIGGER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PCI_EXP_DPC_STATUS_TRIGGER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _IRQ_WAKE_THREAD@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IRQ_WAKE_THREAD@GOTPAGEOFF]
Lloh12:
	adrp	x11, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_DPC_STATUS,4,2         ; @PCI_EXP_DPC_STATUS
	.comm	_PCI_EXP_DPC_STATUS_INTERRUPT,4,2 ; @PCI_EXP_DPC_STATUS_INTERRUPT
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PCI_EXP_DPC_STATUS_TRIGGER,4,2 ; @PCI_EXP_DPC_STATUS_TRIGGER
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dpc_irq
.subsections_via_symbols
