	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lance_interrupt
_lance_interrupt:                       ## @lance_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock
	movq	_LE_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WRITERAP
	movq	%r15, %rdi
	callq	_READRDP
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_PRINT_RINGS
	movq	_LE_C0_INTR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_LE_C0_INEA@GOTPCREL(%rip), %r12
	movq	_LE_C0_TDMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r12), %esi
	movq	_LE_C0_STOP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LE_C0_STRT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LE_C0_INIT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	notl	%esi
	andl	%ebx, %esi
	movq	%r15, %rdi
	callq	_WRITERDP
	movq	_LE_C0_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_4
## %bb.3:
	movq	_LE_C0_BABL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LE_C0_MISS@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	orl	(%r12), %esi
	movq	%r15, %rdi
	callq	_WRITERDP
LBB0_4:
	movq	_LE_C0_RINT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_lance_rx
LBB0_6:
	movq	_LE_C0_TINT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_lance_tx
LBB0_8:
	movq	_LE_C0_BABL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	incl	8(%r14)
LBB0_10:
	movq	_LE_C0_MISS@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	je	LBB0_12
## %bb.11:
	incl	4(%r14)
LBB0_12:
	movq	_LE_C0_MERR@GOTPCREL(%rip), %r13
	testl	%ebx, (%r13)
	je	LBB0_14
## %bb.13:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_printk
	movq	_LE_C0_STRT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WRITERDP
LBB0_14:
	cmpq	$0, 8(%r15)
	je	LBB0_18
## %bb.15:
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	js	LBB0_18
## %bb.17:
	movq	$0, 8(%r15)
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_18:
	movq	_LE_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WRITERAP
	movq	_LE_C0_CERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LE_C0_BABL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	orl	(%r12), %esi
	orl	(%r13), %esi
	movq	_LE_C0_IDON@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LE_C0_INEA@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WRITERDP
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_1:
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LE_CSR0,4,2                    ## @LE_CSR0
	.comm	_LE_C0_INTR,4,2                 ## @LE_C0_INTR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_LE_C0_INEA,4,2                 ## @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ## @LE_C0_TDMD
	.comm	_LE_C0_STOP,4,2                 ## @LE_C0_STOP
	.comm	_LE_C0_STRT,4,2                 ## @LE_C0_STRT
	.comm	_LE_C0_INIT,4,2                 ## @LE_C0_INIT
	.comm	_LE_C0_ERR,4,2                  ## @LE_C0_ERR
	.comm	_LE_C0_BABL,4,2                 ## @LE_C0_BABL
	.comm	_LE_C0_MISS,4,2                 ## @LE_C0_MISS
	.comm	_LE_C0_RINT,4,2                 ## @LE_C0_RINT
	.comm	_LE_C0_TINT,4,2                 ## @LE_C0_TINT
	.comm	_LE_C0_MERR,4,2                 ## @LE_C0_MERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Bus master arbitration failure, status %4.4x.\n"

	.comm	_TX_BUFFS_AVAIL,8,3             ## @TX_BUFFS_AVAIL
	.comm	_LE_C0_CERR,4,2                 ## @LE_C0_CERR
	.comm	_LE_C0_IDON,4,2                 ## @LE_C0_IDON
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_lance_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lance_interrupt
_lance_interrupt:                       ; @lance_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock
Lloh0:
	adrp	x22, _LE_CSR0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LE_CSR0@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_WRITERAP
	mov	x0, x19
	bl	_READRDP
	mov	x21, x0
	bl	_PRINT_RINGS
Lloh2:
	adrp	x8, _LE_C0_INTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LE_C0_INTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.1:
Lloh5:
	adrp	x23, _LE_C0_INEA@GOTPAGE
Lloh6:
	ldr	x23, [x23, _LE_C0_INEA@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh7:
	adrp	x9, _LE_C0_TDMD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LE_C0_TDMD@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _LE_C0_STOP@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LE_C0_STOP@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh12:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh13:
	adrp	x26, _LE_C0_STRT@GOTPAGE
Lloh14:
	ldr	x26, [x26, _LE_C0_STRT@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _LE_C0_INIT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LE_C0_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w1, w21, w8
	mov	x0, x19
	bl	_WRITERDP
Lloh18:
	adrp	x8, _LE_C0_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LE_C0_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x25, _LE_C0_BABL@GOTPAGE
Lloh22:
	ldr	x25, [x25, _LE_C0_BABL@GOTPAGEOFF]
Lloh23:
	adrp	x24, _LE_C0_MISS@GOTPAGE
Lloh24:
	ldr	x24, [x24, _LE_C0_MISS@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_WRITERDP
LBB0_3:
Lloh25:
	adrp	x8, _LE_C0_RINT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LE_C0_RINT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_lance_rx
LBB0_5:
Lloh28:
	adrp	x8, _LE_C0_TINT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LE_C0_TINT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_lance_tx
LBB0_7:
	ldr	w8, [x25]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_9:
	ldr	w8, [x24]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_11:
Lloh31:
	adrp	x27, _LE_C0_MERR@GOTPAGE
Lloh32:
	ldr	x27, [x27, _LE_C0_MERR@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
	ldr	w1, [x20]
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_printk
	ldr	w1, [x26]
	mov	x0, x19
	bl	_WRITERDP
LBB0_13:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
; %bb.14:
	mov	x0, x20
	bl	_netif_queue_stopped
	cbz	x0, LBB0_17
; %bb.15:
Lloh35:
	adrp	x8, _TX_BUFFS_AVAIL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TX_BUFFS_AVAIL@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_17
; %bb.16:
	str	xzr, [x19, #8]
	mov	x0, x20
	bl	_netif_wake_queue
LBB0_17:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_WRITERAP
	ldr	w8, [x25]
Lloh38:
	adrp	x9, _LE_C0_CERR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _LE_C0_CERR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _LE_C0_IDON@GOTPAGE
Lloh42:
	ldr	x9, [x9, _LE_C0_IDON@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_WRITERDP
	mov	x0, x19
	bl	_spin_unlock
Lloh44:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	bl	_spin_unlock
Lloh46:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_LE_CSR0,4,2                    ; @LE_CSR0
	.comm	_LE_C0_INTR,4,2                 ; @LE_C0_INTR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_LE_C0_INEA,4,2                 ; @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ; @LE_C0_TDMD
	.comm	_LE_C0_STOP,4,2                 ; @LE_C0_STOP
	.comm	_LE_C0_STRT,4,2                 ; @LE_C0_STRT
	.comm	_LE_C0_INIT,4,2                 ; @LE_C0_INIT
	.comm	_LE_C0_ERR,4,2                  ; @LE_C0_ERR
	.comm	_LE_C0_BABL,4,2                 ; @LE_C0_BABL
	.comm	_LE_C0_MISS,4,2                 ; @LE_C0_MISS
	.comm	_LE_C0_RINT,4,2                 ; @LE_C0_RINT
	.comm	_LE_C0_TINT,4,2                 ; @LE_C0_TINT
	.comm	_LE_C0_MERR,4,2                 ; @LE_C0_MERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Bus master arbitration failure, status %4.4x.\n"

	.comm	_TX_BUFFS_AVAIL,8,3             ; @TX_BUFFS_AVAIL
	.comm	_LE_C0_CERR,4,2                 ; @LE_C0_CERR
	.comm	_LE_C0_IDON,4,2                 ; @LE_C0_IDON
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_lance_interrupt
.subsections_via_symbols
