	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_iwarp_create_kernel_qp
_qedr_iwarp_create_kernel_qp:           ## @qedr_iwarp_create_kernel_qp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_QEDR_SQE_ELEMENT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QED_CHAIN_MODE_PBL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	callq	_QED_CHAIN_PAGE_CNT
	movq	%rax, 8(%rbx)
	movq	_QEDR_RQE_ELEMENT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movl	%r12d, %r15d
	movl	%r12d, %edi
	callq	_QED_CHAIN_PAGE_CNT
	movq	%rax, (%rbx)
	movq	8(%r13), %rax
	movl	(%r13), %edi
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rsi
	callq	*16(%rax)
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-64(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	8(%r13), %rax
	movq	8(%rax), %rax
	movl	16(%r13), %edi
	movq	_QED_CHAIN_USE_TO_PRODUCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_QED_CHAIN_MODE_PBL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_QED_CHAIN_CNT_TYPE_U32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_QEDR_SQE_ELEMENT_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	leaq	16(%r14), %rbx
	leaq	-56(%rbp), %r12
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	pushq	%r12
	pushq	%rbx
	callq	*(%rax)
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	-72(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	8(%r13), %rax
	movq	8(%rax), %rax
	movl	16(%r13), %edi
	movq	_QED_CHAIN_USE_TO_CONSUME_PRODUCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_QED_CHAIN_MODE_PBL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_QED_CHAIN_CNT_TYPE_U32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_QEDR_RQE_ELEMENT_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	leaq	12(%r14), %rbx
	movl	%r15d, %r8d
	pushq	%r12
	pushq	%rbx
	callq	*(%rax)
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	8(%r13), %rax
	movl	(%r13), %edi
	movl	(%r14), %esi
	callq	*(%rax)
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	movl	-76(%rbp), %eax
	movl	%eax, 8(%r14)
	movl	-80(%rbp), %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qedr_set_iwarp_db_info
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDR_SQE_ELEMENT_SIZE,4,2      ## @QEDR_SQE_ELEMENT_SIZE
	.comm	_QED_CHAIN_MODE_PBL,4,2         ## @QED_CHAIN_MODE_PBL
	.comm	_QEDR_RQE_ELEMENT_SIZE,4,2      ## @QEDR_RQE_ELEMENT_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_CHAIN_USE_TO_PRODUCE,4,2   ## @QED_CHAIN_USE_TO_PRODUCE
	.comm	_QED_CHAIN_CNT_TYPE_U32,4,2     ## @QED_CHAIN_CNT_TYPE_U32
	.comm	_QED_CHAIN_USE_TO_CONSUME_PRODUCE,4,2 ## @QED_CHAIN_USE_TO_CONSUME_PRODUCE
	.no_dead_strip	_qedr_iwarp_create_kernel_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_iwarp_create_kernel_qp
_qedr_iwarp_create_kernel_qp:           ; @qedr_iwarp_create_kernel_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _QEDR_SQE_ELEMENT_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _QEDR_SQE_ELEMENT_SIZE@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh2:
	adrp	x24, _QED_CHAIN_MODE_PBL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _QED_CHAIN_MODE_PBL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x3
	bl	_QED_CHAIN_PAGE_CNT
	str	x0, [x23, #8]
Lloh4:
	adrp	x25, _QEDR_RQE_ELEMENT_SIZE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _QEDR_RQE_ELEMENT_SIZE@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_QED_CHAIN_PAGE_CNT
	str	x0, [x23]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #16]
	ldr	w0, [x20]
	add	x2, sp, #8
	mov	x1, x23
	blr	x8
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	d0, [sp, #24]
	str	d0, [sp]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w0, [x20, #16]
Lloh6:
	adrp	x9, _QED_CHAIN_USE_TO_PRODUCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QED_CHAIN_USE_TO_PRODUCE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldr	w2, [x24]
Lloh9:
	adrp	x23, _QED_CHAIN_CNT_TYPE_U32@GOTPAGE
Lloh10:
	ldr	x23, [x23, _QED_CHAIN_CNT_TYPE_U32@GOTPAGEOFF]
	ldr	w3, [x23]
	ldr	w5, [x26]
	add	x6, x19, #16
	mov	x7, sp
	mov	x4, x22
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	d0, [sp, #16]
	str	d0, [sp]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _QED_CHAIN_USE_TO_CONSUME_PRODUCE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QED_CHAIN_USE_TO_CONSUME_PRODUCE@GOTPAGEOFF]
	ldr	w0, [x20, #16]
Lloh13:
	ldr	w1, [x9]
	ldr	w2, [x24]
	ldr	w3, [x23]
	ldr	w5, [x25]
	add	x6, x19, #12
	mov	x7, sp
	mov	x4, x21
	blr	x8
	mov	x22, x0
	cbz	w0, LBB0_5
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
	ldr	w1, [x19]
	blr	x8
	b	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_6
LBB0_5:
	ldr	d0, [sp, #8]
	stur	d0, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_set_iwarp_db_info
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDR_SQE_ELEMENT_SIZE,4,2      ; @QEDR_SQE_ELEMENT_SIZE
	.comm	_QED_CHAIN_MODE_PBL,4,2         ; @QED_CHAIN_MODE_PBL
	.comm	_QEDR_RQE_ELEMENT_SIZE,4,2      ; @QEDR_RQE_ELEMENT_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_CHAIN_USE_TO_PRODUCE,4,2   ; @QED_CHAIN_USE_TO_PRODUCE
	.comm	_QED_CHAIN_CNT_TYPE_U32,4,2     ; @QED_CHAIN_CNT_TYPE_U32
	.comm	_QED_CHAIN_USE_TO_CONSUME_PRODUCE,4,2 ; @QED_CHAIN_USE_TO_CONSUME_PRODUCE
	.no_dead_strip	_qedr_iwarp_create_kernel_qp
.subsections_via_symbols
