	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_process_lro
_qlcnic_process_lro:                    ## @qlcnic_process_lro
	.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	$56, %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, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	32(%rdi), %r14
	movq	40(%rdi), %r15
	movl	$65535, -60(%rbp)               ## imm = 0xFFFF
	xorl	%edi, %edi
	cmpl	%esi, (%r12)
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	(%r14), %r14
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_refhandle
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	(%r14,%rbx), %eax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	(%r14,%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	shlq	$2, %rax
	addq	8(%r14,%rbx), %rax
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_timestamp
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_length
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_l2_hdr_offset
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_l4_hdr_offset
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_qlcnic_get_lro_sts_push_flag
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_qlcnic_get_lro_sts_seq_number
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_STATUS_CKSUM_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %r15
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_qlcnic_process_rxbuf
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	cmpq	$0, 24(%r15)
	je	LBB0_9
## %bb.7:
	movq	_QLCNIC_ESWITCH_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_9
## %bb.8:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_qlcnic_82xx_is_lb_pkt
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_qlcnic_add_lb_filter
LBB0_9:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.10:
	movq	_QLC_TCP_HDR_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_QLC_TCP_TS_HDR_SIZE@GOTPCREL(%rip), %rax
LBB0_12:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	addl	%r13d, %r14d
	addl	(%rax), %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%r12, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_pull
	leaq	-60(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qlcnic_check_rx_tagging
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	incl	16(%r15)
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_4
LBB0_14:
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_eth_type_trans
	movl	%eax, 16(%r12)
	movl	%eax, %edi
	callq	_ntohs
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rcx
	movq	8(%r12), %r14
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	leaq	8(%r14), %r12
	movl	8(%r14), %eax
	leal	(%r13,%rax,4), %edi
	callq	_htons
	movq	%rax, (%r14)
	jmp	LBB0_17
LBB0_16:
	movl	(%r14), %eax
	leal	(,%rax,4), %ecx
	movslq	%ecx, %rcx
	leaq	(%r14,%rcx), %r12
	addl	(%r14,%rcx), %eax
	leal	(%r13,%rax,4), %edi
	callq	_htons
	movq	%rax, 16(%r14)
	movq	$0, 8(%r14)
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	_ip_fast_csum
	movq	%rax, 8(%r14)
LBB0_17:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_htonl
	movl	%eax, 8(%r12)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %r12d
	movq	_QLCNIC_FW_LRO_MSS_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_19
## %bb.18:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_qlcnic_get_lro_sts_mss
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	%r14d, (%rax)
LBB0_19:
	movl	-60(%rbp), %edx
	cmpl	$65535, %edx                    ## imm = 0xFFFF
	jne	LBB0_21
## %bb.20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_receive_skb
	jmp	LBB0_22
LBB0_21:
	movl	20(%r15), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_vlan_hwaccel_receive_skb
LBB0_22:
	incl	12(%r15)
	addl	%r12d, 8(%r15)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ## @STATUS_CKSUM_OK
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ## @QLCNIC_ESWITCH_ENABLED
	.comm	_QLC_TCP_TS_HDR_SIZE,4,2        ## @QLC_TCP_TS_HDR_SIZE
	.comm	_QLC_TCP_HDR_SIZE,4,2           ## @QLC_TCP_HDR_SIZE
	.comm	_ETH_P_IPV6,8,3                 ## @ETH_P_IPV6
	.comm	_QLCNIC_FW_LRO_MSS_CAP,4,2      ## @QLCNIC_FW_LRO_MSS_CAP
	.no_dead_strip	_qlcnic_process_lro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_process_lro
_qlcnic_process_lro:                    ; @qlcnic_process_lro
	.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	x21, x3
	mov	x27, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x22, x23, [x0, #32]
	mov	w8, #65535
	str	w8, [sp, #12]
	ldr	w8, [x0]
	cmp	w8, w1
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x24, [x22]
	add	x22, x24, w20, sxtw #4
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_refhandle
	mov	x26, x0
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	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, w20
	add	x8, x24, x8, lsl #4
	ldr	x8, [x8, #8]
	add	x20, x8, w26, sxtw #2
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_timestamp
	mov	x24, x0
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_length
	mov	x28, x0
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_l2_hdr_offset
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_l4_hdr_offset
	mov	x25, x0
	mov	x0, x27
	bl	_qlcnic_get_lro_sts_push_flag
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x21
	bl	_qlcnic_get_lro_sts_seq_number
	str	w0, [sp]                        ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _STATUS_CKSUM_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_CKSUM_OK@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x26
	bl	_qlcnic_process_rxbuf
	cbz	x0, LBB0_3
; %bb.5:
	mov	x22, x0
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x27
	bl	_qlcnic_82xx_is_lb_pkt
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	w3, #0
	bl	_qlcnic_add_lb_filter
LBB0_8:
Lloh6:
	adrp	x8, _QLC_TCP_HDR_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLC_TCP_HDR_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _QLC_TCP_TS_HDR_SIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QLC_TCP_TS_HDR_SIZE@GOTPAGEOFF]
	cmp	w24, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	add	w9, w25, w28
	add	w1, w9, w8
	mov	x0, x22
	bl	_skb_put
	mov	x0, x22
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	bl	_skb_pull
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	bl	_qlcnic_check_rx_tagging
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x22
	bl	_dev_kfree_skb
	b	LBB0_3
LBB0_10:
	mov	x0, x22
	mov	x1, x23
	bl	_eth_type_trans
	str	w0, [x22, #16]
	bl	_ntohs
Lloh10:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x23, [x22, #8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x24, x23
	ldr	w8, [x24, #8]!
	add	w0, w28, w8, lsl #2
	bl	_htons
	str	x0, [x23]
	b	LBB0_13
LBB0_12:
	ldr	w8, [x23]
	lsl	w9, w8, #2
	add	x24, x23, w9, sxtw
	ldr	w9, [x24]
	add	w8, w9, w8
	add	w0, w28, w8, lsl #2
	bl	_htons
	stp	xzr, x0, [x23, #8]
	ldr	w1, [x23]
	mov	x0, x23
	bl	_ip_fast_csum
	str	x0, [x23, #8]
LBB0_13:
	ldp	w0, w8, [sp]                    ; 8-byte Folded Reload
	str	w8, [x24, #4]
	bl	_htonl
	str	w0, [x24, #8]
	ldr	w23, [x22]
	ldr	w8, [x19, #4]
Lloh13:
	adrp	x9, _QLCNIC_FW_LRO_MSS_CAP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _QLCNIC_FW_LRO_MSS_CAP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x21
	bl	_qlcnic_get_lro_sts_mss
	mov	x21, x0
	mov	x0, x22
	bl	_skb_shinfo
	str	w21, [x0]
LBB0_15:
	ldr	w2, [sp, #12]
	mov	w8, #65535
	cmp	w2, w8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x22
	bl	_netif_receive_skb
	b	LBB0_18
LBB0_17:
	ldr	w1, [x19, #20]
	mov	x0, x22
	bl	_vlan_hwaccel_receive_skb
LBB0_18:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ; @STATUS_CKSUM_OK
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ; @QLCNIC_ESWITCH_ENABLED
	.comm	_QLC_TCP_TS_HDR_SIZE,4,2        ; @QLC_TCP_TS_HDR_SIZE
	.comm	_QLC_TCP_HDR_SIZE,4,2           ; @QLC_TCP_HDR_SIZE
	.comm	_ETH_P_IPV6,8,3                 ; @ETH_P_IPV6
	.comm	_QLCNIC_FW_LRO_MSS_CAP,4,2      ; @QLCNIC_FW_LRO_MSS_CAP
	.no_dead_strip	_qlcnic_process_lro
.subsections_via_symbols
