	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_handle_rx_eoc
_tlan_handle_rx_eoc:                    ## @tlan_handle_rx_eoc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	$1, %eax
	cmpl	$47, (%rbx)
	jg	LBB0_2
## %bb.1:
	movq	_TLAN_DEBUG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movl	24(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_TLAN_DBG
	movslq	4(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	movq	_TLAN_CH_PARM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_outl
	movq	_TLAN_HC_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TLAN_HC_RT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	$1, %eax
	incl	8(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_DEBUG_RX,4,2              ## @TLAN_DEBUG_RX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECEIVE:  Handling RX EOC (head=%d tail=%d) -- IRQ\n"

	.comm	_TLAN_CH_PARM,8,3               ## @TLAN_CH_PARM
	.comm	_TLAN_HC_GO,4,2                 ## @TLAN_HC_GO
	.comm	_TLAN_HC_RT,4,2                 ## @TLAN_HC_RT
	.no_dead_strip	_tlan_handle_rx_eoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_handle_rx_eoc
_tlan_handle_rx_eoc:                    ; @tlan_handle_rx_eoc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_netdev_priv
	ldr	w8, [x0]
	cmp	w8, #47
	b.gt	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _TLAN_DEBUG_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLAN_DEBUG_RX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
	ldr	w3, [x19, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_TLAN_DBG
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x0, x8, x9, lsl #2
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _TLAN_CH_PARM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TLAN_CH_PARM@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
Lloh8:
	adrp	x8, _TLAN_HC_GO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLAN_HC_GO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TLAN_HC_RT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TLAN_HC_RT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w0, w8, #0x1
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_DEBUG_RX,4,2              ; @TLAN_DEBUG_RX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECEIVE:  Handling RX EOC (head=%d tail=%d) -- IRQ\n"

	.comm	_TLAN_CH_PARM,8,3               ; @TLAN_CH_PARM
	.comm	_TLAN_HC_GO,4,2                 ; @TLAN_HC_GO
	.comm	_TLAN_HC_RT,4,2                 ; @TLAN_HC_RT
	.no_dead_strip	_tlan_handle_rx_eoc
.subsections_via_symbols
