	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfx_interrupt
_dfx_interrupt:                         ## @dfx_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_dev_is_pci
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_DFX_BUS_EISA
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_DFX_BUS_TC
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.1:
	movq	_PFI_K_REG_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-60(%rbp), %rdx
	movq	%r12, %rdi
	callq	_dfx_port_read_long
	movq	_PFI_STATUS_M_PDQ_INT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, -60(%rbp)
	je	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_PFI_K_REG_MODE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PFI_MODE_M_DMA_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_dfx_port_write_long
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dfx_int_common
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%r12, %rdi
	callq	_dfx_port_write_long
	movq	_PFI_K_REG_MODE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PFI_MODE_M_PDQ_INT_ENB@GOTPCREL(%rip), %rax
	movq	_PFI_MODE_M_DMA_ENB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_dfx_port_write_long
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_4:
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_to_eisa_device
	movq	(%rax), %r13
	movq	_PI_ESIC_K_IO_CONFIG_STAT_0@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_inb
	movl	%eax, %ebx
	movq	_PI_CONFIG_STAT_0_M_PEND@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.6:
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_PI_CONFIG_STAT_0_M_INT_ENB@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movl	%ebx, %edi
	callq	_outb
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dfx_int_common
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_inb
	orl	(%r14), %eax
	addq	(%r15), %r13
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_outb
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_7:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:
	movq	_PI_PDQ_K_REG_PORT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	callq	_dfx_port_read_long
	movq	_PI_PSTATUS_M_RCV_DATA_PENDING@GOTPCREL(%rip), %rax
	movq	_PI_PSTATUS_M_XMT_DATA_PENDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PI_PSTATUS_M_SMT_HOST_PENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PI_PSTATUS_M_UNSOL_PENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PI_PSTATUS_M_CMD_RSP_PENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PI_PSTATUS_M_CMD_REQ_PENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PI_PSTATUS_M_TYPE_0_PENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ecx, -56(%rbp)
	je	LBB0_2
## %bb.9:
	movq	%r12, %rdi
	callq	_spin_lock
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dfx_int_common
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_10:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PFI_K_REG_STATUS,4,2           ## @PFI_K_REG_STATUS
	.comm	_PFI_STATUS_M_PDQ_INT,4,2       ## @PFI_STATUS_M_PDQ_INT
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PFI_K_REG_MODE_CTRL,4,2        ## @PFI_K_REG_MODE_CTRL
	.comm	_PFI_MODE_M_DMA_ENB,4,2         ## @PFI_MODE_M_DMA_ENB
	.comm	_PFI_MODE_M_PDQ_INT_ENB,4,2     ## @PFI_MODE_M_PDQ_INT_ENB
	.comm	_PI_ESIC_K_IO_CONFIG_STAT_0,8,3 ## @PI_ESIC_K_IO_CONFIG_STAT_0
	.comm	_PI_CONFIG_STAT_0_M_PEND,4,2    ## @PI_CONFIG_STAT_0_M_PEND
	.comm	_PI_CONFIG_STAT_0_M_INT_ENB,4,2 ## @PI_CONFIG_STAT_0_M_INT_ENB
	.comm	_PI_PDQ_K_REG_PORT_STATUS,4,2   ## @PI_PDQ_K_REG_PORT_STATUS
	.comm	_PI_PSTATUS_M_RCV_DATA_PENDING,4,2 ## @PI_PSTATUS_M_RCV_DATA_PENDING
	.comm	_PI_PSTATUS_M_XMT_DATA_PENDING,4,2 ## @PI_PSTATUS_M_XMT_DATA_PENDING
	.comm	_PI_PSTATUS_M_SMT_HOST_PENDING,4,2 ## @PI_PSTATUS_M_SMT_HOST_PENDING
	.comm	_PI_PSTATUS_M_UNSOL_PENDING,4,2 ## @PI_PSTATUS_M_UNSOL_PENDING
	.comm	_PI_PSTATUS_M_CMD_RSP_PENDING,4,2 ## @PI_PSTATUS_M_CMD_RSP_PENDING
	.comm	_PI_PSTATUS_M_CMD_REQ_PENDING,4,2 ## @PI_PSTATUS_M_CMD_REQ_PENDING
	.comm	_PI_PSTATUS_M_TYPE_0_PENDING,4,2 ## @PI_PSTATUS_M_TYPE_0_PENDING
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dfx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfx_interrupt
_dfx_interrupt:                         ; @dfx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0, #8]
	mov	x0, x22
	bl	_dev_is_pci
	mov	x24, x0
	mov	x0, x22
	bl	_DFX_BUS_EISA
	mov	x23, x0
	mov	x0, x22
	bl	_DFX_BUS_TC
	mov	x21, x0
	cbz	w24, LBB0_3
; %bb.1:
Lloh0:
	adrp	x24, _PFI_K_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PFI_K_REG_STATUS@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x20
	bl	_dfx_port_read_long
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x25, _PFI_STATUS_M_PDQ_INT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PFI_STATUS_M_PDQ_INT@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_spin_lock
Lloh4:
	adrp	x26, _PFI_K_REG_MODE_CTRL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PFI_K_REG_MODE_CTRL@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh6:
	adrp	x27, _PFI_MODE_M_DMA_ENB@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PFI_MODE_M_DMA_ENB@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x20
	bl	_dfx_port_write_long
	mov	x0, x19
	bl	_dfx_int_common
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_dfx_port_write_long
	ldr	w1, [x26]
