	.file	"extr_dpaa2-ethtool.c_update_cls_rule.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	update_cls_rule, @function
update_cls_rule:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	netdev_priv@PLT
	mov	edx, DWORD PTR 16[rax]
	test	edx, edx
	jne	.L2
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rax
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	rbx, rax
	call	dpaa2_eth_fs_count@PLT
	cmp	eax, r14d
	jle	.L14
	mov	rax, QWORD PTR 8[rbx]
	movsx	rdx, r14d
	neg	r12d
	lea	r14, [rax+rdx*8]
	mov	eax, DWORD PTR [r14]
	test	eax, eax
	jne	.L15
.L6:
	test	rbp, rbp
	je	.L1
	mov	edx, 1
	mov	rsi, rbp
	mov	rdi, r13
	call	do_cls_rule@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR [r14], 1
	mov	DWORD PTR 4[r14], eax
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rsi, 4[r14]
	xor	edx, edx
	mov	rdi, r13
	call	do_cls_rule@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	DWORD PTR [r14], 0
	mov	rdi, rbx
	call	dpaa2_eth_fs_mask_enabled@PLT
	test	eax, eax
	jne	.L6
	mov	rdi, rbx
	call	num_rules@PLT
	test	eax, eax
	jne	.L6
	mov	QWORD PTR [rbx], 0
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	update_cls_rule, .-update_cls_rule
	.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_dpaa2-ethtool.c_update_cls_rule.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_cls_rule, %function
update_cls_rule:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r5, r2
	mov	r7, r0
	bl	netdev_priv
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L16
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r8, .L16+4
	mov	r10, r0
	ldr	r4, [r8]
	bl	dpaa2_eth_fs_count
	cmp	r0, r5
	ble	.L14
	ldr	r9, [r10, #4]
	ldr	r3, [r9, r5, lsl #3]
	add	r8, r9, r5, lsl #3
	cmp	r3, #0
	rsbeq	r4, r4, #0
	bne	.L15
.L6:
	cmp	r6, #0
	beq	.L1
	mov	r2, #1
	mov	r0, r7
	mov	r1, r6
	bl	do_cls_rule
	subs	r4, r0, #0
	moveq	r2, #1
	ldreq	r3, [r6]
	mov	r0, r4
	streq	r2, [r9, r5, lsl #3]
	streq	r3, [r8, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r4, [r8]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r2, #0
	mov	r0, r7
	add	r1, r8, #4
	bl	do_cls_rule
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r10
	str	r4, [r9, r5, lsl #3]
	bl	dpaa2_eth_fs_mask_enabled
	cmp	r0, #0
	bne	.L6
	mov	r0, r10
	bl	num_rules
	cmp	r0, #0
	streq	r4, [r10]
	b	.L6
.L17:
	.align	2
.L16:
	.word	EOPNOTSUPP
	.word	EINVAL
	.size	update_cls_rule, .-update_cls_rule
	.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
