	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_iwarp_alloc                ## -- Begin function qed_iwarp_alloc
	.p2align	4, 0x90
_qed_iwarp_alloc:                       ## @qed_iwarp_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	addq	$8, %rsi
	movq	_QED_IWARP_PREALLOC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_qed_rdma_bmap_alloc
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_DP_VERBOSE
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r14), %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_qed_iwarp_prealloc_ep
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qed_ooo_alloc                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_IWARP_PREALLOC_CNT,4,2     ## @QED_IWARP_PREALLOC_CNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TCP_CID"

	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate tcp cid, rc = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_iwarp_alloc                ; -- Begin function qed_iwarp_alloc
	.p2align	2
_qed_iwarp_alloc:                       ; @qed_iwarp_alloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	add	x1, x8, #8
Lloh0:
	adrp	x8, _QED_IWARP_PREALLOC_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_IWARP_PREALLOC_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	bl	_qed_rdma_bmap_alloc
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_DP_VERBOSE
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_INIT_LIST_HEAD
	ldr	x0, [x19]
	bl	_spin_lock_init
	mov	x0, x19
	mov	w1, #1
	bl	_qed_iwarp_prealloc_ep
	mov	x20, x0
	cbz	w0, LBB0_4
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qed_ooo_alloc
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_IWARP_PREALLOC_CNT,4,2     ; @QED_IWARP_PREALLOC_CNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TCP_CID"

	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate tcp cid, rc = %d\n"

.subsections_via_symbols