Lloh8:
	adrp	x8, _PFI_MODE_M_PDQ_INT_ENB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PFI_MODE_M_PDQ_INT_ENB@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x27]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_dfx_port_write_long
	mov	x0, x20
	bl	_spin_unlock
LBB0_3:
	cbz	w23, LBB0_6
; %bb.4:
	mov	x0, x22
	bl	_to_eisa_device
	ldr	x23, [x0]
Lloh11:
	adrp	x24, _PI_ESIC_K_IO_CONFIG_STAT_0@GOTPAGE
Lloh12:
	ldr	x24, [x24, _PI_ESIC_K_IO_CONFIG_STAT_0@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x0, x8, x23
	bl	_inb
Lloh13:
	adrp	x8, _PI_CONFIG_STAT_0_M_PEND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PI_CONFIG_STAT_0_M_PEND@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.5:
	mov	x22, x0
	mov	x0, x20
	bl	_spin_lock
Lloh16:
	adrp	x25, _PI_CONFIG_STAT_0_M_INT_ENB@GOTPAGE
Lloh17:
	ldr	x25, [x25, _PI_CONFIG_STAT_0_M_INT_ENB@GOTPAGEOFF]
	ldr	w8, [x25]
	bic	w0, w22, w8
	ldr	x8, [x24]
	add	x1, x8, x23
	bl	_outb
	mov	x0, x19
	bl	_dfx_int_common
	ldr	x8, [x24]
	add	x0, x8, x23
	bl	_inb
	ldr	w8, [x25]
	orr	w0, w8, w0
	ldr	x8, [x24]
	add	x1, x8, x23
	bl	_outb
	mov	x0, x20
	bl	_spin_unlock
LBB0_6:
	cbz	w21, LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _PI_PDQ_K_REG_PORT_STATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PI_PDQ_K_REG_PORT_STATUS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_dfx_port_read_long
Lloh21:
	adrp	x8, _PI_PSTATUS_M_RCV_DATA_PENDING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PI_PSTATUS_M_RCV_DATA_PENDING@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _PI_PSTATUS_M_XMT_DATA_PENDING@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PI_PSTATUS_M_XMT_DATA_PENDING@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _PI_PSTATUS_M_SMT_HOST_PENDING@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PI_PSTATUS_M_SMT_HOST_PENDING@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _PI_PSTATUS_M_UNSOL_PENDING@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PI_PSTATUS_M_UNSOL_PENDING@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _PI_PSTATUS_M_CMD_RSP_PENDING@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PI_PSTATUS_M_CMD_RSP_PENDING@GOTPAGEOFF]
	ldr	w10, [sp, #8]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _PI_PSTATUS_M_CMD_REQ_PENDING@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PI_PSTATUS_M_CMD_REQ_PENDING@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _PI_PSTATUS_M_TYPE_0_PENDING@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PI_PSTATUS_M_TYPE_0_PENDING@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w10
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x19
	bl	_dfx_int_common
	mov	x0, x20
	bl	_spin_unlock
LBB0_9:
Lloh42:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh44:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_PFI_K_REG_STATUS,4,2           ; @PFI_K_REG_STATUS
	.comm	_PFI_STATUS_M_PDQ_INT,4,2       ; @PFI_STATUS_M_PDQ_INT
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PFI_K_REG_MODE_CTRL,4,2        ; @PFI_K_REG_MODE_CTRL
	.comm	_PFI_MODE_M_DMA_ENB,4,2         ; @PFI_MODE_M_DMA_ENB
	.comm	_PFI_MODE_M_PDQ_INT_ENB,4,2     ; @PFI_MODE_M_PDQ_INT_ENB
	.comm	_PI_ESIC_K_IO_CONFIG_STAT_0,8,3 ; @PI_ESIC_K_IO_CONFIG_STAT_0
	.comm	_PI_CONFIG_STAT_0_M_PEND,4,2    ; @PI_CONFIG_STAT_0_M_PEND
	.comm	_PI_CONFIG_STAT_0_M_INT_ENB,4,2 ; @PI_CONFIG_STAT_0_M_INT_ENB
	.comm	_PI_PDQ_K_REG_PORT_STATUS,4,2   ; @PI_PDQ_K_REG_PORT_STATUS
	.comm	_PI_PSTATUS_M_RCV_DATA_PENDING,4,2 ; @PI_PSTATUS_M_RCV_DATA_PENDING
	.comm	_PI_PSTATUS_M_XMT_DATA_PENDING,4,2 ; @PI_PSTATUS_M_XMT_DATA_PENDING
	.comm	_PI_PSTATUS_M_SMT_HOST_PENDING,4,2 ; @PI_PSTATUS_M_SMT_HOST_PENDING
	.comm	_PI_PSTATUS_M_UNSOL_PENDING,4,2 ; @PI_PSTATUS_M_UNSOL_PENDING
	.comm	_PI_PSTATUS_M_CMD_RSP_PENDING,4,2 ; @PI_PSTATUS_M_CMD_RSP_PENDING
	.comm	_PI_PSTATUS_M_CMD_REQ_PENDING,4,2 ; @PI_PSTATUS_M_CMD_REQ_PENDING
	.comm	_PI_PSTATUS_M_TYPE_0_PENDING,4,2 ; @PI_PSTATUS_M_TYPE_0_PENDING
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dfx_interrupt
.subsections_via_symbols
