	.file	"extr_pktsched_qfq.c_qfq_teardown_ifclassq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qfq_teardown_ifclassq
	.type	qfq_teardown_ifclassq, @function
qfq_teardown_ifclassq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR 16[rdi]
	call	IFCQ_LOCK_ASSERT_HELD@PLT
	xor	edi, edi
	test	r12, r12
	je	.L2
	xor	edi, edi
	mov	rax, QWORD PTR PKTSCHEDT_QFQ[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
.L2:
	call	VERIFY@PLT
	mov	rdi, r12
	call	qfq_destroy_locked@PLT
	mov	edx, DWORD PTR IFCQ_SC_MAX[rip]
	mov	QWORD PTR 16[rbp], 0
	test	edx, edx
	jle	.L3
	mov	rax, QWORD PTR 8[rbp]
	lea	ecx, -1[rdx]
	sal	rcx, 4
	add	rcx, rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, rax
	mov	QWORD PTR 8[rax], 0
	add	rax, 16
	mov	QWORD PTR -16[rax], 0
	cmp	rdx, rcx
	jne	.L4
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ifclassq_detach@PLT
	.cfi_endproc
.LFE0:
	.size	qfq_teardown_ifclassq, .-qfq_teardown_ifclassq
	.comm	PKTSCHEDT_QFQ,8,8
	.comm	IFCQ_SC_MAX,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_pktsched_qfq.c_qfq_teardown_ifclassq.c"
	.text
	.align	2
	.global	qfq_teardown_ifclassq
	.syntax unified
	.arm
	.fpu softvfp
	.type	qfq_teardown_ifclassq, %function
qfq_teardown_ifclassq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #8]
	mov	r4, r0
	bl	IFCQ_LOCK_ASSERT_HELD
	cmp	r5, #0
	ldrne	r3, .L9
	ldrne	r0, [r4]
	ldrne	r3, [r3]
	moveq	r0, r5
	subne	r0, r0, r3
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	VERIFY
	mov	r0, r5
	bl	qfq_destroy_locked
	mov	r2, #0
	ldr	r3, .L9+4
	str	r2, [r4, #8]
	ldr	r1, [r3]
	cmp	r1, r2
	ble	.L3
	ldr	r3, [r4, #4]
	add	r1, r3, r1, lsl #3
.L4:
	str	r2, [r3, #4]
	str	r2, [r3], #8
	cmp	r3, r1
	bne	.L4
.L3:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ifclassq_detach
.L10:
	.align	2
.L9:
	.word	PKTSCHEDT_QFQ
	.word	IFCQ_SC_MAX
	.size	qfq_teardown_ifclassq, .-qfq_teardown_ifclassq
	.comm	PKTSCHEDT_QFQ,4,4
	.comm	IFCQ_SC_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
