	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_create_qp
_isert_create_qp:                       ## @isert_create_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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_isert_qp_event_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rbx, -48(%rbp)
	movl	(%r15), %eax
	movl	%eax, -52(%rbp)
	movl	%eax, -56(%rbp)
	movq	_ISERT_QP_MAX_REQ_DTOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, -64(%rbp)
	movq	_ISERT_QP_MAX_RECV_DTOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, -72(%rbp)
	movq	_ISCSI_DEF_XMIT_CMDS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	16(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movl	$1, -88(%rbp)
	movq	_IB_SIGNAL_REQ_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	cmpq	$0, 8(%r12)
	je	LBB0_2
## %bb.1:
	movq	_IB_QP_CREATE_INTEGRITY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -104(%rbp)
LBB0_2:
	movl	(%r12), %esi
	leaq	-104(%rbp), %rdx
	movq	%r14, %rdi
	callq	_rdma_create_qp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_isert_err
	movl	%ebx, %edi
	callq	_ERR_PTR
	jmp	LBB0_5
LBB0_4:
	movq	(%r14), %rax
LBB0_5:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isert_qp_event_callback,4,2    ## @isert_qp_event_callback
	.comm	_ISERT_QP_MAX_REQ_DTOS,8,3      ## @ISERT_QP_MAX_REQ_DTOS
	.comm	_ISERT_QP_MAX_RECV_DTOS,8,3     ## @ISERT_QP_MAX_RECV_DTOS
	.comm	_ISCSI_DEF_XMIT_CMDS_MAX,4,2    ## @ISCSI_DEF_XMIT_CMDS_MAX
	.comm	_IB_SIGNAL_REQ_WR,4,2           ## @IB_SIGNAL_REQ_WR
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_IB_QP_CREATE_INTEGRITY_EN,4,2  ## @IB_QP_CREATE_INTEGRITY_EN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rdma_create_qp failed for cma_id %d\n"

	.no_dead_strip	_isert_create_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_create_qp
_isert_create_qp:                       ; @isert_create_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh0:
	adrp	x8, _isert_qp_event_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isert_qp_event_callback@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	str	x21, [sp, #64]
	ldr	w8, [x20]
	stp	w8, w8, [sp, #56]
Lloh3:
	adrp	x8, _ISERT_QP_MAX_REQ_DTOS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISERT_QP_MAX_REQ_DTOS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, #1
Lloh6:
	adrp	x9, _ISERT_QP_MAX_RECV_DTOS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISERT_QP_MAX_RECV_DTOS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x9, x9, #1
	stp	x9, x8, [sp, #40]
Lloh9:
	adrp	x8, _ISCSI_DEF_XMIT_CMDS_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISCSI_DEF_XMIT_CMDS_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #24]
Lloh12:
	adrp	x8, _IB_SIGNAL_REQ_WR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_SIGNAL_REQ_WR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #12]
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _IB_QP_CREATE_INTEGRITY_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_QP_CREATE_INTEGRITY_EN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
LBB0_2:
	ldr	w1, [x22]
	add	x2, sp, #8
	mov	x0, x19
	bl	_rdma_create_qp
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_isert_err
	mov	x0, x20
	bl	_ERR_PTR
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_isert_qp_event_callback,4,2    ; @isert_qp_event_callback
	.comm	_ISERT_QP_MAX_REQ_DTOS,8,3      ; @ISERT_QP_MAX_REQ_DTOS
	.comm	_ISERT_QP_MAX_RECV_DTOS,8,3     ; @ISERT_QP_MAX_RECV_DTOS
	.comm	_ISCSI_DEF_XMIT_CMDS_MAX,4,2    ; @ISCSI_DEF_XMIT_CMDS_MAX
	.comm	_IB_SIGNAL_REQ_WR,4,2           ; @IB_SIGNAL_REQ_WR
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_IB_QP_CREATE_INTEGRITY_EN,4,2  ; @IB_QP_CREATE_INTEGRITY_EN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rdma_create_qp failed for cma_id %d\n"

	.no_dead_strip	_isert_create_qp
.subsections_via_symbols
