	.file	"extr_ena.c_ena_destroy_all_io_queues.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ena_destroy_all_io_queues, @function
ena_destroy_all_io_queues:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[r13]
	lea	rbx, [rax+r12*8]
	lea	rbp, 4[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	call	taskqueue_drain@PLT
.L3:
	mov	edi, DWORD PTR [rbx]
	xor	edx, edx
	mov	rsi, rbp
	call	taskqueue_cancel@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR [rbx]
	add	r12, 1
	call	taskqueue_free@PLT
	cmp	DWORD PTR 0[r13], r12d
	jg	.L2
.L5:
	mov	rdi, r13
	call	ena_destroy_all_tx_queues@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	ena_destroy_all_rx_queues@PLT
	.cfi_endproc
.LFE0:
	.size	ena_destroy_all_io_queues, .-ena_destroy_all_io_queues
	.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_ena.c_ena_destroy_all_io_queues.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ena_destroy_all_io_queues, %function
ena_destroy_all_io_queues:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #0
	mov	r8, r0
	movgt	r6, #0
	ble	.L5
.L2:
	ldr	r7, [r8, #4]
	lsl	r9, r6, #3
	add	r4, r7, r6, lsl #3
	add	r5, r4, #4
	b	.L3
.L4:
	mov	r1, r5
	ldr	r0, [r4]
	bl	taskqueue_drain
.L3:
	mov	r2, #0
	mov	r1, r5
	ldr	r0, [r4]
	bl	taskqueue_cancel
	cmp	r0, #0
	bne	.L4
	ldr	r0, [r7, r9]
	bl	taskqueue_free
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	bgt	.L2
.L5:
	mov	r0, r8
	bl	ena_destroy_all_tx_queues
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	ena_destroy_all_rx_queues
	.size	ena_destroy_all_io_queues, .-ena_destroy_all_io_queues
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
