	.file	"extr_verbs.c_qedr_destroy_srq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"destroy srq: destroyed srq with srq_id=0x%0x\n"
	.text
	.p2align 4
	.globl	qedr_destroy_srq
	.type	qedr_destroy_srq, @function
qedr_destroy_srq:
.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
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	get_qedr_dev@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	get_qedr_srq@PLT
	lea	rdi, 16[rbp]
	mov	esi, DWORD PTR [rax]
	mov	rbx, rax
	call	xa_erase_irq@PLT
	mov	eax, DWORD PTR [rbx]
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, 4[rsp]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 8[rbp]
	call	[QWORD PTR [rax]]
	cmp	QWORD PTR [r12], 0
	mov	rdi, rbx
	je	.L2
	call	qedr_free_srq_user_params@PLT
.L3:
	mov	ecx, DWORD PTR [rbx]
	mov	esi, DWORD PTR QEDR_MSG_SRQ[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	DP_DEBUG@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	qedr_free_srq_kernel_params@PLT
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qedr_destroy_srq, .-qedr_destroy_srq
	.comm	QEDR_MSG_SRQ,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_verbs.c_qedr_destroy_srq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"destroy srq: destroyed srq with srq_id=0x%0x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qedr_destroy_srq
	.syntax unified
	.arm
	.fpu softvfp
	.type	qedr_destroy_srq, %function
qedr_destroy_srq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L8
	sub	sp, sp, #8
	mov	r6, r0
	ldr	r0, [r0, #4]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	bl	get_qedr_dev
	mov	r4, r0
	mov	r0, r6
	bl	get_qedr_srq
	mov	r5, r0
	add	r0, r4, #8
	ldr	r1, [r5]
	bl	xa_erase_irq
	ldr	r2, [r5]
	ldr	r3, [r4, #4]
	mov	r1, sp
	ldr	r3, [r3]
	ldr	r0, [r4]
	str	r2, [sp]
	blx	r3
	ldr	r3, [r6]
	mov	r0, r5
	cmp	r3, #0
	beq	.L2
	bl	qedr_free_srq_user_params
.L3:
	ldr	r2, .L8+4
	ldr	r3, [r5]
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L8+8
	bl	DP_DEBUG
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	bl	qedr_free_srq_kernel_params
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	QEDR_MSG_SRQ
	.word	.LC0
	.size	qedr_destroy_srq, .-qedr_destroy_srq
	.comm	QEDR_MSG_SRQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
