	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ariadne_interrupt
_ariadne_interrupt:                     ## @ariadne_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	32(%rsi), %rbx
	movq	_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	4(%rbx), %eax
	movq	_INTR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_42
## %bb.1:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %esi
	movq	_ERR@GOTPCREL(%rip), %rax
	movq	_RINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %edx
	orl	%ecx, %edx
	movq	_TINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %edx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %edx
	je	LBB0_2
## %bb.3:
	movl	$10, %edx
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %esi
	movq	_RINT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ecx, %edx
	movq	_TINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %edx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %edx
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_26
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	subl	$1, %edx
	jb	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	_TDMD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_INEA@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_STOP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_STRT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_INIT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	notl	%edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	andl	%edi, %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, 4(%rsi)
	testl	%edi, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_ariadne_rx
	movq	_TINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	8(%r14)
	movq	%rbx, %r13
LBB0_41:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%r12d
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r15), %ecx
	cmpl	%ecx, %r12d
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%r12d, %eax
	cltd
	movq	%r13, %rbx
	idivl	(%r13)
	movq	16(%r15), %rax
	movslq	%edx, %r13
	movq	(%rax,%r13,8), %rax
	movl	(%rax), %edi
	callq	_lowb
	movq	_TF_OWN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_11
## %bb.29:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	16(%r15), %rcx
	movq	(%rcx,%r13,8), %rcx
	movzbl	1(%rcx), %edx
	shll	$8, %edx
	movl	%edx, (%rcx)
	movq	_TF_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	4(%rcx), %eax
	incl	4(%r14)
	movq	_EF_RTRY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	28(%r14)
LBB0_32:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_EF_LCAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%rbx, %r13
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	24(%r14)
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_EF_LCOL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	20(%r14)
LBB0_36:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_EF_UFLO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	16(%r14)
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_STRT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	incl	%r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_TF_ONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TF_MORE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	12(%r14)
	jmp	LBB0_40
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %ecx
	movq	%rbx, %r13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, %eax
	subl	%r12d, %eax
	cmpl	(%r13), %eax
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r15), %r8d
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	addl	(%r13), %r12d
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 8(%r15)
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %eax
	subl	(%r13), %eax
	addl	$2, %eax
	cmpl	%eax, %r12d
	jle	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 8(%r15)
	movq	%r14, %rdi
	callq	_netif_wake_queue
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, (%r15)
	movl	$1, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_BABL@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	4(%r14)
	movl	$1, %r12d
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MISS@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	(%r14)
	movl	$1, %r12d
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MERR@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rax)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_STRT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %r12d
	jmp	LBB0_25
LBB0_42:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r12d, %r12d
LBB0_26:
	movq	_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi)
	movq	_INEA@GOTPCREL(%rip), %rax
	movq	_BABL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CERR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MISS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MERR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IDON@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rsi)
	movq	_ariadne_debug@GOTPCREL(%rip), %rax
	cmpl	$5, (%rax)
	jl	LBB0_28
## %bb.27:
	movl	(%rsi), %edx
	movl	4(%rsi), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_dbg
LBB0_28:
	movl	%r12d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR0,8,3                       ## @CSR0
	.comm	_INTR,4,2                       ## @INTR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ERR,4,2                        ## @ERR
	.comm	_RINT,4,2                       ## @RINT
	.comm	_TINT,4,2                       ## @TINT
	.comm	_INEA,4,2                       ## @INEA
	.comm	_TDMD,4,2                       ## @TDMD
	.comm	_STOP,4,2                       ## @STOP
	.comm	_STRT,4,2                       ## @STRT
	.comm	_INIT,4,2                       ## @INIT
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_TF_OWN,4,2                     ## @TF_OWN
	.comm	_TF_ERR,4,2                     ## @TF_ERR
	.comm	_EF_RTRY,4,2                    ## @EF_RTRY
	.comm	_EF_LCAR,4,2                    ## @EF_LCAR
	.comm	_EF_LCOL,4,2                    ## @EF_LCOL
	.comm	_EF_UFLO,4,2                    ## @EF_UFLO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx FIFO error! Status %04x\n"

	.comm	_TF_MORE,4,2                    ## @TF_MORE
	.comm	_TF_ONE,4,2                     ## @TF_ONE
L_.str.1:                               ## @.str.1
	.asciz	"out-of-sync dirty pointer, %d vs. %d, full=%d\n"

	.comm	_BABL,4,2                       ## @BABL
	.comm	_MISS,4,2                       ## @MISS
	.comm	_MERR,4,2                       ## @MERR
L_.str.2:                               ## @.str.2
	.asciz	"Bus master arbitration failure, status %04x\n"

	.comm	_CERR,4,2                       ## @CERR
	.comm	_IDON,4,2                       ## @IDON
	.comm	_ariadne_debug,4,2              ## @ariadne_debug
