	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_process_rcv
_qlcnic_process_rcv:                    ## @qlcnic_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	32(%rdi), %r15
	movq	40(%rdi), %r14
	movl	$65535, -44(%rbp)               ## imm = 0xFFFF
	xorl	%edi, %edi
	cmpl	%edx, (%r12)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_qlcnic_get_sts_refhandle
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	(%r14,%rbx), %eax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	(%r14,%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %r15
	shlq	$2, %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	addq	8(%r14,%rbx), %r15
	movl	%r12d, %edi
	callq	_qlcnic_get_sts_totallength
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_qlcnic_get_sts_status
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r12d, %r14d
	movl	%r12d, %edi
	callq	_qlcnic_get_sts_pkt_offset
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_qlcnic_process_rxbuf
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r13
	cmpq	$0, 24(%r12)
	je	LBB0_9
## %bb.7:
	movq	_QLCNIC_ESWITCH_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_9
## %bb.8:
	movl	%r14d, %edi
	callq	_qlcnic_82xx_is_lb_pkt
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_qlcnic_add_lb_filter
LBB0_9:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%rbx), %esi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%esi, %ebx
	cmovll	%ebx, %esi
	movq	%r13, %rdi
	callq	_skb_put
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	_skb_pull
LBB0_11:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_qlcnic_check_rx_tagging
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	incl	16(%r12)
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_4
LBB0_13:
	movq	%r13, %rdi
	callq	_eth_type_trans
	movl	%eax, (%r13)
	movl	-44(%rbp), %edx
	cmpl	$65535, %edx                    ## imm = 0xFFFF
	jne	LBB0_15
## %bb.14:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_napi_gro_receive
	jmp	LBB0_16
LBB0_15:
	movl	20(%r12), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_vlan_gro_receive
LBB0_16:
	incl	12(%r12)
	addl	%ebx, 8(%r12)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ## @QLCNIC_ESWITCH_ENABLED
	.no_dead_strip	_qlcnic_process_rcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_process_rcv
_qlcnic_process_rcv:                    ; @qlcnic_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	x25, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x23, x22, [x0, #32]
	mov	w8, #65535
	str	w8, [sp, #12]
	ldr	w8, [x0]
	cmp	w8, w2
	cset	w0, le
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x23, [x23]
	add	x24, x23, w21, sxtw #4
	mov	x0, x25
	bl	_qlcnic_get_sts_refhandle
	mov	x27, x0
	ldr	w8, [x24]
	cmp	w0, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	mov	x21, #0
LBB0_3:
	mov	x0, x21
	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	x26, w21
	add	x8, x23, x26, lsl #4
	ldr	x8, [x8, #8]
	add	x21, x8, w27, sxtw #2
	mov	x0, x25
	bl	_qlcnic_get_sts_totallength
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x25
	bl	_qlcnic_get_sts_status
	mov	x28, x0
	mov	x0, x25
	bl	_qlcnic_get_sts_pkt_offset
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	x1, x24
	mov	x2, x27
	mov	x3, x28
	bl	_qlcnic_process_rxbuf
	cbz	x0, LBB0_3
; %bb.5:
	mov	x24, x0
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x25
	bl	_qlcnic_82xx_is_lb_pkt
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	mov	w3, #0
	bl	_qlcnic_add_lb_filter
LBB0_8:
	add	x8, x23, x26, lsl #4
	ldr	w8, [x8, #4]
	ldr	w23, [sp, #8]                   ; 4-byte Folded Reload
	cmp	w23, w8
	csel	w1, w23, w8, lt
	mov	x0, x24
	bl	_skb_put
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w1, LBB0_10
; %bb.9:
	mov	x0, x24
	bl	_skb_pull
LBB0_10:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x24
	bl	_qlcnic_check_rx_tagging
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x24
	bl	_dev_kfree_skb
	b	LBB0_3
LBB0_12:
	mov	x0, x24
	mov	x1, x22
	bl	_eth_type_trans
	str	w0, [x24]
	ldr	w2, [sp, #12]
	mov	w8, #65535
	cmp	w2, w8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x24
	bl	_napi_gro_receive
	b	LBB0_15
LBB0_14:
	ldr	w1, [x19, #20]
	mov	x0, x20
	mov	x3, x24
	bl	_vlan_gro_receive
LBB0_15:
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ; @QLCNIC_ESWITCH_ENABLED
	.no_dead_strip	_qlcnic_process_rcv
.subsections_via_symbols
