	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvneta_rx_csum
_mvneta_rx_csum:                        ## @mvneta_rx_csum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	testl	%edi, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_MVNETA_RXD_L3_IP4@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_MVNETA_RXD_L4_CSUM_OK@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	$0, 8(%rdx)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_MVNETA_RXD_L3_IP4,4,2          ## @MVNETA_RXD_L3_IP4
	.comm	_MVNETA_RXD_L4_CSUM_OK,4,2      ## @MVNETA_RXD_L4_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_mvneta_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvneta_rx_csum
_mvneta_rx_csum:                        ; @mvneta_rx_csum
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	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_4
; %bb.1:
Lloh3:
	adrp	x8, _MVNETA_RXD_L3_IP4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVNETA_RXD_L3_IP4@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _MVNETA_RXD_L4_CSUM_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVNETA_RXD_L4_CSUM_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.3:
	str	xzr, [x2, #8]
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_MVNETA_RXD_L3_IP4,4,2          ; @MVNETA_RXD_L3_IP4
	.comm	_MVNETA_RXD_L4_CSUM_OK,4,2      ; @MVNETA_RXD_L4_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_mvneta_rx_csum
.subsections_via_symbols
