	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_rx_csum
_mvpp2_rx_csum:                         ## @mvpp2_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	_MVPP2_RXD_L3_IP4@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MVPP2_RXD_IP4_HEADER_ERR@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
LBB0_2:
	movq	_MVPP2_RXD_L3_IP6@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_9
LBB0_3:
	movq	_MVPP2_RXD_L4_UDP@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_MVPP2_RXD_L4_TCP@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_9
LBB0_5:
	movq	_MVPP2_RXD_L4_CSUM_OK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_9
## %bb.6:
	movq	$0, 8(%rdx)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_RXD_L3_IP4,4,2           ## @MVPP2_RXD_L3_IP4
	.comm	_MVPP2_RXD_IP4_HEADER_ERR,4,2   ## @MVPP2_RXD_IP4_HEADER_ERR
	.comm	_MVPP2_RXD_L3_IP6,4,2           ## @MVPP2_RXD_L3_IP6
	.comm	_MVPP2_RXD_L4_UDP,4,2           ## @MVPP2_RXD_L4_UDP
	.comm	_MVPP2_RXD_L4_TCP,4,2           ## @MVPP2_RXD_L4_TCP
	.comm	_MVPP2_RXD_L4_CSUM_OK,4,2       ## @MVPP2_RXD_L4_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_mvpp2_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_rx_csum
_mvpp2_rx_csum:                         ; @mvpp2_rx_csum
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MVPP2_RXD_L3_IP4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_RXD_L3_IP4@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MVPP2_RXD_IP4_HEADER_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP2_RXD_IP4_HEADER_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _MVPP2_RXD_L3_IP6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVPP2_RXD_L3_IP6@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_7
LBB0_3:
Lloh9:
	adrp	x8, _MVPP2_RXD_L4_UDP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MVPP2_RXD_L4_UDP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _MVPP2_RXD_L4_TCP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MVPP2_RXD_L4_TCP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_7
LBB0_5:
Lloh15:
	adrp	x8, _MVPP2_RXD_L4_CSUM_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MVPP2_RXD_L4_CSUM_OK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_7
; %bb.6:
	str	xzr, [x2, #8]
Lloh18:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_RXD_L3_IP4,4,2           ; @MVPP2_RXD_L3_IP4
	.comm	_MVPP2_RXD_IP4_HEADER_ERR,4,2   ; @MVPP2_RXD_IP4_HEADER_ERR
	.comm	_MVPP2_RXD_L3_IP6,4,2           ; @MVPP2_RXD_L3_IP6
	.comm	_MVPP2_RXD_L4_UDP,4,2           ; @MVPP2_RXD_L4_UDP
	.comm	_MVPP2_RXD_L4_TCP,4,2           ; @MVPP2_RXD_L4_TCP
	.comm	_MVPP2_RXD_L4_CSUM_OK,4,2       ; @MVPP2_RXD_L4_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_mvpp2_rx_csum
.subsections_via_symbols
