	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_qp_user              ## -- Begin function ib_create_qp_user
	.p2align	4, 0x90
_ib_create_qp_user:                     ## @ib_create_qp_user
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	8(%r12), %rax
	jmp	LBB0_3
LBB0_2:
	movq	88(%rbx), %rax
LBB0_3:
	movq	(%rax), %r15
	cmpq	$0, 48(%rbx)
	je	LBB0_10
## %bb.4:
	cmpq	$0, 72(%rbx)
	jne	LBB0_8
## %bb.5:
	cmpq	$0, 64(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 40(%rbx)
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 32(%rbx)
	jne	LBB0_8
LBB0_10:
	movq	_IB_QP_CREATE_INTEGRITY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_12
## %bb.11:
	movq	_IB_DEVICE_INTEGRITY_HANDOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_8
LBB0_12:
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rdma_rw_init_qp
LBB0_14:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	__ib_create_qp
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
LBB0_33:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_15:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ib_create_qp_security
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_16
LBB0_35:
	movq	%r14, %rdi
	callq	_ib_destroy_qp
	movl	%r13d, %edi
	jmp	LBB0_9
LBB0_16:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	48(%rbx), %rax
	movq	%rax, 24(%r14)
	leaq	104(%r14), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	$0, 96(%r14)
	leaq	88(%r14), %rdi
	callq	_spin_lock_init
	leaq	84(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	addq	$80, %rdi
	callq	_INIT_LIST_HEAD
	movq	$0, 72(%r14)
	movq	8(%rbx), %rax
	movq	_IB_QPT_XRC_TGT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.17:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_create_xrc_qp_user
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.34:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_35
LBB0_19:
	movl	84(%rbx), %ecx
	movl	%ecx, 68(%r14)
	movl	80(%rbx), %ecx
	movl	%ecx, 64(%r14)
	movq	_IB_QPT_XRC_INI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r14)
	jmp	LBB0_25
LBB0_21:
	movq	72(%rbx), %rdi
	movq	%rdi, 56(%r14)
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_atomic_inc
LBB0_23:
	movq	64(%rbx), %rdi
	movq	%rdi, 48(%r14)
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_atomic_inc
LBB0_25:
	movq	56(%rbx), %rax
	movq	%rax, 40(%r14)
	movq	$0, 32(%r14)
	movq	%r12, %rdi
	callq	_atomic_inc
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	callq	_atomic_inc
LBB0_27:
	cmpq	$0, 48(%rbx)
	je	LBB0_29
## %bb.28:
	movq	24(%r14), %rdi
	callq	_atomic_inc
LBB0_29:
	cmpq	$0, 24(%rbx)
	je	LBB0_31
## %bb.30:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rdma_rw_init_mrs
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_35
LBB0_31:
	movl	16(%rbx), %esi
	movl	%esi, 16(%r14)
	movq	_u32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %edx
	callq	_min_t
	movl	%eax, 12(%r14)
	movq	_IB_QP_CREATE_INTEGRITY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_33
## %bb.32:
	movl	$1, 8(%r14)
	jmp	LBB0_33
LBB0_18:
	movq	%rbx, %r14
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_QP_CREATE_INTEGRITY_EN,4,2  ## @IB_QP_CREATE_INTEGRITY_EN
	.comm	_IB_DEVICE_INTEGRITY_HANDOVER,4,2 ## @IB_DEVICE_INTEGRITY_HANDOVER
	.comm	_IB_QPT_XRC_TGT,8,3             ## @IB_QPT_XRC_TGT
	.comm	_IB_QPT_XRC_INI,8,3             ## @IB_QPT_XRC_INI
	.comm	_u32,4,2                        ## @u32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_qp_user              ; -- Begin function ib_create_qp_user
	.p2align	2
_ib_create_qp_user:                     ; @ib_create_qp_user
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x19, x1
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x22, #8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #88]
LBB0_3:
	ldr	x20, [x8]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_14
; %bb.5:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_14
; %bb.6:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_14
; %bb.7:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_14
LBB0_8:
	ldr	w8, [x19]
Lloh0:
	adrp	x25, _IB_QP_CREATE_INTEGRITY_EN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IB_QP_CREATE_INTEGRITY_EN@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _IB_DEVICE_INTEGRITY_HANDOVER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_DEVICE_INTEGRITY_HANDOVER@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_rdma_rw_init_qp
LBB0_12:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
	bl	__ib_create_qp
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_16
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_16:
	mov	x0, x21
	mov	x1, x20
	bl	_ib_create_qp_security
	mov	x24, x0
	cbz	w0, LBB0_18
LBB0_17:
	mov	x0, x21
	bl	_ib_destroy_qp
	mov	x0, x24
	b	LBB0_15
LBB0_18:
	ldr	x8, [x19, #8]
	str	x8, [x21]
	ldr	x8, [x19, #48]
	str	x8, [x21, #24]
	add	x0, x21, #104
	mov	w1, #0
	bl	_atomic_set
	str	xzr, [x21, #96]
	add	x0, x21, #88
	bl	_spin_lock_init
	add	x0, x21, #84
	bl	_INIT_LIST_HEAD
	add	x0, x21, #80
	bl	_INIT_LIST_HEAD
	str	xzr, [x21, #72]
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _IB_QPT_XRC_TGT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_QPT_XRC_TGT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.19:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_create_xrc_qp_user
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_35
; %bb.20:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_17
LBB0_21:
	ldr	d0, [x19, #80]
	str	d0, [x21, #64]
Lloh11:
	adrp	x9, _IB_QPT_XRC_INI@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_QPT_XRC_INI@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	stp	xzr, xzr, [x21, #48]
	b	LBB0_27
LBB0_23:
	ldr	x0, [x19, #72]
	str	x0, [x21, #56]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_atomic_inc
LBB0_25:
	ldr	x0, [x19, #64]
	str	x0, [x21, #48]
	cbz	x0, LBB0_27
; %bb.26:
	bl	_atomic_inc
LBB0_27:
	ldr	x8, [x19, #56]
	stp	xzr, x8, [x21, #32]
	mov	x0, x22
	bl	_atomic_inc
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_atomic_inc
LBB0_29:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	x0, [x21, #24]
	bl	_atomic_inc
LBB0_31:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_33
; %bb.32:
	mov	x0, x21
	mov	x1, x19
	bl	_rdma_rw_init_mrs
	mov	x24, x0
	cbnz	w0, LBB0_17
LBB0_33:
	ldr	w1, [x19, #16]
	str	w1, [x21, #16]
Lloh14:
	adrp	x8, _u32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _u32@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w2, [x20, #4]
	bl	_min_t
	str	w0, [x21, #12]
	ldr	w8, [x19]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.34:
	mov	w8, #1
	str	w8, [x21, #8]
	b	LBB0_13
LBB0_35:
	mov	x21, x19
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_QP_CREATE_INTEGRITY_EN,4,2  ; @IB_QP_CREATE_INTEGRITY_EN
	.comm	_IB_DEVICE_INTEGRITY_HANDOVER,4,2 ; @IB_DEVICE_INTEGRITY_HANDOVER
	.comm	_IB_QPT_XRC_TGT,8,3             ; @IB_QPT_XRC_TGT
	.comm	_IB_QPT_XRC_INI,8,3             ; @IB_QPT_XRC_INI
	.comm	_u32,4,2                        ; @u32
.subsections_via_symbols
