	.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, %r14d
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rdi, %r15
	movq	32(%rdi), %r13
	movl	$65535, -48(%rbp)               ## imm = 0xFFFF
	xorl	%edi, %edi
	cmpl	%edx, (%r15)
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	24(%r15), %r14
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_refhandle
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	(%r14,%rbx), %eax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	(%r14,%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	shlq	$2, %rax
	addq	8(%r14,%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_timestamp
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_length
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_l2_hdr_offset
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_l4_hdr_offset
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_netxen_get_lro_sts_push_flag
	movl	%eax, %r12d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_netxen_get_lro_sts_seq_number
	movl	%eax, %ebx
	movq	_STATUS_CKSUM_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_netxen_process_rxbuf
	testq	%rax, %rax
	je	LBB0_21
## %bb.5:
	movq	%rax, %r13
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	cmpl	$0, -72(%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:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addl	-96(%rbp), %r14d                ## 4-byte Folded Reload
	addl	(%rax), %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%r13, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_pull
	cmpq	$0, 16(%r15)
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	je	LBB0_11
## %bb.9:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	___vlan_get_tag
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	8(%r13), %rsi
	movq	_VLAN_HLEN@GOTPCREL(%rip), %r14
	movslq	(%r14), %rdi
	addq	%rsi, %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%edx, %edx
	callq	_memmove
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_skb_pull
	jmp	LBB0_14
LBB0_11:
	movq	%rbx, %r14
	movq	16(%r13), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	movq	%r14, %rbx
	jne	LBB0_14
## %bb.12:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	jmp	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movq	%rax, 16(%r13)
	movq	8(%r13), %rbx
	leaq	(%rbx,%r14), %r12
	movl	(%rbx,%r14), %eax
	leal	(,%rax,4), %ecx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r13
	addl	(%r13,%r12), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,4), %edi
	callq	_htons
	movq	%rax, 16(%rbx,%r14)
	movq	$0, 8(%rbx,%r14)
	movl	(%rbx,%r14), %esi
	movq	%r12, %rdi
	callq	_ip_fast_csum
	movq	%rax, 8(%rbx,%r14)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r13,%r12)
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_htonl
	movl	%eax, 8(%r13,%r12)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %r12d
	movq	_NETXEN_FW_MSS_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_17
## %bb.16:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_netxen_get_lro_sts_mss
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	%r14d, (%rax)
LBB0_17:
	movl	-48(%rbp), %edx
	cmpl	$65535, %edx                    ## imm = 0xFFFF
	jne	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_netif_receive_skb
	jmp	LBB0_20
LBB0_19:
	movq	16(%r15), %rsi
	movq	%rbx, %rdi
	callq	_vlan_hwaccel_receive_skb
LBB0_20:
	incl	12(%r15)
	addl	%r12d, 8(%r15)
LBB0_21:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ## @STATUS_CKSUM_OK
	.comm	_TCP_TS_HDR_SIZE,4,2            ## @TCP_TS_HDR_SIZE
	.comm	_TCP_HDR_SIZE,4,2               ## @TCP_HDR_SIZE
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.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	x21, x4
	mov	x23, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x22, [x0, #32]
	mov	w8, #65535
	str	w8, [sp, #12]
	ldr	w8, [x0]
	cmp	w8, w2
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x24, [x19, #24]
	add	x27, x24, w20, sxtw #4
	mov	x0, x23
	bl	_netxen_get_lro_sts_refhandle
	mov	x28, x0
	ldr	w8, [x27]
	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, 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	x24, x0
	mov	x0, x23
	bl	_netxen_get_lro_sts_l2_hdr_offset
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x23
	bl	_netxen_get_lro_sts_l4_hdr_offset
	mov	x25, x0
	mov	x0, x23
	bl	_netxen_get_lro_sts_push_flag
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x21
	bl	_netxen_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, 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	w8, [x8]
	add	w9, w25, w24
	add	w1, w9, w8
	bl	_skb_put
	mov	x0, x23
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	bl	_skb_pull
	ldr	x8, [x19, #16]
	mov	x26, x24
	cbz	x8, LBB0_9
; %bb.6:
	add	x1, sp, #12
	mov	x0, x23
	bl	___vlan_get_tag
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x1, [x23, #8]
Lloh7:
	adrp	x24, _VLAN_HLEN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _VLAN_HLEN@GOTPAGEOFF]
	ldrsw	x8, [x24]
	add	x0, x1, x8
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w2, w8, #1
	bl	_memmove
	ldr	w1, [x24]
	mov	x0, x23
	bl	_skb_pull
LBB0_8:
	mov	x24, #0
	ldp	w27, w25, [sp]                  ; 8-byte Folded Reload
	b	LBB0_12
LBB0_9:
	ldr	x24, [x23, #16]
Lloh12:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	ldp	w27, w25, [sp]                  ; 8-byte Folded Reload
	b.ne	LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh17:
	ldrsw	x24, [x8]
	b	LBB0_12
LBB0_11:
	mov	x24, #0
LBB0_12:
	mov	x0, x23
	mov	x1, x22
	bl	_eth_type_trans
	str	x0, [x23, #16]
	ldr	x8, [x23, #8]
	add	x22, x8, x24
	ldr	w8, [x22]
	lsl	w9, w8, #2
	add	x24, x22, w9, sxtw
	ldr	w9, [x24]
	add	w8, w9, w8
	add	w0, w26, w8, lsl #2
	bl	_htons
	stp	xzr, x0, [x22, #8]
	ldr	w1, [x22]
	mov	x0, x22
	bl	_ip_fast_csum
	str	x0, [x22, #8]
	str	w25, [x24, #4]
	mov	x0, x27
	bl	_htonl
	str	w0, [x24, #8]
	ldr	w22, [x23]
	ldr	w8, [x19, #4]
Lloh18:
	adrp	x9, _NETXEN_FW_MSS_CAP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NETXEN_FW_MSS_CAP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x21
	bl	_netxen_get_lro_sts_mss
	mov	x21, x0
	mov	x0, x23
	bl	_skb_shinfo
	str	w21, [x0]
LBB0_14:
	ldr	w2, [sp, #12]
	mov	w8, #65535
	cmp	w2, w8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x23
	bl	_netif_receive_skb
	b	LBB0_17
LBB0_16:
	ldr	x1, [x19, #16]
	mov	x0, x23
	bl	_vlan_hwaccel_receive_skb
LBB0_17:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ; @STATUS_CKSUM_OK
	.comm	_TCP_TS_HDR_SIZE,4,2            ; @TCP_TS_HDR_SIZE
	.comm	_TCP_HDR_SIZE,4,2               ; @TCP_HDR_SIZE
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_NETXEN_FW_MSS_CAP,4,2          ; @NETXEN_FW_MSS_CAP
	.no_dead_strip	_netxen_process_lro
.subsections_via_symbols
