	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_rx_checksum
_e1000_rx_checksum:                     ## @e1000_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, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_skb_checksum_none_assert
	movq	8(%rbx), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_E1000_RXD_STAT_IXSM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_6
## %bb.2:
	movl	%r15d, %eax
	sarl	$24, %eax
	movq	_E1000_RXD_ERR_TCPE@GOTPCREL(%rip), %rcx
	movq	_E1000_RXD_ERR_IPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_4
## %bb.3:
	incl	4(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_E1000_RXD_STAT_TCPCS@GOTPCREL(%rip), %rax
	movq	_E1000_RXD_STAT_UDPCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_6
## %bb.5:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	incl	(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_E1000_RXD_STAT_IXSM,4,2        ## @E1000_RXD_STAT_IXSM
	.comm	_E1000_RXD_ERR_TCPE,4,2         ## @E1000_RXD_ERR_TCPE
	.comm	_E1000_RXD_ERR_IPE,4,2          ## @E1000_RXD_ERR_IPE
	.comm	_E1000_RXD_STAT_TCPCS,4,2       ## @E1000_RXD_STAT_TCPCS
	.comm	_E1000_RXD_STAT_UDPCS,4,2       ## @E1000_RXD_STAT_UDPCS
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_e1000_rx_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_rx_checksum
_e1000_rx_checksum:                     ; @e1000_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	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_skb_checksum_none_assert
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _E1000_RXD_STAT_IXSM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_RXD_STAT_IXSM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_6
; %bb.2:
	asr	w8, w21, #24
Lloh6:
	adrp	x9, _E1000_RXD_ERR_TCPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _E1000_RXD_ERR_TCPE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _E1000_RXD_ERR_IPE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _E1000_RXD_ERR_IPE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _E1000_RXD_STAT_TCPCS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_RXD_STAT_TCPCS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _E1000_RXD_STAT_UDPCS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _E1000_RXD_STAT_UDPCS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_E1000_RXD_STAT_IXSM,4,2        ; @E1000_RXD_STAT_IXSM
	.comm	_E1000_RXD_ERR_TCPE,4,2         ; @E1000_RXD_ERR_TCPE
	.comm	_E1000_RXD_ERR_IPE,4,2          ; @E1000_RXD_ERR_IPE
	.comm	_E1000_RXD_STAT_TCPCS,4,2       ; @E1000_RXD_STAT_TCPCS
	.comm	_E1000_RXD_STAT_UDPCS,4,2       ; @E1000_RXD_STAT_UDPCS
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_e1000_rx_checksum
.subsections_via_symbols
