	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_process_lro
_netxen_process_lro:                    ## @netxen_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	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	xorl	%edi, %edi
	cmpl	%edx, (%r14)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	16(%r14), %r15
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_refhandle
	movl	%eax, %r12d
	xorl	%edi, %edi
	cmpl	(%r15,%rbx), %eax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	(%r15,%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rax
	shlq	$2, %rax
	addq	8(%r15,%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_timestamp
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_length
	movq	%rax, %r15
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_l2_hdr_offset
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_l4_hdr_offset
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_netxen_get_lro_sts_push_flag
	movl	%eax, %r13d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_netxen_get_lro_sts_seq_number
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_STATUS_CKSUM_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_netxen_process_rxbuf
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movq	%rax, %rbx
	movslq	-56(%rbp), %rsi                 ## 4-byte Folded Reload
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	_TCP_HDR_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_TCP_TS_HDR_SIZE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	addq	(%rax), %rsi
	movq	%r15, %r12
	addq	%r15, %rsi
	movq	%rbx, %rdi
	callq	_skb_put
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_pull
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_eth_type_trans
	movl	%eax, %r15d
	movl	%eax, 16(%rbx)
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_htons
	cmpl	%eax, %r15d
	jne	LBB0_10
## %bb.9:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_11
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movq	8(%rbx), %r15
	leaq	(%r15,%r13), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	(%r15,%r13), %eax
	movl	4(%r15,%r13), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	leal	(,%rax,4), %ecx
	movslq	%ecx, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	addl	(%rcx,%rdx), %eax
	shll	$2, %eax
	cltq
	addq	%rax, %r12
	leaq	(%r15,%r13), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_htons
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_csum_replace2
	movq	%r12, %rdi
	callq	_htons
	movl	%eax, 4(%r15,%r13)
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movq	%rbx, %r15
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx,%r12)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_htonl
	movl	%eax, 8(%rbx,%r12)
	movq	%r15, %rbx
	movq	(%r15), %r12
	movq	_NETXEN_FW_MSS_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_13
## %bb.12:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_netxen_get_lro_sts_mss
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	%r15d, (%rax)
LBB0_13:
	movq	%rbx, %rdi
	callq	_netif_receive_skb
	incl	12(%r14)
	addl	%r12d, 8(%r14)
LBB0_14:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ## @STATUS_CKSUM_OK
	.comm	_TCP_TS_HDR_SIZE,8,3            ## @TCP_TS_HDR_SIZE
	.comm	_TCP_HDR_SIZE,8,3               ## @TCP_HDR_SIZE
	.comm	_ETH_P_8021Q,8,3                ## @ETH_P_8021Q
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_NETXEN_FW_MSS_CAP,4,2          ## @NETXEN_FW_MSS_CAP
	.no_dead_strip	_netxen_process_lro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_process_lro
_netxen_process_lro:                    ; @netxen_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	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	w8, [x0]
	cmp	w8, w2
	cset	w0, le
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x24, [x19, #16]
	add	x27, x24, w21, sxtw #4
	mov	x0, x23
	bl	_netxen_get_lro_sts_refhandle
	mov	x28, x0
	ldr	w8, [x27]
	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	x8, w21
	add	x8, x24, x8, lsl #4
	ldr	x8, [x8, #8]
	add	x21, x8, w28, sxtw #2
	mov	x0, x23
	bl	_netxen_get_lro_sts_timestamp
	mov	x26, x0
	mov	x0, x23
	bl	_netxen_get_lro_sts_length
	mov	x25, x0
	mov	x0, x23
	bl	_netxen_get_lro_sts_l2_hdr_offset
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x23
	bl	_netxen_get_lro_sts_l4_hdr_offset
	mov	x24, x0
	mov	x0, x23
	bl	_netxen_get_lro_sts_push_flag
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_netxen_get_lro_sts_seq_number
	str	w0, [sp, #8]                    ; 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, x27
	mov	x2, x28
	bl	_netxen_process_rxbuf
	cbz	x0, LBB0_3
; %bb.5:
	mov	x23, x0
Lloh3:
	adrp	x8, _TCP_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCP_HDR_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _TCP_TS_HDR_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TCP_TS_HDR_SIZE@GOTPAGEOFF]
	cmp	w26, #0
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	add	x8, x8, w24, sxtw
	add	x1, x8, x25
	bl	_skb_put
	mov	x0, x23
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_skb_pull
	mov	x0, x23
	mov	x1, x22
	bl	_eth_type_trans
	mov	x22, x0
	str	w0, [x23, #16]
Lloh7:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	bl	_htons
Lloh10:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	w22, w0
	csel	x8, x8, xzr, eq
	ldr	x9, [x23, #8]
	add	x26, x9, x8
	ldp	w8, w22, [x26]
	lsl	w9, w8, #2
	add	x27, x26, w9, sxtw
	ldr	w9, [x27]
	add	w8, w9, w8
	lsl	w8, w8, #2
	add	x24, x25, w8, sxtw
	add	x25, x26, #8
	mov	x0, x24
	bl	_htons
	mov	x2, x0
	mov	x0, x25
	mov	x1, x22
	bl	_csum_replace2
	mov	x0, x24
	bl	_htons
	str	w0, [x26, #4]
	ldp	w0, w8, [sp, #8]                ; 8-byte Folded Reload
	str	w8, [x27, #4]
	bl	_htonl
	str	w0, [x27, #8]
	ldr	x22, [x23]
	ldr	w8, [x19, #4]
Lloh13:
	adrp	x9, _NETXEN_FW_MSS_CAP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NETXEN_FW_MSS_CAP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_netxen_get_lro_sts_mss
	mov	x20, x0
	mov	x0, x23
	bl	_skb_shinfo
	str	w20, [x0]
LBB0_7:
	mov	x0, x23
	bl	_netif_receive_skb
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	mov.s	v1[0], w22
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ; @STATUS_CKSUM_OK
	.comm	_TCP_TS_HDR_SIZE,8,3            ; @TCP_TS_HDR_SIZE
	.comm	_TCP_HDR_SIZE,8,3               ; @TCP_HDR_SIZE
	.comm	_ETH_P_8021Q,8,3                ; @ETH_P_8021Q
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_NETXEN_FW_MSS_CAP,4,2          ; @NETXEN_FW_MSS_CAP
	.no_dead_strip	_netxen_process_lro
.subsections_via_symbols
