	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxq_process
_rxq_process:                           ## @rxq_process
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	movq	%rax, %rcx
	xorl	%r12d, %r12d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_dev_kfree_skb_irq
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%r12d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx)
	jne	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movslq	4(%rcx), %rbx
	movl	8(%rcx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	40(%rcx), %r15
	leaq	(%rbx,%rbx,2), %r13
	movl	(%r15,%r13,8), %r12d
	xorl	%eax, %eax
	movq	%rcx, %r14
	callq	_dma_rmb
	movq	_BUF_OWNED_BY_DMA@GOTPCREL(%rip), %rax
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	testl	%r12d, (%rax)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	$0, (%rax,%rbx,8)
	leal	1(%rbx), %eax
	cltd
	idivl	12(%r14)
	movl	%edx, 4(%r14)
	cmpl	-60(%rbp), %edx                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	decl	24(%r14)
	movq	16(%r14), %rdi
	movl	16(%r15,%r13,8), %edx
	movl	20(%r15,%r13,8), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	incl	12(%r14)
	movq	8(%r15,%r13,8), %rsi
	addl	%esi, 8(%r14)
	movq	_RX_LAST_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RX_FIRST_DESC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_RX_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	4(%r14)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	4(%r14)
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RX_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r14)
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$-4, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_put
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_receive_skb
	jmp	LBB0_17
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_19
LBB0_18:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_19
LBB0_5:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
LBB0_19:
	movq	%r14, %rdi
	callq	_rxq_refill
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_OWNED_BY_DMA,4,2           ## @BUF_OWNED_BY_DMA
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_RX_FIRST_DESC,4,2              ## @RX_FIRST_DESC
	.comm	_RX_LAST_DESC,4,2               ## @RX_LAST_DESC
	.comm	_RX_ERROR,4,2                   ## @RX_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx pkt on multiple desc\n"

	.no_dead_strip	_rxq_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxq_process
_rxq_process:                           ; @rxq_process
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	cmp	w21, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x22, x0
	mov	w20, #0
	mov	w26, #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_dev_kfree_skb_irq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	cmp	w21, w20
	b.eq	LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cbnz	w8, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w25, w28, [x22, #4]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
	ldr	x27, [x22, #40]
	mul	x8, x25, x26
	ldr	w23, [x27, x8]
	bl	_dma_rmb
Lloh0:
	adrp	x8, _BUF_OWNED_BY_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUF_OWNED_BY_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	b.ne	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #32]
	lsl	x9, x25, #3
	ldr	x24, [x8, x9]
	str	xzr, [x8, x9]
	add	w8, w25, #1
	ldr	w9, [x22, #12]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x22, #4]
	cmp	w8, w28
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #24]
	sub	w8, w8, #1
	str	w8, [x22, #24]
	ldr	x0, [x22, #16]
	madd	x25, x25, x26, x27
	ldp	w2, w1, [x25, #16]
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_dma_unmap_single
	ldr	x8, [x25, #8]
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
Lloh6:
	adrp	x9, _RX_FIRST_DESC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_FIRST_DESC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _RX_LAST_DESC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RX_LAST_DESC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w23
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x9, _RX_ERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RX_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w23
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	bl	_net_ratelimit
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x8, _RX_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RX_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x1, x8, #4
	mov	x0, x24
	bl	_skb_put
	mov	x0, x24
	mov	x1, x19
	bl	_eth_type_trans
	str	w0, [x24]
	mov	x0, x24
	bl	_netif_receive_skb
	b	LBB0_3
LBB0_16:
	mov	w20, #0
	b	LBB0_18
LBB0_17:
	mov	x20, x21
LBB0_18:
	mov	x0, x19
	bl	_rxq_refill
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_OWNED_BY_DMA,4,2           ; @BUF_OWNED_BY_DMA
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_RX_FIRST_DESC,4,2              ; @RX_FIRST_DESC
	.comm	_RX_LAST_DESC,4,2               ; @RX_LAST_DESC
	.comm	_RX_ERROR,4,2                   ; @RX_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx pkt on multiple desc\n"

	.no_dead_strip	_rxq_process
.subsections_via_symbols
