	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_process_rcv
_netxen_process_rcv:                    ## @netxen_process_rcv
	.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	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	xorl	%edi, %edi
	cmpl	%edx, (%r15)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %r14
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movl	%r13d, %edi
	callq	_netxen_get_sts_refhandle
	xorl	%edi, %edi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmpl	(%r14,%rbx), %eax
	movl	%eax, %r14d
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_8:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %r12
	shlq	$2, %r12
	addq	8(%rax,%rbx), %r12
	movl	%r13d, %edi
	callq	_netxen_get_sts_totallength
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_sts_status
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_sts_pkt_offset
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_netxen_process_rxbuf
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%rbx), %esi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%esi, %ebx
	cmovll	%ebx, %esi
	movq	%r14, %rdi
	callq	_skb_put
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_pull
LBB0_7:
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_eth_type_trans
	movl	%eax, (%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_napi_gro_receive
	incl	8(%r15)
	addl	%ebx, 4(%r15)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_netxen_process_rcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_process_rcv
_netxen_process_rcv:                    ; @netxen_process_rcv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	ldr	w8, [x0]
	cmp	w8, w2
	cset	w0, le
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x23, [x19, #16]
	add	x25, x23, w22, sxtw #4
	mov	x0, x24
	bl	_netxen_get_sts_refhandle
	mov	x26, x0
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	mov	x22, #0
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	sxtw	x8, w22
	add	x23, x23, x8, lsl #4
	ldr	x8, [x23, #8]
	add	x22, x8, w26, sxtw #2
	mov	x0, x24
	bl	_netxen_get_sts_totallength
	mov	x27, x0
	mov	x0, x24
	bl	_netxen_get_sts_status
	mov	x28, x0
	mov	x0, x24
	bl	_netxen_get_sts_pkt_offset
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	mov	x3, x28
	bl	_netxen_process_rxbuf
	cbz	x0, LBB0_3
; %bb.5:
	mov	x24, x0
	ldr	w8, [x23, #4]
	cmp	w27, w8
	csel	w1, w27, w8, lt
	bl	_skb_put
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w1, LBB0_7
; %bb.6:
	mov	x0, x24
	bl	_skb_pull
LBB0_7:
	mov	x0, x24
	mov	x1, x21
	bl	_eth_type_trans
	str	w0, [x24]
	mov	x0, x20
	mov	x1, x24
	bl	_napi_gro_receive
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w27
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_netxen_process_rcv
.subsections_via_symbols
