	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_interrupt
_de_interrupt:                          ## @de_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, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_MacStatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dr32
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_11
## %bb.1:
	movl	%eax, %r15d
	movq	_IntrOK@GOTPCREL(%rip), %rax
	movq	_IntrErr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%r15d, %ecx
	je	LBB0_11
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_MacMode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dr32
	movl	20(%r14), %r10d
	movl	12(%r14), %r11d
	movl	16(%r14), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	pushq	%r11
	pushq	%rbx
	pushq	%r10
	callq	_netif_dbg
	addq	$32, %rsp
	movq	_MacStatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_dw32
	movq	_RxIntr@GOTPCREL(%rip), %rax
	movq	_RxEmpty@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_de_rx
	testl	%r15d, (%r12)
	je	LBB0_5
## %bb.4:
	movq	_RxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NormalRxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dw32
LBB0_5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_TxIntr@GOTPCREL(%rip), %rax
	movq	_TxEmpty@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_de_tx
LBB0_7:
	movq	_LinkPass@GOTPCREL(%rip), %rax
	movq	_LinkFail@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_de_media_interrupt
LBB0_9:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_PciErr@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r13
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.10:
	movl	4(%r14), %edi
	movq	_PCI_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_pci_read_config_word
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	movl	-44(%rbp), %edx
	callq	_pci_write_config_word
	movl	(%r14), %edi
	movl	-44(%rbp), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	callq	_netdev_err
LBB0_11:
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MacStatus,4,2                  ## @MacStatus
	.comm	_IntrOK,4,2                     ## @IntrOK
	.comm	_IntrErr,4,2                    ## @IntrErr
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_intr,4,2                       ## @intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intr, status %08x mode %08x desc %u/%u/%u\n"

	.comm	_MacMode,4,2                    ## @MacMode
	.comm	_RxIntr,4,2                     ## @RxIntr
	.comm	_RxEmpty,4,2                    ## @RxEmpty
	.comm	_RxPoll,4,2                     ## @RxPoll
	.comm	_NormalRxPoll,4,2               ## @NormalRxPoll
	.comm	_TxIntr,4,2                     ## @TxIntr
	.comm	_TxEmpty,4,2                    ## @TxEmpty
	.comm	_LinkPass,4,2                   ## @LinkPass
	.comm	_LinkFail,4,2                   ## @LinkFail
	.comm	_PciErr,4,2                     ## @PciErr
	.comm	_PCI_STATUS,4,2                 ## @PCI_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"PCI bus error, status=%08x, PCI status=%04x\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_de_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de_interrupt
_de_interrupt:                          ; @de_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _MacStatus@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MacStatus@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_dr32
Lloh2:
	adrp	x8, _IntrOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IntrOK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IntrErr@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IntrErr@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w8, w8, w0
	mov	w9, #65535
	cmp	w0, w9
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
LBB0_2:
	mov	x20, x0
Lloh10:
	adrp	x8, _intr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
Lloh13:
	adrp	x8, _MacMode@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MacMode@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_dr32
	mov	x5, x0
	ldp	w7, w6, [x19, #16]
	ldr	w8, [x19, #12]
	str	w8, [sp]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x4, x20
	bl	_netif_dbg
	ldr	w0, [x23]
	mov	x1, x20
	bl	_dw32
Lloh18:
	adrp	x8, _RxIntr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RxIntr@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x21, _RxEmpty@GOTPAGE
Lloh22:
	ldr	x21, [x21, _RxEmpty@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_de_rx
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, _RxPoll@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RxPoll@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _NormalRxPoll@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NormalRxPoll@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_dw32
LBB0_5:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock
Lloh29:
	adrp	x8, _TxIntr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TxIntr@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _TxEmpty@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TxEmpty@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_de_tx
LBB0_7:
Lloh35:
	adrp	x8, _LinkPass@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LinkPass@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _LinkFail@GOTPAGE
Lloh39:
	ldr	x9, [x9, _LinkFail@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_de_media_interrupt
LBB0_9:
	mov	x0, x21
	bl	_spin_unlock
Lloh41:
	adrp	x8, _PciErr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PciErr@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
	ldr	w0, [x19, #4]
Lloh44:
	adrp	x21, _PCI_STATUS@GOTPAGE
Lloh45:
	ldr	x21, [x21, _PCI_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_pci_read_config_word
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_word
	ldr	w0, [x19]
	ldr	w3, [sp, #12]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_netdev_err
LBB0_11:
Lloh48:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_MacStatus,4,2                  ; @MacStatus
	.comm	_IntrOK,4,2                     ; @IntrOK
	.comm	_IntrErr,4,2                    ; @IntrErr
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_intr,4,2                       ; @intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intr, status %08x mode %08x desc %u/%u/%u\n"

	.comm	_MacMode,4,2                    ; @MacMode
	.comm	_RxIntr,4,2                     ; @RxIntr
	.comm	_RxEmpty,4,2                    ; @RxEmpty
	.comm	_RxPoll,4,2                     ; @RxPoll
	.comm	_NormalRxPoll,4,2               ; @NormalRxPoll
	.comm	_TxIntr,4,2                     ; @TxIntr
	.comm	_TxEmpty,4,2                    ; @TxEmpty
	.comm	_LinkPass,4,2                   ; @LinkPass
	.comm	_LinkFail,4,2                   ; @LinkFail
	.comm	_PciErr,4,2                     ; @PciErr
	.comm	_PCI_STATUS,4,2                 ; @PCI_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"PCI bus error, status=%08x, PCI status=%04x\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_de_interrupt
.subsections_via_symbols