L_.str.3:                               ## @.str.3
	.asciz	"exiting interrupt, csr%d=%#04x\n"

	.comm	_RXON,4,2                       ## @RXON
	.comm	_TXON,4,2                       ## @TXON
	.no_dead_strip	_ariadne_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ariadne_interrupt
_ariadne_interrupt:                     ; @ariadne_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
	ldr	x26, [x1, #32]
Lloh0:
	adrp	x8, _CSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	w8, [x26]
	ldr	w8, [x26, #4]
Lloh3:
	adrp	x9, _INTR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	ldr	w21, [x26, #4]
Lloh6:
	adrp	x8, _ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RINT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RINT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x11, _TINT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _TINT@GOTPAGEOFF]
	orr	w10, w9, w8
Lloh14:
	ldr	w8, [x11]
	orr	w10, w10, w8
	tst	w10, w21
	b.eq	LBB0_39
; %bb.2:
	mov	x20, x0
	mov	w25, #0
	mov	w24, #10
Lloh15:
	adrp	x27, _TX_RING_SIZE@GOTPAGE
Lloh16:
	ldr	x27, [x27, _TX_RING_SIZE@GOTPAGEOFF]
Lloh17:
	adrp	x22, _TF_OWN@GOTPAGE
Lloh18:
	ldr	x22, [x22, _TF_OWN@GOTPAGEOFF]
Lloh19:
	adrp	x23, _TF_ERR@GOTPAGE
Lloh20:
	ldr	x23, [x23, _TF_ERR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x26, #4]
Lloh21:
	adrp	x8, _ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _RINT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RINT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh27:
	adrp	x8, _TINT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TINT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w10, w10, w8
	tst	w10, w21
	b.eq	LBB0_40
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cbz	w24, LBB0_40
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x10, _INEA@GOTPAGE
Lloh31:
	ldr	x10, [x10, _INEA@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _TDMD@GOTPAGE
Lloh34:
	ldr	x11, [x11, _TDMD@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh36:
	adrp	x11, _STOP@GOTPAGE
Lloh37:
	ldr	x11, [x11, _STOP@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh39:
	adrp	x11, _STRT@GOTPAGE
Lloh40:
	ldr	x11, [x11, _STRT@GOTPAGEOFF]
Lloh41:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh42:
	adrp	x11, _INIT@GOTPAGE
Lloh43:
	ldr	x11, [x11, _INIT@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
	orr	w10, w10, w11
	bic	w10, w21, w10
	str	w10, [x26, #4]
	tst	w9, w21
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ariadne_rx
Lloh45:
	adrp	x8, _TINT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TINT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	mov	w25, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	tst	w8, w21
	b.eq	LBB0_32
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w25, [x20]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w25, w25, #1
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x20, #4]
	cmp	w25, w8
	b.ge	LBB0_25
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x27]
	sdiv	w9, w25, w8
	msub	w28, w9, w8, w25
	ldr	x8, [x20, #16]
	ldr	x8, [x8, w28, sxtw #3]
	ldr	w0, [x8]
	bl	_lowb
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	sxtw	x8, w28
	ldr	x9, [x20, #16]
	ldr	x8, [x9, x8, lsl #3]
	ldrb	w9, [x8, #1]
	lsl	w9, w9, #8
	str	w9, [x8]
	ldr	w9, [x23]
	tst	w9, w0
	b.eq	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x8, #4]
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	str	w9, [x19, #4]
Lloh48:
	adrp	x9, _EF_RTRY@GOTPAGE
Lloh49:
	ldr	x9, [x9, _EF_RTRY@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x19, #28]
	add	w9, w9, #1
	str	w9, [x19, #28]
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh51:
	adrp	x9, _EF_LCAR@GOTPAGE
Lloh52:
	ldr	x9, [x9, _EF_LCAR@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x19, #24]
	add	w9, w9, #1
	str	w9, [x19, #24]
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh54:
	adrp	x9, _EF_LCOL@GOTPAGE
Lloh55:
	ldr	x9, [x9, _EF_LCOL@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x19, #20]
	add	w9, w9, #1
	str	w9, [x19, #20]
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh57:
	adrp	x9, _EF_UFLO@GOTPAGE
Lloh58:
	ldr	x9, [x9, _EF_UFLO@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
Lloh60:
	adrp	x1, l_.str@PAGE
Lloh61:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_netdev_err
Lloh62:
	adrp	x8, _STRT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _STRT@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	str	w8, [x26, #4]
	add	w25, w25, #1
	b	LBB0_11
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh65:
	adrp	x8, _TF_MORE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TF_MORE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _TF_ONE@GOTPAGE
Lloh69:
	ldr	x9, [x9, _TF_ONE@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_9
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_9
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #4]
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x27]
	sub	w10, w8, w25
	cmp	w10, w9
	b.lt	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #8]
	stp	x8, x9, [sp]
	mov	x0, x19
Lloh71:
	adrp	x1, l_.str.1@PAGE
Lloh72:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	bl	_netdev_err
	ldr	w8, [x27]
	add	w25, w8, w25
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x27]
	sub	w8, w8, w9
	add	w8, w8, #2
	cmp	w25, w8
	b.le	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x20, #8]
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w25, [x20]
	mov	w25, #1
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh73:
	adrp	x8, _BABL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _BABL@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	w25, #1
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh76:
	adrp	x8, _MISS@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MISS@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w25, #1
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w24, w24, #1
Lloh79:
	adrp	x8, _MERR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _MERR@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh82:
	adrp	x1, l_.str.2@PAGE
Lloh83:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_netdev_err
Lloh84:
	adrp	x8, _STRT@GOTPAGE
Lloh85:
	ldr	x8, [x8, _STRT@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	str	w8, [x26, #4]
	mov	w25, #1
	b	LBB0_3
LBB0_38:
Lloh87:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh89:
	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
LBB0_39:
	mov	w25, #0
LBB0_40:
Lloh90:
	adrp	x8, _CSR0@GOTPAGE
Lloh91:
	ldr	x8, [x8, _CSR0@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	str	w8, [x26]
Lloh93:
	adrp	x8, _INEA@GOTPAGE
Lloh94:
	ldr	x8, [x8, _INEA@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
Lloh96:
	adrp	x9, _BABL@GOTPAGE
Lloh97:
	ldr	x9, [x9, _BABL@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh99:
	adrp	x9, _CERR@GOTPAGE
Lloh100:
	ldr	x9, [x9, _CERR@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh102:
	adrp	x9, _MISS@GOTPAGE
Lloh103:
	ldr	x9, [x9, _MISS@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh105:
	adrp	x9, _MERR@GOTPAGE
Lloh106:
	ldr	x9, [x9, _MERR@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh108:
	adrp	x9, _IDON@GOTPAGE
Lloh109:
	ldr	x9, [x9, _IDON@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x26, #4]
Lloh111:
	adrp	x8, _ariadne_debug@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ariadne_debug@GOTPAGEOFF]
Lloh113:
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_42
; %bb.41:
	ldr	w2, [x26]
	ldr	w3, [x26, #4]
Lloh114:
	adrp	x1, l_.str.3@PAGE
Lloh115:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
LBB0_42:
	mov	x0, x25
	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
	b	_IRQ_RETVAL
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh114, Lloh115
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR0,8,3                       ; @CSR0
	.comm	_INTR,4,2                       ; @INTR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ERR,4,2                        ; @ERR
	.comm	_RINT,4,2                       ; @RINT
	.comm	_TINT,4,2                       ; @TINT
	.comm	_INEA,4,2                       ; @INEA
	.comm	_TDMD,4,2                       ; @TDMD
	.comm	_STOP,4,2                       ; @STOP
	.comm	_STRT,4,2                       ; @STRT
	.comm	_INIT,4,2                       ; @INIT
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_TF_OWN,4,2                     ; @TF_OWN
	.comm	_TF_ERR,4,2                     ; @TF_ERR
	.comm	_EF_RTRY,4,2                    ; @EF_RTRY
	.comm	_EF_LCAR,4,2                    ; @EF_LCAR
	.comm	_EF_LCOL,4,2                    ; @EF_LCOL
	.comm	_EF_UFLO,4,2                    ; @EF_UFLO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx FIFO error! Status %04x\n"

	.comm	_TF_MORE,4,2                    ; @TF_MORE
	.comm	_TF_ONE,4,2                     ; @TF_ONE
l_.str.1:                               ; @.str.1
	.asciz	"out-of-sync dirty pointer, %d vs. %d, full=%d\n"

	.comm	_BABL,4,2                       ; @BABL
	.comm	_MISS,4,2                       ; @MISS
	.comm	_MERR,4,2                       ; @MERR
l_.str.2:                               ; @.str.2
	.asciz	"Bus master arbitration failure, status %04x\n"

	.comm	_CERR,4,2                       ; @CERR
	.comm	_IDON,4,2                       ; @IDON
	.comm	_ariadne_debug,4,2              ; @ariadne_debug
l_.str.3:                               ; @.str.3
	.asciz	"exiting interrupt, csr%d=%#04x\n"

	.comm	_RXON,4,2                       ; @RXON
	.comm	_TXON,4,2                       ; @TXON
	.no_dead_strip	_ariadne_interrupt
.subsections_via_symbols
