	.file	"extr_qdisc.c_nfp_abm_qdisc_offload_stop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Offload of '%08x' stopped\n"
	.text
	.p2align 4
	.type	nfp_abm_qdisc_offload_stop, @function
nfp_abm_qdisc_offload_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR 24[rsi], 0
	mov	rbx, rsi
	jne	.L14
.L2:
	mov	rdi, rbx
	call	nfp_abm_qdisc_is_red@PLT
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L1
	mov	rdx, QWORD PTR 8[rbx]
	lea	ecx, -1[rax]
	sal	rcx, 4
	lea	rax, 16[rdx]
	add	rcx, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	add	rax, 16
.L4:
	mov	QWORD PTR 8[rdx], 0
	mov	QWORD PTR [rdx], 0
	mov	rdx, rax
	cmp	rax, rcx
	jne	.L15
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	edx, DWORD PTR 16[rsi]
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	nfp_warn@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nfp_abm_qdisc_offload_stop, .-nfp_abm_qdisc_offload_stop
	.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_offload_stop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Offload of '%08x' stopped\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_abm_qdisc_offload_stop, %function
nfp_abm_qdisc_offload_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #12]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r1
	bne	.L17
.L2:
	mov	r0, r4
	bl	nfp_abm_qdisc_is_red
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, pc}
	mov	r2, #0
	ldr	r3, [r4, #4]
	add	r1, r3, r0, lsl #3
.L4:
	str	r2, [r3, #4]
	str	r2, [r3], #8
	cmp	r3, r1
	bne	.L4
	pop	{r4, pc}
.L17:
	ldr	r3, [r0]
	ldr	r2, [r1, #8]
	ldr	r3, [r3]
	ldr	r1, .L18
	ldr	r0, [r3]
	bl	nfp_warn
	b	.L2
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	nfp_abm_qdisc_offload_stop, .-nfp_abm_qdisc_offload_stop
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
