	.file	"extr_enetc_ethtool.c_enetc_set_rxnfc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enetc_set_rxnfc, @function
enetc_set_rxnfc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	je	.L3
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 8[rbx], rax
	jnb	.L8
	mov	eax, DWORD PTR 16[rbx]
	cmp	eax, DWORD PTR 16[rbp]
	jl	.L7
	cmp	eax, DWORD PTR RX_CLS_FLOW_DISC[rip]
	jne	.L8
.L7:
	lea	rsi, 8[rbx]
	mov	edx, 1
	call	enetc_set_cls_entry@PLT
	test	eax, eax
	jne	.L1
	mov	rdx, QWORD PTR 8[rbx]
	movdqu	xmm0, XMMWORD PTR 8[rbx]
	lea	rcx, [rdx+rdx*2]
	mov	rdx, QWORD PTR 0[rbp]
	lea	rdx, [rdx+rcx*8]
	mov	DWORD PTR [rdx], 1
	movups	XMMWORD PTR 8[rdx], xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 8[rbx], rax
	jb	.L12
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	edx, edx
	lea	rsi, 8[rbx]
	call	enetc_set_cls_entry@PLT
	test	eax, eax
	jne	.L1
	mov	rdx, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR 0[rbp]
	lea	rdx, [rdx+rdx*2]
	lea	rdx, [rcx+rdx*8]
	mov	DWORD PTR [rdx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	enetc_set_rxnfc, .-enetc_set_rxnfc
	.comm	RX_CLS_FLOW_DISC,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_enetc_ethtool.c_enetc_set_rxnfc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enetc_set_rxnfc, %function
enetc_set_rxnfc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	netdev_priv
	ldr	r3, [r4]
	mov	r5, r0
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	beq	.L3
	ldr	r3, .L13
	ldr	r3, [r3]
	rsb	r3, r3, #0
.L1:
	mov	r0, r3
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r0, #4]
	ldr	r2, [r4, #4]
	ldr	r3, [r0]
	cmp	r2, r3
	bcs	.L8
	ldr	r3, [r4, #8]
	ldr	r2, [r5, #8]
	cmp	r3, r2
	blt	.L7
	ldr	r2, .L13+4
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L8
.L7:
	add	r6, r4, #4
	mov	r1, r6
	mov	r2, #1
	bl	enetc_set_cls_entry
	subs	r3, r0, #0
	bne	.L1
	ldm	r6, {r0, r1}
	mov	r6, #1
	ldr	ip, [r5]
	add	r2, r0, r0, lsl r6
	add	lr, ip, r2, lsl #2
	stmib	lr, {r0, r1}
	str	r6, [ip, r2, lsl #2]
	b	.L1
.L3:
	ldr	r0, [r0, #4]
	ldr	r2, [r4, #4]
	ldr	r3, [r0]
	cmp	r2, r3
	bcc	.L12
.L8:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r0, r3
	pop	{r4, r5, r6, pc}
.L12:
	mov	r2, #0
	add	r1, r4, #4
	bl	enetc_set_cls_entry
	subs	r3, r0, #0
	bne	.L1
	ldr	r2, [r4, #4]
	ldr	r1, [r5]
	add	r2, r2, r2, lsl #1
	mov	r0, r3
	str	r3, [r1, r2, lsl #2]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	EOPNOTSUPP
	.word	RX_CLS_FLOW_DISC
	.word	EINVAL
	.size	enetc_set_rxnfc, .-enetc_set_rxnfc
	.comm	RX_CLS_FLOW_DISC,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
