	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_rdma_alloc_tid
_qed_rdma_alloc_tid:                    ## @qed_rdma_alloc_tid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	movq	(%rbx), %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_qed_rdma_bmap_alloc_id
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_spin_unlock_bh
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	movq	_QED_ELEM_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_qed_cxt_dynamic_ilt_alloc
	movl	%eax, %r15d
LBB0_2:
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Allocate TID\n"

	.comm	_QED_ELEM_TASK,4,2              ## @QED_ELEM_TASK
L_.str.1:                               ## @.str.1
	.asciz	"Allocate TID - done, rc = %d\n"

	.no_dead_strip	_qed_rdma_alloc_tid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_rdma_alloc_tid
_qed_rdma_alloc_tid:                    ; @qed_rdma_alloc_tid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _QED_MSG_RDMA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QED_MSG_RDMA@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
	ldr	x0, [x19]
	bl	_spin_lock_bh
	ldr	x8, [x19]
	add	x1, x8, #4
	mov	x0, x19
	mov	x2, x20
	bl	_qed_rdma_bmap_alloc_id
	mov	x21, x0
	ldr	x0, [x19]
	bl	_spin_unlock_bh
	cbnz	w21, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _QED_ELEM_TASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QED_ELEM_TASK@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_qed_cxt_dynamic_ilt_alloc
	mov	x21, x0
LBB0_2:
	ldr	w1, [x22]
	str	x21, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Allocate TID\n"

	.comm	_QED_ELEM_TASK,4,2              ; @QED_ELEM_TASK
l_.str.1:                               ; @.str.1
	.asciz	"Allocate TID - done, rc = %d\n"

	.no_dead_strip	_qed_rdma_alloc_tid
.subsections_via_symbols
