	.file	"extr_qdisc.c_nfp_abm_qdisc_unlink_children.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nfp_abm_qdisc_unlink_children, @function
nfp_abm_qdisc_unlink_children:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, edx
	jnb	.L10
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sal	rbp, 3
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, ebx
	mov	rdi, r12
	call	nfp_abm_qdisc_child_valid@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR [r12]
	add	rax, rbp
	mov	rdx, QWORD PTR [rax]
	sub	DWORD PTR [rdx], 1
	mov	QWORD PTR [rax], 0
.L3:
	add	ebx, 1
	add	rbp, 8
	cmp	r13d, ebx
	jne	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	nfp_abm_qdisc_unlink_children, .-nfp_abm_qdisc_unlink_children
	.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_qdisc.c_nfp_abm_qdisc_unlink_children.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_abm_qdisc_unlink_children, %function
nfp_abm_qdisc_unlink_children:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, r2
	bxcs	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r6, r2
	mov	r5, r0
	mov	r7, #0
.L4:
	mov	r1, r4
	mov	r0, r5
	bl	nfp_abm_qdisc_child_valid
	cmp	r0, #0
	beq	.L3
	ldr	r1, [r5]
	ldr	r2, [r1, r4, lsl #2]
	ldr	r3, [r2]
	sub	r3, r3, #1
	str	r3, [r2]
	str	r7, [r1, r4, lsl #2]
.L3:
	add	r4, r4, #1
	cmp	r6, r4
	bne	.L4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	nfp_abm_qdisc_unlink_children, .-nfp_abm_qdisc_unlink_children
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
