	.file	"extr_qed_rdma.c_qed_rdma_alloc_tid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Allocate TID\n"
.LC1:
	.string	"Allocate TID - done, rc = %d\n"
	.text
	.p2align 4
	.type	qed_rdma_alloc_tid, @function
qed_rdma_alloc_tid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdx, .LC0[rip]
	xor	eax, eax
	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 QED_MSG_RDMA[rip]
	call	DP_VERBOSE@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	spin_lock_bh@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	rdx, rbx
	lea	rsi, 4[rax]
	call	qed_rdma_bmap_alloc_id@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12d, eax
	call	spin_unlock_bh@PLT
	test	r12d, r12d
	jne	.L2
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR QED_ELEM_TASK[rip]
	mov	rdi, rbp
	call	qed_cxt_dynamic_ilt_alloc@PLT
	mov	r12d, eax
.L2:
	mov	esi, DWORD PTR QED_MSG_RDMA[rip]
	mov	ecx, r12d
	mov	rdi, rbp
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	DP_VERBOSE@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	qed_rdma_alloc_tid, .-qed_rdma_alloc_tid
	.comm	QED_MSG_RDMA,4,4
	.comm	QED_ELEM_TASK,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_qed_rdma.c_qed_rdma_alloc_tid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Allocate TID\012\000"
	.align	2
.LC1:
	.ascii	"Allocate TID - done, rc = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qed_rdma_alloc_tid, %function
qed_rdma_alloc_tid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	ldr	r7, .L5
	ldr	r2, .L5+4
	ldr	r1, [r7]
	bl	DP_VERBOSE
	ldr	r0, [r4]
	bl	spin_lock_bh
	ldr	r1, [r4]
	mov	r2, r6
	add	r1, r1, #4
	mov	r0, r4
	bl	qed_rdma_bmap_alloc_id
	mov	r5, r0
	ldr	r0, [r4]
	bl	spin_unlock_bh
	cmp	r5, #0
	bne	.L2
	ldr	r3, .L5+8
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, [r3]
	bl	qed_cxt_dynamic_ilt_alloc
	mov	r5, r0
.L2:
	mov	r0, r4
	mov	r3, r5
	ldr	r1, [r7]
	ldr	r2, .L5+12
	bl	DP_VERBOSE
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	QED_MSG_RDMA
	.word	.LC0
	.word	QED_ELEM_TASK
	.word	.LC1
	.size	qed_rdma_alloc_tid, .-qed_rdma_alloc_tid
	.comm	QED_MSG_RDMA,4,4
	.comm	QED_ELEM_TASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
