	.file	"extr_qlnxr_verbs.c_qlnxr_free_qp_resources.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enter\n"
.LC1:
	.string	"exit\n"
	.text
	.p2align 4
	.globl	qlnxr_free_qp_resources
	.type	qlnxr_free_qp_resources, @function
qlnxr_free_qp_resources:
.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
	lea	rsi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, r12
	call	QL_DPRINT12@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rsi, rbx
	mov	rdi, rbp
	test	rax, rax
	je	.L2
	cmp	QWORD PTR [rax], 0
	jne	.L16
.L2:
	call	qlnxr_cleanup_kernel@PLT
.L3:
	mov	rax, QWORD PTR IB_QPT_GSI[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L6
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, 4[rsp]
	call	ecore_rdma_destroy_qp@PLT
	test	eax, eax
	jne	.L1
.L6:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	QL_DPRINT12@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	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
.L16:
	.cfi_restore_state
	call	qlnxr_cleanup_user@PLT
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qlnxr_free_qp_resources, .-qlnxr_free_qp_resources
	.comm	IB_QPT_GSI,8,8
	.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_qlnxr_verbs.c_qlnxr_free_qp_resources.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enter\012\000"
	.align	2
.LC1:
	.ascii	"exit\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qlnxr_free_qp_resources
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlnxr_free_qp_resources, %function
qlnxr_free_qp_resources:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r6, [r0, #4]
	ldr	r3, .L21
	ldr	r1, .L21+4
	sub	sp, sp, #8
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	QL_DPRINT12
	ldr	r3, [r4, #8]
	mov	r1, r4
	cmp	r3, #0
	mov	r0, r5
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
.L2:
	bl	qlnxr_cleanup_kernel
.L3:
	ldr	r3, .L21+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	mov	r2, sp
	ldr	r1, [r4, #4]
	ldr	r0, [r5]
	bl	ecore_rdma_destroy_qp
	cmp	r0, #0
	bne	.L1
.L6:
	mov	r0, r6
	ldr	r1, .L21+12
	bl	QL_DPRINT12
	mov	r0, #0
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	bl	qlnxr_cleanup_user
	b	.L3
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	.LC0
	.word	IB_QPT_GSI
	.word	.LC1
	.size	qlnxr_free_qp_resources, .-qlnxr_free_qp_resources
	.comm	IB_QPT_GSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
