	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tx_csum
_set_tx_csum:                           ## @set_tx_csum
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	4(%rdi), %edx
	movl	8(%rdi), %edi
	movq	_DPNI_OFF_TX_L3_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	%r15d, %r8d
	callq	_dpni_set_offload
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movl	4(%rbx), %edx
	movl	8(%rbx), %edi
	movq	_DPNI_OFF_TX_L4_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	%r15d, %r8d
	callq	_dpni_set_offload
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_netdev_err
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPNI_OFF_TX_L3_CSUM,4,2        ## @DPNI_OFF_TX_L3_CSUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dpni_set_offload(TX_L3_CSUM) failed\n"

	.comm	_DPNI_OFF_TX_L4_CSUM,4,2        ## @DPNI_OFF_TX_L4_CSUM
L_.str.1:                               ## @.str.1
	.asciz	"dpni_set_offload(TX_L4_CSUM) failed\n"

	.no_dead_strip	_set_tx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tx_csum
_set_tx_csum:                           ; @set_tx_csum
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	w2, [x19, #4]
Lloh0:
	adrp	x8, _DPNI_OFF_TX_L3_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPNI_OFF_TX_L3_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x4, x21
	bl	_dpni_set_offload
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldp	w2, w0, [x19, #4]
Lloh5:
	adrp	x8, _DPNI_OFF_TX_L4_CSUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DPNI_OFF_TX_L4_CSUM@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x4, x21
	bl	_dpni_set_offload
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	ldr	w0, [x19]
	bl	_netdev_err
LBB0_5:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DPNI_OFF_TX_L3_CSUM,4,2        ; @DPNI_OFF_TX_L3_CSUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dpni_set_offload(TX_L3_CSUM) failed\n"

	.comm	_DPNI_OFF_TX_L4_CSUM,4,2        ; @DPNI_OFF_TX_L4_CSUM
l_.str.1:                               ; @.str.1
	.asciz	"dpni_set_offload(TX_L4_CSUM) failed\n"

	.no_dead_strip	_set_tx_csum
.subsections_via_symbols
