	.file	"extr_sch_api.c_qdisc_offload_dump_helper.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qdisc_offload_dump_helper
	.type	qdisc_offload_dump_helper, @function
qdisc_offload_dump_helper:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	qdisc_dev@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR TCQ_F_OFFLOADED[rip]
	mov	rdi, rbp
	not	eax
	and	DWORD PTR [rbx], eax
	call	tc_can_offload@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	rdx, r13
	mov	esi, r12d
	mov	rdi, rbp
	call	rax
	mov	ecx, eax
	add	ecx, DWORD PTR EOPNOTSUPP[rip]
	je	.L4
	test	eax, eax
	jne	.L1
	mov	edx, DWORD PTR TCQ_F_OFFLOADED[rip]
	or	DWORD PTR [rbx], edx
	add	rsp, 8
	.cfi_remember_state
	.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
.L4:
	.cfi_restore_state
	xor	eax, eax
.L1:
	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
	.cfi_endproc
.LFE0:
	.size	qdisc_offload_dump_helper, .-qdisc_offload_dump_helper
	.comm	TCQ_F_OFFLOADED,4,4
	.comm	EOPNOTSUPP,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_api.c_qdisc_offload_dump_helper.c"
	.text
	.align	2
	.global	qdisc_offload_dump_helper
	.syntax unified
	.arm
	.fpu softvfp
	.type	qdisc_offload_dump_helper, %function
qdisc_offload_dump_helper:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r7, r2
	bl	qdisc_dev
	ldr	r8, .L10
	ldr	r3, [r4]
	ldr	r2, [r8]
	mov	r5, r0
	bic	r3, r3, r2
	str	r3, [r4]
	bl	tc_can_offload
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r5]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	blx	r3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L4
	cmp	r0, #0
	ldreq	r2, [r8]
	ldreq	r3, [r4]
	orreq	r3, r3, r2
	streq	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	TCQ_F_OFFLOADED
	.word	EOPNOTSUPP
	.size	qdisc_offload_dump_helper, .-qdisc_offload_dump_helper
	.comm	TCQ_F_OFFLOADED,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
