	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eni_tasklet
_eni_tasklet:                           ## @eni_tasklet
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_ENI_DEV
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_DPRINTK
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%r15), %rdi
	xorl	%esi, %esi
	callq	_xchg
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_MID_RX_DMA_COMPLETE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	callq	_dequeue_rx
	leaq	L_.str.2(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	callq	_poll_rx
	leaq	L_.str.3(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
LBB0_2:
	movq	_MID_SERVICE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	callq	_get_service
	leaq	L_.str.5(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	callq	_poll_rx
	leaq	L_.str.3(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
LBB0_4:
	movq	_MID_TX_DMA_COMPLETE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	callq	_dequeue_tx
LBB0_6:
	movq	_MID_TX_COMPLETE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.7(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	_tx_complete@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r15, %rdi
	callq	_wake_up
LBB0_8:
	movq	_MID_DMA_ERR_ACK@GOTPCREL(%rip), %rax
	movq	_MID_TX_IDENT_MISM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MID_TX_DMA_OVFL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_EVENT
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_bug_int
LBB0_10:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_poll_tx                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eni_tasklet (dev %p)\n"

	.comm	_MID_RX_DMA_COMPLETE,4,2        ## @MID_RX_DMA_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"INT: RX DMA complete, starting dequeue_rx\n"

L_.str.2:                               ## @.str.2
	.asciz	"dequeue_rx done, starting poll_rx\n"

L_.str.3:                               ## @.str.3
	.asciz	"poll_rx done\n"

	.comm	_MID_SERVICE,4,2                ## @MID_SERVICE
L_.str.4:                               ## @.str.4
	.asciz	"INT: service, starting get_service\n"

L_.str.5:                               ## @.str.5
	.asciz	"get_service done, starting poll_rx\n"

	.comm	_MID_TX_DMA_COMPLETE,4,2        ## @MID_TX_DMA_COMPLETE
L_.str.6:                               ## @.str.6
	.asciz	"INT: TX DMA COMPLETE\n"

	.comm	_MID_TX_COMPLETE,4,2            ## @MID_TX_COMPLETE
L_.str.7:                               ## @.str.7
	.asciz	"INT: TX COMPLETE\n"

	.comm	_tx_complete,4,2                ## @tx_complete
	.comm	_MID_DMA_ERR_ACK,4,2            ## @MID_DMA_ERR_ACK
	.comm	_MID_TX_IDENT_MISM,4,2          ## @MID_TX_IDENT_MISM
	.comm	_MID_TX_DMA_OVFL,4,2            ## @MID_TX_DMA_OVFL
L_.str.8:                               ## @.str.8
	.asciz	"bug interrupt\n"

	.no_dead_strip	_eni_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eni_tasklet
_eni_tasklet:                           ; @eni_tasklet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ENI_DEV
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DPRINTK
	add	x22, x21, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	add	x0, x21, #8
	mov	w1, #0
	bl	_xchg
	mov	x20, x0
	mov	x0, x22
	bl	_spin_unlock_irqrestore
Lloh2:
	adrp	x8, _MID_RX_DMA_COMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MID_RX_DMA_COMPLETE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	bl	_dequeue_rx
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	bl	_poll_rx
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
LBB0_2:
Lloh11:
	adrp	x8, _MID_SERVICE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MID_SERVICE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	bl	_get_service
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	bl	_poll_rx
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
LBB0_4:
Lloh20:
	adrp	x8, _MID_TX_DMA_COMPLETE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MID_TX_DMA_COMPLETE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	bl	_dequeue_tx
LBB0_6:
Lloh25:
	adrp	x8, _MID_TX_COMPLETE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MID_TX_COMPLETE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
Lloh30:
	adrp	x8, _tx_complete@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tx_complete@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x21
	bl	_wake_up
LBB0_8:
Lloh32:
	adrp	x8, _MID_DMA_ERR_ACK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MID_DMA_ERR_ACK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _MID_TX_IDENT_MISM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MID_TX_IDENT_MISM@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _MID_TX_DMA_OVFL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MID_TX_DMA_OVFL@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_EVENT
	mov	x0, x19
	mov	x1, x20
	bl	_bug_int
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_poll_tx
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eni_tasklet (dev %p)\n"

	.comm	_MID_RX_DMA_COMPLETE,4,2        ; @MID_RX_DMA_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"INT: RX DMA complete, starting dequeue_rx\n"

l_.str.2:                               ; @.str.2
	.asciz	"dequeue_rx done, starting poll_rx\n"

l_.str.3:                               ; @.str.3
	.asciz	"poll_rx done\n"

	.comm	_MID_SERVICE,4,2                ; @MID_SERVICE
l_.str.4:                               ; @.str.4
	.asciz	"INT: service, starting get_service\n"

l_.str.5:                               ; @.str.5
	.asciz	"get_service done, starting poll_rx\n"

	.comm	_MID_TX_DMA_COMPLETE,4,2        ; @MID_TX_DMA_COMPLETE
l_.str.6:                               ; @.str.6
	.asciz	"INT: TX DMA COMPLETE\n"

	.comm	_MID_TX_COMPLETE,4,2            ; @MID_TX_COMPLETE
l_.str.7:                               ; @.str.7
	.asciz	"INT: TX COMPLETE\n"

	.comm	_tx_complete,4,2                ; @tx_complete
	.comm	_MID_DMA_ERR_ACK,4,2            ; @MID_DMA_ERR_ACK
	.comm	_MID_TX_IDENT_MISM,4,2          ; @MID_TX_IDENT_MISM
	.comm	_MID_TX_DMA_OVFL,4,2            ; @MID_TX_DMA_OVFL
l_.str.8:                               ; @.str.8
	.asciz	"bug interrupt\n"

	.no_dead_strip	_eni_tasklet
.subsections_via_symbols
