	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_fix_features
_ixgbe_fix_features:                    ## @ixgbe_fix_features
	.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, %r14d
	callq	_netdev_priv
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r14d, %edx
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%ecx, %esi
	notl	%esi
	movq	_IXGBE_FLAG2_RSC_CAPABLE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	xorl	%ebx, %ebx
	negl	%edx
	sbbl	%ebx, %ebx
	orl	%esi, %ebx
	testl	%edi, (%rax)
	cmovel	%esi, %ebx
	andl	%r14d, %ebx
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.1:
	andl	%ebx, %ecx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_e_dev_err
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ## @IXGBE_FLAG2_RSC_CAPABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LRO is not supported with XDP\n"

	.no_dead_strip	_ixgbe_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_fix_features
_ixgbe_fix_features:                    ; @ixgbe_fix_features
	.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	x19, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
Lloh3:
	adrp	x20, _NETIF_F_LRO@GOTPAGE
Lloh4:
	ldr	x20, [x20, _NETIF_F_LRO@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x0]
Lloh5:
	adrp	x10, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	and	w9, w10, w9
	ccmp	w9, #0, #4, ne
	mov	w9, #-1
	csinv	w9, w9, w8, ne
	and	w19, w9, w19
	ldr	x9, [x0, #8]
	and	w8, w19, w8
	cmp	x9, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dev_err
	ldr	w8, [x20]
	bic	w19, w19, w8
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ; @IXGBE_FLAG2_RSC_CAPABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LRO is not supported with XDP\n"

	.no_dead_strip	_ixgbe_fix_features
.subsections_via_symbols
