	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_set_rxnfc
_enetc_set_rxnfc:                       ## @enetc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.2:
	movq	8(%rbx), %rax
	movq	8(%r14), %rdi
	cmpq	(%rdi), %rax
	jae	LBB0_3
## %bb.4:
	movl	16(%rbx), %eax
	cmpl	16(%r14), %eax
	jl	LBB0_6
## %bb.5:
	movq	_RX_CLS_FLOW_DISC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
LBB0_6:
	addq	$8, %rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_enetc_set_cls_entry
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movups	(%rbx), %xmm0
	movups	%xmm0, 8(%rax,%rcx,8)
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$1, (%rax,%rcx,8)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_8:
	movq	8(%rbx), %rax
	movq	8(%r14), %rdi
	cmpq	(%rdi), %rax
	jae	LBB0_3
## %bb.9:
	addq	$8, %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_enetc_set_cls_entry
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$0, (%rax,%rcx,8)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_12:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RX_CLS_FLOW_DISC,4,2           ## @RX_CLS_FLOW_DISC
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_enetc_set_rxnfc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_set_rxnfc
_enetc_set_rxnfc:                       ; @enetc_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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.2:
	mov	x21, x20
	ldr	x8, [x21, #8]!
	ldr	x0, [x19, #8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.3:
	ldr	w8, [x20, #16]
	ldr	w9, [x19, #16]
Lloh0:
	adrp	x10, _RX_CLS_FLOW_DISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RX_CLS_FLOW_DISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ge
	b.ne	LBB0_9
; %bb.4:
	mov	w20, #1
	mov	x1, x21
	mov	w2, #1
	bl	_enetc_set_cls_entry
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x21]
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	q0, [x21]
	stur	q0, [x8, #8]
	ldr	x8, [x19]
	ldr	x9, [x21]
	mul	x9, x9, x10
	str	w20, [x8, x9]
	b	LBB0_12
LBB0_6:
	ldr	x8, [x20, #8]!
	ldr	x0, [x19, #8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.7:
	mov	x1, x20
	mov	w2, #0
	bl	_enetc_set_cls_entry
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	x8, [x19]
	ldr	x9, [x20]
	mov	w10, #24
	mul	x9, x9, x10
	str	wzr, [x8, x9]
	b	LBB0_12
LBB0_9:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RX_CLS_FLOW_DISC,4,2           ; @RX_CLS_FLOW_DISC
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_enetc_set_rxnfc
.subsections_via_symbols
