	.file	"extr_sch_taprio.c_taprio_destroy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	taprio_destroy, @function
taprio_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	qdisc_priv@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	qdisc_dev@PLT
	lea	rdi, taprio_list_lock[rip]
	mov	r12, rax
	call	spin_lock@PLT
	lea	rdi, 28[rbp]
	call	list_del@PLT
	lea	rdi, taprio_list_lock[rip]
	call	spin_unlock@PLT
	lea	rdi, 24[rbp]
	call	hrtimer_cancel@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r12
	call	taprio_disable_offload@PLT
	mov	r8, QWORD PTR 16[rbp]
	test	r8, r8
	je	.L2
	mov	eax, DWORD PTR [r12]
	xor	ebx, ebx
	test	eax, eax
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	call	qdisc_put@PLT
	add	ebx, 1
	cmp	DWORD PTR [r12], ebx
	mov	r8, QWORD PTR 16[rbp]
	jbe	.L4
.L3:
	mov	eax, ebx
	mov	rdi, QWORD PTR [r8+rax*8]
	test	rdi, rdi
	jne	.L6
.L4:
	mov	rdi, r8
	call	kfree@PLT
.L2:
	mov	QWORD PTR 16[rbp], 0
	mov	rdi, r12
	xor	esi, esi
	call	netdev_set_num_tc@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L7
	mov	esi, DWORD PTR taprio_free_sched_cb[rip]
	call	call_rcu@PLT
.L7:
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L1
	mov	esi, DWORD PTR taprio_free_sched_cb[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	call_rcu@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	taprio_destroy, .-taprio_destroy
	.comm	taprio_list_lock,4,4
	.comm	taprio_free_sched_cb,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_sch_taprio.c_taprio_destroy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	taprio_destroy, %function
taprio_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	qdisc_priv
	mov	r5, r0
	mov	r0, r4
	bl	qdisc_dev
	mov	r6, r0
	ldr	r0, .L18
	bl	spin_lock
	add	r0, r5, #16
	bl	list_del
	ldr	r0, .L18
	bl	spin_unlock
	add	r0, r5, #12
	bl	hrtimer_cancel
	mov	r1, r5
	mov	r0, r6
	mov	r2, #0
	bl	taprio_disable_offload
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r6]
	cmp	r2, #0
	movne	r4, #0
	bne	.L3
	b	.L4
.L6:
	bl	qdisc_put
	ldr	r3, [r6]
	cmp	r3, r4
	ldr	r3, [r5, #8]
	bls	.L4
.L3:
	ldr	r0, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r0, #0
	bne	.L6
.L4:
	mov	r0, r3
	bl	kfree
.L2:
	mov	r1, #0
	mov	r0, r6
	str	r1, [r5, #8]
	bl	netdev_set_num_tc
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L7
	ldr	r3, .L18+4
	ldr	r1, [r3]
	bl	call_rcu
.L7:
	ldr	r0, [r5]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L18+4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	call_rcu
.L19:
	.align	2
.L18:
	.word	taprio_list_lock
	.word	taprio_free_sched_cb
	.size	taprio_destroy, .-taprio_destroy
	.comm	taprio_list_lock,4,4
	.comm	taprio_free_sched_cb,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
