	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ethtool_set_flags
_efx_ethtool_set_flags:                 ## @efx_ethtool_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_ETH_FLAG_RXHASH@GOTPCREL(%rip), %rcx
	movq	_ETH_FLAG_NTUPLE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%rcx), %edx
	andl	(%rax), %edx
	notl	%edx
	testl	%r15d, %edx
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_6
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ethtool_op_set_flags
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jne	LBB0_6
LBB0_4:
	testl	%r15d, (%r12)
	jne	LBB0_6
## %bb.5:
	movq	_EFX_FILTER_PRI_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_efx_filter_clear_rx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_FLAG_RXHASH,4,2            ## @ETH_FLAG_RXHASH
	.comm	_ETH_FLAG_NTUPLE,4,2            ## @ETH_FLAG_NTUPLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFX_FILTER_PRI_MANUAL,4,2      ## @EFX_FILTER_PRI_MANUAL
	.no_dead_strip	_efx_ethtool_set_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ethtool_set_flags
_efx_ethtool_set_flags:                 ; @efx_ethtool_set_flags
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _ETH_FLAG_RXHASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_FLAG_RXHASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _ETH_FLAG_NTUPLE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ETH_FLAG_NTUPLE@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	and	w8, w9, w8
	bics	wzr, w20, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	cbnz	w21, LBB0_5
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_ethtool_op_set_flags
	mov	x21, x0
	cbnz	w21, LBB0_5
LBB0_3:
	ldr	w8, [x22]
	tst	w8, w20
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _EFX_FILTER_PRI_MANUAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFX_FILTER_PRI_MANUAL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_efx_filter_clear_rx
LBB0_5:
	mov	x0, x21
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_FLAG_RXHASH,4,2            ; @ETH_FLAG_RXHASH
	.comm	_ETH_FLAG_NTUPLE,4,2            ; @ETH_FLAG_NTUPLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFX_FILTER_PRI_MANUAL,4,2      ; @EFX_FILTER_PRI_MANUAL
	.no_dead_strip	_efx_ethtool_set_flags
.subsections_via_symbols
