	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_rx_checksum
_i40e_rx_checksum:                      ## @i40e_rx_checksum
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdx), %edi
	callq	_le64_to_cpu
	movl	%eax, %ebx
	movq	_I40E_RXD_QW1_PTYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%ebx, %esi
	movq	_I40E_RXD_QW1_PTYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	_I40E_RXD_QW1_ERROR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%ebx, %r13d
	movq	_I40E_RXD_QW1_ERROR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	movq	_I40E_RXD_QW1_STATUS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_I40E_RXD_QW1_STATUS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	leaq	-120(%rbp), %rdi
	callq	_decode_rx_desc_ptype
	movq	-120(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-96(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %r15
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_checksum_none_assert
	movq	8(%r14), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.1:
	movq	_I40E_RX_DESC_STATUS_L3L4P_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_16
## %bb.2:
	testq	%r15, %r15
	je	LBB0_16
## %bb.3:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.4:
	movq	_I40E_RX_PTYPE_OUTER_IP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rcx
	xorq	%rax, %rcx
	movq	_I40E_RX_PTYPE_OUTER_IPV6@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorq	%rsi, %rdx
	orq	%rcx, %rdx
	sete	%r15b
	cmpq	%rax, %rdi
	jne	LBB0_7
## %bb.5:
	movq	_I40E_RX_PTYPE_OUTER_IPV4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_7
## %bb.6:
	movq	_I40E_RX_DESC_ERROR_IPE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	_I40E_RX_DESC_ERROR_EIPE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%r12d, %eax
	testl	%r13d, %eax
	jne	LBB0_15
LBB0_7:
	testb	%r15b, %r15b
	je	LBB0_9
## %bb.8:
	movq	_I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	jne	LBB0_16
LBB0_9:
	movq	_I40E_RX_DESC_ERROR_L4E_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_10
LBB0_15:
	movq	(%r14), %rax
	incl	(%rax)
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_I40E_RX_DESC_ERROR_PPRS_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%r13d, %eax
	jne	LBB0_16
## %bb.11:
	movq	_I40E_RX_PTYPE_TUNNEL_IP_GRENAT@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jl	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_16
## %bb.14:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_RXD_QW1_PTYPE_MASK,4,2    ## @I40E_RXD_QW1_PTYPE_MASK
	.comm	_I40E_RXD_QW1_PTYPE_SHIFT,4,2   ## @I40E_RXD_QW1_PTYPE_SHIFT
	.comm	_I40E_RXD_QW1_ERROR_MASK,4,2    ## @I40E_RXD_QW1_ERROR_MASK
	.comm	_I40E_RXD_QW1_ERROR_SHIFT,4,2   ## @I40E_RXD_QW1_ERROR_SHIFT
	.comm	_I40E_RXD_QW1_STATUS_MASK,4,2   ## @I40E_RXD_QW1_STATUS_MASK
	.comm	_I40E_RXD_QW1_STATUS_SHIFT,4,2  ## @I40E_RXD_QW1_STATUS_SHIFT
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_I40E_RX_DESC_STATUS_L3L4P_SHIFT,4,2 ## @I40E_RX_DESC_STATUS_L3L4P_SHIFT
	.comm	_I40E_RX_PTYPE_OUTER_IP,8,3     ## @I40E_RX_PTYPE_OUTER_IP
	.comm	_I40E_RX_PTYPE_OUTER_IPV4,8,3   ## @I40E_RX_PTYPE_OUTER_IPV4
	.comm	_I40E_RX_PTYPE_OUTER_IPV6,8,3   ## @I40E_RX_PTYPE_OUTER_IPV6
	.comm	_I40E_RX_DESC_ERROR_IPE_SHIFT,4,2 ## @I40E_RX_DESC_ERROR_IPE_SHIFT
	.comm	_I40E_RX_DESC_ERROR_EIPE_SHIFT,4,2 ## @I40E_RX_DESC_ERROR_EIPE_SHIFT
	.comm	_I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT,4,2 ## @I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT
	.comm	_I40E_RX_DESC_ERROR_L4E_SHIFT,4,2 ## @I40E_RX_DESC_ERROR_L4E_SHIFT
	.comm	_I40E_RX_DESC_ERROR_PPRS_SHIFT,4,2 ## @I40E_RX_DESC_ERROR_PPRS_SHIFT
	.comm	_I40E_RX_PTYPE_TUNNEL_IP_GRENAT,8,3 ## @I40E_RX_PTYPE_TUNNEL_IP_GRENAT
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_i40e_rx_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_rx_checksum
_i40e_rx_checksum:                      ; @i40e_rx_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x2]
	bl	_le64_to_cpu
	mov	x21, x0
Lloh0:
	adrp	x8, _I40E_RXD_QW1_PTYPE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_RXD_QW1_PTYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _I40E_RXD_QW1_PTYPE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40E_RXD_QW1_PTYPE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w0, w8, w9
Lloh6:
	adrp	x8, _I40E_RXD_QW1_ERROR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_RXD_QW1_ERROR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w27, [x8]
Lloh9:
	adrp	x8, _I40E_RXD_QW1_ERROR_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_RXD_QW1_ERROR_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _I40E_RXD_QW1_STATUS_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40E_RXD_QW1_STATUS_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
Lloh15:
	adrp	x8, _I40E_RXD_QW1_STATUS_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40E_RXD_QW1_STATUS_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w25, [x8]
	add	x8, sp, #24
	bl	_decode_rx_desc_ptype
	ldp	x28, x26, [sp, #24]
	ldr	x8, [sp, #40]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [sp, #48]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x22, [sp, #56]
Lloh18:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_skb_checksum_none_assert
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.1:
	and	w8, w23, w21
	asr	w25, w8, w25
Lloh24:
	adrp	x8, _I40E_RX_DESC_STATUS_L3L4P_SHIFT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_RX_DESC_STATUS_L3L4P_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w25
	b.eq	LBB0_11
; %bb.2:
	cbz	x22, LBB0_11
; %bb.3:
	cbz	x28, LBB0_11
; %bb.4:
	and	w8, w27, w21
	asr	w24, w8, w24
Lloh27:
	adrp	x8, _I40E_RX_PTYPE_OUTER_IP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I40E_RX_PTYPE_OUTER_IP@GOTPAGEOFF]
Lloh29:
	adrp	x9, _I40E_RX_PTYPE_OUTER_IPV6@GOTPAGE
Lloh30:
	ldr	x9, [x9, _I40E_RX_PTYPE_OUTER_IPV6@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	ldr	x9, [x9]
	cmp	x26, x9
	cset	w22, eq
	cmp	x28, x8
	cset	w23, eq
	b.ne	LBB0_7
; %bb.5:
Lloh33:
	adrp	x8, _I40E_RX_PTYPE_OUTER_IPV4@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I40E_RX_PTYPE_OUTER_IPV4@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_7
; %bb.6:
Lloh36:
	adrp	x8, _I40E_RX_DESC_ERROR_IPE_SHIFT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _I40E_RX_DESC_ERROR_IPE_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh39:
	adrp	x8, _I40E_RX_DESC_ERROR_EIPE_SHIFT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _I40E_RX_DESC_ERROR_EIPE_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w21
	tst	w8, w24
	b.ne	LBB0_10
LBB0_7:
	and	w8, w23, w22
	cbz	w8, LBB0_9
; %bb.8:
Lloh42:
	adrp	x8, _I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w25
	b.ne	LBB0_11
LBB0_9:
Lloh45:
	adrp	x8, _I40E_RX_DESC_ERROR_L4E_SHIFT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _I40E_RX_DESC_ERROR_L4E_SHIFT@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_12
LBB0_10:
	ldr	x8, [x20]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
Lloh48:
	adrp	x8, _I40E_RX_DESC_ERROR_PPRS_SHIFT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _I40E_RX_DESC_ERROR_PPRS_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w24
	b.ne	LBB0_11
; %bb.13:
Lloh51:
	adrp	x8, _I40E_RX_PTYPE_TUNNEL_IP_GRENAT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _I40E_RX_PTYPE_TUNNEL_IP_GRENAT@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x9, x8
	b.lt	LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x19]
LBB0_15:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_11
; %bb.16:
Lloh54:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh55:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_RXD_QW1_PTYPE_MASK,4,2    ; @I40E_RXD_QW1_PTYPE_MASK
	.comm	_I40E_RXD_QW1_PTYPE_SHIFT,4,2   ; @I40E_RXD_QW1_PTYPE_SHIFT
	.comm	_I40E_RXD_QW1_ERROR_MASK,4,2    ; @I40E_RXD_QW1_ERROR_MASK
	.comm	_I40E_RXD_QW1_ERROR_SHIFT,4,2   ; @I40E_RXD_QW1_ERROR_SHIFT
	.comm	_I40E_RXD_QW1_STATUS_MASK,4,2   ; @I40E_RXD_QW1_STATUS_MASK
	.comm	_I40E_RXD_QW1_STATUS_SHIFT,4,2  ; @I40E_RXD_QW1_STATUS_SHIFT
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_I40E_RX_DESC_STATUS_L3L4P_SHIFT,4,2 ; @I40E_RX_DESC_STATUS_L3L4P_SHIFT
	.comm	_I40E_RX_PTYPE_OUTER_IP,8,3     ; @I40E_RX_PTYPE_OUTER_IP
	.comm	_I40E_RX_PTYPE_OUTER_IPV4,8,3   ; @I40E_RX_PTYPE_OUTER_IPV4
	.comm	_I40E_RX_PTYPE_OUTER_IPV6,8,3   ; @I40E_RX_PTYPE_OUTER_IPV6
	.comm	_I40E_RX_DESC_ERROR_IPE_SHIFT,4,2 ; @I40E_RX_DESC_ERROR_IPE_SHIFT
	.comm	_I40E_RX_DESC_ERROR_EIPE_SHIFT,4,2 ; @I40E_RX_DESC_ERROR_EIPE_SHIFT
	.comm	_I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT,4,2 ; @I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT
	.comm	_I40E_RX_DESC_ERROR_L4E_SHIFT,4,2 ; @I40E_RX_DESC_ERROR_L4E_SHIFT
	.comm	_I40E_RX_DESC_ERROR_PPRS_SHIFT,4,2 ; @I40E_RX_DESC_ERROR_PPRS_SHIFT
	.comm	_I40E_RX_PTYPE_TUNNEL_IP_GRENAT,8,3 ; @I40E_RX_PTYPE_TUNNEL_IP_GRENAT
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_i40e_rx_checksum
.subsections_via_symbols
