	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rionet_rx_clean
_rionet_rx_clean:                       ## @rionet_rx_clean
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rax), %ebx
	movq	_RIO_MAX_MSG_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	4(%r14)
	movl	(%r12), %eax
	addl	%eax, (%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movl	%ebx, %eax
	cltd
	movq	_RIONET_RX_RING_SIZE@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %ebx
	cmpl	(%r15), %edx
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movslq	%ebx, %r13
	cmpq	$0, (%rax,%r13,8)
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r15), %edi
	movq	_RIONET_MAILBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rio_get_inb_message
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%r13,8), %rdx
	movq	%rax, 8(%rdx)
	movq	(%rcx,%r13,8), %rdi
	movq	(%r12), %rsi
	callq	_skb_put
	movq	8(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movq	8(%r15), %rcx
	movq	(%rcx,%r13,8), %rdi
	movl	%eax, (%rdi)
	callq	_netif_rx
	movq	_NET_RX_DROP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	8(%r14)
	jmp	LBB0_6
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RIONET_MAILBOX,4,2             ## @RIONET_MAILBOX
	.comm	_RIO_MAX_MSG_SIZE,8,3           ## @RIO_MAX_MSG_SIZE
	.comm	_NET_RX_DROP,4,2                ## @NET_RX_DROP
	.comm	_RIONET_RX_RING_SIZE,4,2        ## @RIONET_RX_RING_SIZE
	.no_dead_strip	_rionet_rx_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rionet_rx_clean
_rionet_rx_clean:                       ; @rionet_rx_clean
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x22, _RIONET_RX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RIONET_RX_RING_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _RIONET_MAILBOX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RIONET_MAILBOX@GOTPAGEOFF]
Lloh4:
	adrp	x24, _RIO_MAX_MSG_SIZE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _RIO_MAX_MSG_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x25, _NET_RX_DROP@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NET_RX_DROP@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x24]
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w20, #1
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	msub	w20, w10, w9, w8
	ldr	w8, [x21]
	cmp	w20, w8
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8, w20, sxtw #3]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21, #16]
	ldr	w1, [x23]
	bl	_rio_get_inb_message
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w20
	ldr	x9, [x21, #8]
	lsl	x26, x8, #3
	ldr	x8, [x9, x26]
	str	x0, [x8, #8]
	ldr	x0, [x9, x26]
	ldr	x1, [x24]
	bl	_skb_put
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x26]
	mov	x1, x19
	bl	_eth_type_trans
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x26]
	str	w0, [x8]
	mov	x0, x8
	bl	_netif_rx
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_2
LBB0_7:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RIONET_MAILBOX,4,2             ; @RIONET_MAILBOX
	.comm	_RIO_MAX_MSG_SIZE,8,3           ; @RIO_MAX_MSG_SIZE
	.comm	_NET_RX_DROP,4,2                ; @NET_RX_DROP
	.comm	_RIONET_RX_RING_SIZE,4,2        ; @RIONET_RX_RING_SIZE
	.no_dead_strip	_rionet_rx_clean
.subsections_via_symbols
