	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_rx_checksum
_atl1e_rx_checksum:                     ## @atl1e_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rsi, %rdi
	callq	_skb_checksum_none_assert
	movl	(%rbx), %ecx
	movl	4(%rbx), %eax
	movq	_RRS_IS_IPV4@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	jne	LBB0_2
## %bb.1:
	movq	_RRS_IS_IPV6@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_9
LBB0_2:
	movq	_RRS_IS_TCP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	jne	LBB0_4
## %bb.3:
	movq	_RRS_IS_UDP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_9
LBB0_4:
	testl	%ecx, %edx
	je	LBB0_7
## %bb.5:
	movq	_RRS_IS_802_3@GOTPCREL(%rip), %rdx
	leal	8(%r15), %esi
	testl	%ecx, (%rdx)
	cmovel	%r15d, %esi
	movslq	%esi, %rdx
	cmpq	$0, 8(%rbx,%rdx,4)
	je	LBB0_7
## %bb.6:
	movq	_RRS_IS_IP_DF@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
LBB0_7:
	movq	_RRS_ERR_IP_CSUM@GOTPCREL(%rip), %rcx
	movq	_RRS_ERR_L4_CSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_9
## %bb.8:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_RRS_IS_IPV4,4,2                ## @RRS_IS_IPV4
	.comm	_RRS_IS_IPV6,4,2                ## @RRS_IS_IPV6
	.comm	_RRS_IS_TCP,4,2                 ## @RRS_IS_TCP
	.comm	_RRS_IS_UDP,4,2                 ## @RRS_IS_UDP
	.comm	_RRS_IS_802_3,4,2               ## @RRS_IS_802_3
	.comm	_RRS_IS_IP_DF,4,2               ## @RRS_IS_IP_DF
	.comm	_RRS_ERR_IP_CSUM,4,2            ## @RRS_ERR_IP_CSUM
	.comm	_RRS_ERR_L4_CSUM,4,2            ## @RRS_ERR_L4_CSUM
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_atl1e_rx_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1e_rx_checksum
_atl1e_rx_checksum:                     ; @atl1e_rx_checksum
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x1
	bl	_skb_checksum_none_assert
	ldp	w9, w8, [x20]
Lloh3:
	adrp	x10, _RRS_IS_IPV4@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RRS_IS_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ands	w10, w10, w9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x11, _RRS_IS_IPV6@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RRS_IS_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_9
LBB0_2:
Lloh9:
	adrp	x11, _RRS_IS_TCP@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RRS_IS_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w11, w9
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x11, _RRS_IS_UDP@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RRS_IS_UDP@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_9
LBB0_4:
	cbz	w10, LBB0_7
; %bb.5:
	add	x10, x20, #8
Lloh15:
	adrp	x11, _RRS_IS_802_3@GOTPAGE
Lloh16:
	ldr	x11, [x11, _RRS_IS_802_3@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	add	w12, w21, #8
	tst	w11, w9
	csel	w11, w21, w12, eq
	sbfiz	x11, x11, #2, #32
	ldr	x10, [x10, x11]
	cbz	x10, LBB0_7
; %bb.6:
Lloh18:
	adrp	x10, _RRS_IS_IP_DF@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RRS_IS_IP_DF@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
LBB0_7:
Lloh21:
	adrp	x9, _RRS_ERR_IP_CSUM@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RRS_ERR_IP_CSUM@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _RRS_ERR_L4_CSUM@GOTPAGE
Lloh25:
	ldr	x10, [x10, _RRS_ERR_L4_CSUM@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
Lloh27:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_RRS_IS_IPV4,4,2                ; @RRS_IS_IPV4
	.comm	_RRS_IS_IPV6,4,2                ; @RRS_IS_IPV6
	.comm	_RRS_IS_TCP,4,2                 ; @RRS_IS_TCP
	.comm	_RRS_IS_UDP,4,2                 ; @RRS_IS_UDP
	.comm	_RRS_IS_802_3,4,2               ; @RRS_IS_802_3
	.comm	_RRS_IS_IP_DF,4,2               ; @RRS_IS_IP_DF
	.comm	_RRS_ERR_IP_CSUM,4,2            ; @RRS_ERR_IP_CSUM
	.comm	_RRS_ERR_L4_CSUM,4,2            ; @RRS_ERR_L4_CSUM
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_atl1e_rx_checksum
.subsections_via_symbols
