	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_port_poll_rx
_rocker_port_poll_rx:                   ## @rocker_port_poll_rx
	.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
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_rocker_port_napi_rx_get
	movq	%rax, %r15
	movq	16(%rax), %r14
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %edx
	callq	_netdev_err
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	incl	(%rax)
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_rocker_desc_gen_clear
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_rocker_desc_head_set
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_rocker_desc_tail_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_rocker_desc_err
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_rocker_port_rx_proc
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_13:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_napi_complete_done
LBB0_15:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_rocker_dma_ring_credits_set
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx desc received with err %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"rx processing failed with err %d\n"

	.no_dead_strip	_rocker_port_poll_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_port_poll_rx
_rocker_port_poll_rx:                   ; @rocker_port_poll_rx
	.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	x23, x1
	mov	x22, x0
	bl	_rocker_port_napi_rx_get
	mov	x19, x0
	ldr	x20, [x0, #16]
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w21, #0
Lloh0:
	adrp	x24, l_.str.1@PAGE
Lloh1:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x24
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, x27
	bl	_netdev_err
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_rocker_desc_gen_clear
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	bl	_rocker_desc_head_set
	add	w21, w21, #1
	cmp	w23, w21
	b.eq	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rocker_desc_tail_get
	cbz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x0
	bl	_rocker_desc_err
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	bl	_net_ratelimit
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x25
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	bl	_rocker_port_rx_proc
	cbz	w0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	bl	_net_ratelimit
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_12:
	mov	w21, #0
	b	LBB0_15
LBB0_13:
	mov	x21, x23
	b	LBB0_15
LBB0_14:
	mov	x0, x22
	mov	x1, x21
	bl	_napi_complete_done
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_rocker_dma_ring_credits_set
	mov	x0, x21
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx desc received with err %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"rx processing failed with err %d\n"

	.no_dead_strip	_rocker_port_poll_rx
.subsections_via_symbols
