	.file	"extr_cxio_hal.c_cxio_destroy_cq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cxio_destroy_cq
	.type	cxio_destroy_cq, @function
cxio_destroy_cq:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, DWORD PTR 8[rsi]
	call	cxio_hal_clear_cq_ctx@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	r12d, eax
	call	kfree@PLT
	mov	esi, DWORD PTR mapping[rip]
	mov	rdi, rbx
	call	pci_unmap_addr@PLT
	mov	rcx, QWORD PTR [rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, 4
	mov	rdi, QWORD PTR 8[rbp]
	sal	rsi, cl
	mov	ecx, eax
	call	dma_free_coherent@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 0[rbp]
	call	cxio_hal_put_cqid@PLT
	mov	eax, r12d
	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	cxio_destroy_cq, .-cxio_destroy_cq
	.comm	mapping,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_cxio_hal.c_cxio_destroy_cq.c"
	.text
	.align	2
	.global	cxio_destroy_cq
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxio_destroy_cq, %function
cxio_destroy_cq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	ldr	r1, [r1, #4]
	mov	r5, r0
	bl	cxio_hal_clear_cq_ctx
	mov	r7, #4
	mov	r6, r0
	ldr	r0, [r4, #12]
	bl	kfree
	ldr	r3, .L4
	ldr	r2, [r4]
	ldr	r1, [r3]
	mov	r0, r4
	lsl	r7, r7, r2
	ldr	r8, [r5, #4]
	ldr	r9, [r4, #8]
	bl	pci_unmap_addr
	mov	r2, r9
	mov	r3, r0
	mov	r1, r7
	mov	r0, r8
	bl	dma_free_coherent
	ldr	r1, [r4, #4]
	ldr	r0, [r5]
	bl	cxio_hal_put_cqid
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	.align	2
.L4:
	.word	mapping
	.size	cxio_destroy_cq, .-cxio_destroy_cq
	.comm	mapping,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
