	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_csum_validate
_bnx2x_csum_validate:                   ## @bnx2x_csum_validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	movq	_ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG@GOTPCREL(%rip), %rax
	movq	_ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	testl	%edx, 4(%rsi)
	je	LBB0_3
## %bb.2:
	incl	(%rcx)
	popq	%rbp
	retq
LBB0_3:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG,4,2 ## @ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG,4,2 ## @ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG,4,2 ## @ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_bnx2x_csum_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_csum_validate
_bnx2x_csum_validate:                   ; @bnx2x_csum_validate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldr	w8, [x1, #4]
Lloh3:
	adrp	x9, _ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x3]
	add	w8, w8, #1
	str	w8, [x3]
	ret
LBB0_4:
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG,4,2 ; @ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG,4,2 ; @ETH_FAST_PATH_RX_CQE_IP_BAD_XSUM_FLG
	.comm	_ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG,4,2 ; @ETH_FAST_PATH_RX_CQE_L4_BAD_XSUM_FLG
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_bnx2x_csum_validate
.subsections_via_symbols
