	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_rx_csum
_ixgbe_set_rx_csum:                     ## @ixgbe_set_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	orl	%ecx, (%r14)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	notl	%ecx
	andl	(%r14), %ecx
	movl	%ecx, (%r14)
	movl	(%rax), %edx
	movq	_IXGBE_FLAG2_RSC_CAPABLE@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_4
## %bb.3:
	movq	_IXGBE_FLAG2_RSC_ENABLED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	andl	%esi, %edx
	movl	%edx, (%rax)
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%r14)
LBB0_4:
	movl	4(%rax), %ecx
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.5:
	cmpl	$128, %ecx
	jne	LBB0_8
## %bb.6:
	movq	%rax, %rdi
	callq	_ixgbe_set_rsc
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	callq	_ixgbe_do_reset
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ## @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ## @IXGBE_FLAG2_RSC_ENABLED
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.no_dead_strip	_ixgbe_set_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_rx_csum
_ixgbe_set_rx_csum:                     ; @ixgbe_set_rx_csum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	x20, LBB0_3
; %bb.1:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x10, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	bic	w9, w9, w10
	str	w9, [x0]
Lloh9:
	adrp	x9, _NETIF_F_LRO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETIF_F_LRO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_5:
	ldr	w8, [x0, #4]
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.6:
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.7:
	bl	_ixgbe_set_rsc
	b	LBB0_2
LBB0_8:
	mov	x0, x19
	bl	_ixgbe_do_reset
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ; @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ; @IXGBE_FLAG2_RSC_ENABLED
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.no_dead_strip	_ixgbe_set_rx_csum
.subsections_via_symbols
