	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_process_rx
_be_process_rx:                         ## @be_process_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_19
## %bb.1:
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_be_rx_compl_discard
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_be_rx_stats_update
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_be_rx_compl_get
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpl	$0, 16(%r13)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_lancer_chip
	testl	%eax, %eax
	sete	%al
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_do_gro
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_be_rx_compl_process_gro
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rsi
	callq	_be_rx_compl_process
	jmp	LBB0_3
LBB0_15:
	movl	%r12d, %ebx
LBB0_16:
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.17:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_be_cq_notify
	movq	%r14, %rdi
	callq	_atomic_read
	movq	_RX_FRAGS_REFILL_WM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_20
## %bb.18:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_be_post_rx_frags
	jmp	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FRAGS_REFILL_WM,8,3         ## @RX_FRAGS_REFILL_WM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_be_process_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_process_rx
_be_process_rx:                         ; @be_process_rx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w2, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w19, #0
	ldr	x21, [x0, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_be_rx_compl_discard
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_be_rx_stats_update
	add	w19, w19, #1
	cmp	w22, w19
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_be_rx_compl_get
	cbz	x0, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_lancer_chip
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_do_gro
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_be_rx_compl_process_gro
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_be_rx_compl_process
	b	LBB0_3
LBB0_13:
	mov	w19, #0
	b	LBB0_18
LBB0_14:
	mov	x19, x22
LBB0_15:
	cbz	w19, LBB0_18
; %bb.16:
	ldr	w1, [x20, #4]
	mov	x0, x21
	mov	w2, #1
	mov	x3, x19
	bl	_be_cq_notify
	mov	x0, x20
	bl	_atomic_read
Lloh0:
	adrp	x8, _RX_FRAGS_REFILL_WM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_FRAGS_REFILL_WM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_18
; %bb.17:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_be_post_rx_frags
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FRAGS_REFILL_WM,8,3         ; @RX_FRAGS_REFILL_WM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_be_process_rx
.subsections_via_symbols
