	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_sbd_csum
_bnx2x_set_sbd_csum:                    ## @bnx2x_set_sbd_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	_ETH_TX_BD_FLAGS_L4_CSUM@GOTPCREL(%rip), %rsi
	movl	(%rdx), %eax
	orl	(%rsi), %eax
	movl	%eax, (%rdx)
	movq	_XMIT_CSUM_V6@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_ETH_TX_BD_FLAGS_IPV6@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	movl	%eax, (%rdx)
LBB0_2:
	movq	_XMIT_CSUM_TCP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movq	_ETH_TX_BD_FLAGS_IS_UDP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_TX_BD_FLAGS_L4_CSUM,4,2    ## @ETH_TX_BD_FLAGS_L4_CSUM
	.comm	_XMIT_CSUM_V6,4,2               ## @XMIT_CSUM_V6
	.comm	_ETH_TX_BD_FLAGS_IPV6,4,2       ## @ETH_TX_BD_FLAGS_IPV6
	.comm	_XMIT_CSUM_TCP,4,2              ## @XMIT_CSUM_TCP
	.comm	_ETH_TX_BD_FLAGS_IS_UDP,4,2     ## @ETH_TX_BD_FLAGS_IS_UDP
	.no_dead_strip	_bnx2x_set_sbd_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_sbd_csum
_bnx2x_set_sbd_csum:                    ; @bnx2x_set_sbd_csum
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_TX_BD_FLAGS_L4_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_TX_BD_FLAGS_L4_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x2]
	orr	w8, w9, w8
	str	w8, [x2]
Lloh3:
	adrp	x9, _XMIT_CSUM_V6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XMIT_CSUM_V6@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w3
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _ETH_TX_BD_FLAGS_IPV6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_TX_BD_FLAGS_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x2]
LBB0_2:
Lloh9:
	adrp	x9, _XMIT_CSUM_TCP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _XMIT_CSUM_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w3
	b.eq	LBB0_4
; %bb.3:
	ret
LBB0_4:
Lloh12:
	adrp	x9, _ETH_TX_BD_FLAGS_IS_UDP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_TX_BD_FLAGS_IS_UDP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x2]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_TX_BD_FLAGS_L4_CSUM,4,2    ; @ETH_TX_BD_FLAGS_L4_CSUM
	.comm	_XMIT_CSUM_V6,4,2               ; @XMIT_CSUM_V6
	.comm	_ETH_TX_BD_FLAGS_IPV6,4,2       ; @ETH_TX_BD_FLAGS_IPV6
	.comm	_XMIT_CSUM_TCP,4,2              ; @XMIT_CSUM_TCP
	.comm	_ETH_TX_BD_FLAGS_IS_UDP,4,2     ; @ETH_TX_BD_FLAGS_IS_UDP
	.no_dead_strip	_bnx2x_set_sbd_csum
.subsections_via_symbols
