	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_set_rxnfc
_mv88e6xxx_set_rxnfc:                   ## @mv88e6xxx_set_rxnfc
	.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
	movq	%rdx, %rbx
	movl	%esi, %r14d
	leaq	4(%rdx), %r12
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_mv88e6xxx_reg_lock
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_mv88e6xxx_policy_insert
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	4(%r15), %rdi
	movl	(%r12), %esi
	callq	_idr_remove
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r12
	movq	_MV88E6XXX_POLICY_ACTION_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_mv88e6xxx_policy_apply
	movl	%eax, %ebx
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_devm_kfree
	jmp	LBB0_6
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_mv88e6xxx_reg_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_MV88E6XXX_POLICY_ACTION_NORMAL,4,2 ## @MV88E6XXX_POLICY_ACTION_NORMAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mv88e6xxx_set_rxnfc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_set_rxnfc
_mv88e6xxx_set_rxnfc:                   ; @mv88e6xxx_set_rxnfc
	.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, x2
	mov	x20, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_mv88e6xxx_reg_lock
	ldr	w8, [x21], #4
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_mv88e6xxx_policy_insert
	mov	x20, x0
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	add	x0, x19, #4
	ldr	w1, [x21]
	bl	_idr_remove
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
Lloh3:
	adrp	x8, _MV88E6XXX_POLICY_ACTION_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV88E6XXX_POLICY_ACTION_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_mv88e6xxx_policy_apply
	mov	x20, x0
	ldr	w0, [x19]
	mov	x1, x21
	bl	_devm_kfree
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_6:
	neg	w20, w22
LBB0_7:
	mov	x0, x19
	bl	_mv88e6xxx_reg_unlock
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_MV88E6XXX_POLICY_ACTION_NORMAL,4,2 ; @MV88E6XXX_POLICY_ACTION_NORMAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mv88e6xxx_set_rxnfc
.subsections_via_symbols
