	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_flags
_ixgbe_set_flags:                       ## @ixgbe_set_flags
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_ethtool_op_set_flags
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	movl	(%r15), %eax
	movq	_IXGBE_FLAG2_RSC_CAPABLE@GOTPCREL(%rip), %rcx
	movb	$1, %r13b
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.2:
	movq	_ETH_FLAG_LRO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%ebx, %edx
	setne	%dil
	movq	_IXGBE_FLAG2_RSC_ENABLED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%eax, %esi
	sete	%cl
	xorb	%dil, %cl
	jne	LBB0_11
## %bb.3:
	testl	%ebx, %edx
	je	LBB0_7
## %bb.4:
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	_IXGBE_MAX_RSC_INT_RATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jg	LBB0_6
LBB0_7:
	xorl	%eax, %esi
	movl	%esi, (%r15)
	movl	20(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_ixgbe_set_rsc
	jmp	LBB0_11
LBB0_6:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	jmp	LBB0_11
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movq	%r15, %rdi
	callq	_ixgbe_adapter_fdir_capable
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	movl	16(%r15), %eax
	movq	_IXGBE_FLAG_FDIR_PERFECT_CAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ETH_FLAG_NTUPLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %ecx
	je	LBB0_13
## %bb.15:
	testl	%ebx, %edx
	jne	LBB0_22
## %bb.16:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 16(%r15)
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.17:
	movq	_IXGBE_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.18:
	movq	_IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_19
LBB0_13:
	testl	%ebx, %edx
	je	LBB0_22
## %bb.14:
	movq	_IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %eax
	orl	%ecx, %eax
LBB0_19:
	movl	%eax, 16(%r15)
	jmp	LBB0_20
LBB0_22:
	testb	%r13b, %r13b
	jne	LBB0_21
LBB0_20:
	movq	%r12, %rdi
	callq	_ixgbe_do_reset
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ## @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_ETH_FLAG_LRO,4,2               ## @ETH_FLAG_LRO
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ## @IXGBE_FLAG2_RSC_ENABLED
	.comm	_IXGBE_MAX_RSC_INT_RATE,8,3     ## @IXGBE_MAX_RSC_INT_RATE
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx-usecs set too low, not enabling RSC.\n"

	.comm	_IXGBE_FLAG_FDIR_PERFECT_CAPABLE,4,2 ## @IXGBE_FLAG_FDIR_PERFECT_CAPABLE
	.comm	_ETH_FLAG_NTUPLE,4,2            ## @ETH_FLAG_NTUPLE
	.comm	_IXGBE_FLAG_FDIR_HASH_CAPABLE,4,2 ## @IXGBE_FLAG_FDIR_HASH_CAPABLE
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ## @IXGBE_FLAG_DCB_ENABLED
	.no_dead_strip	_ixgbe_set_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_flags
_ixgbe_set_flags:                       ; @ixgbe_set_flags
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_ethtool_op_set_flags
	mov	x20, x0
	cbnz	w0, LBB0_22
; %bb.1:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
Lloh3:
	adrp	x9, _ETH_FLAG_LRO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_FLAG_LRO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ands	w10, w9, w22
	cset	w11, ne
Lloh6:
	adrp	x9, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w12, eq
	eor	w11, w11, w12
	tbnz	w11, #0, LBB0_10
; %bb.3:
	cbz	w10, LBB0_6
; %bb.4:
	ldr	x10, [x21, #8]
	cbz	x10, LBB0_9
; %bb.5:
Lloh9:
	adrp	x11, _IXGBE_MAX_RSC_INT_RATE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IXGBE_MAX_RSC_INT_RATE@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x10, x11
	b.gt	LBB0_9
LBB0_6:
	eor	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x21, #20]
	cmp	w8, #129
	b.eq	LBB0_23
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_ixgbe_set_rsc
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _probe@GOTPAGE
Lloh13:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
LBB0_10:
	mov	w23, #1
LBB0_11:
	mov	x0, x21
	bl	_ixgbe_adapter_fdir_capable
	cbz	w0, LBB0_20
; %bb.12:
	ldr	w8, [x21, #16]
Lloh17:
	adrp	x9, _IXGBE_FLAG_FDIR_PERFECT_CAPABLE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IXGBE_FLAG_FDIR_PERFECT_CAPABLE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _ETH_FLAG_NTUPLE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ETH_FLAG_NTUPLE@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	and	w10, w10, w22
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:
	cbnz	w10, LBB0_20
; %bb.14:
	bic	w8, w8, w9
	str	w8, [x21, #16]
Lloh23:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.15:
Lloh26:
	adrp	x9, _IXGBE_FLAG_DCB_ENABLED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IXGBE_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.16:
Lloh29:
	adrp	x9, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_19
LBB0_17:
	cbz	w10, LBB0_20
; %bb.18:
Lloh32:
	adrp	x10, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGE
Lloh33:
	ldr	x10, [x10, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	bic	w8, w8, w10
	orr	w8, w8, w9
LBB0_19:
	str	w8, [x21, #16]
	b	LBB0_21
LBB0_20:
	tbnz	w23, #0, LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_ixgbe_do_reset
LBB0_22:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_23:
	mov	w23, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ; @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_ETH_FLAG_LRO,4,2               ; @ETH_FLAG_LRO
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ; @IXGBE_FLAG2_RSC_ENABLED
	.comm	_IXGBE_MAX_RSC_INT_RATE,8,3     ; @IXGBE_MAX_RSC_INT_RATE
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx-usecs set too low, not enabling RSC.\n"

	.comm	_IXGBE_FLAG_FDIR_PERFECT_CAPABLE,4,2 ; @IXGBE_FLAG_FDIR_PERFECT_CAPABLE
	.comm	_ETH_FLAG_NTUPLE,4,2            ; @ETH_FLAG_NTUPLE
	.comm	_IXGBE_FLAG_FDIR_HASH_CAPABLE,4,2 ; @IXGBE_FLAG_FDIR_HASH_CAPABLE
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ; @IXGBE_FLAG_DCB_ENABLED
	.no_dead_strip	_ixgbe_set_flags
.subsections_via_symbols
