	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_init_conn_qp3
_ucma_init_conn_qp3:                    ## @ucma_init_conn_qp3
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	leaq	-24(%rbp), %rcx
	callq	_ucma_find_pkey
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, -28(%rbp)
	movq	_IBV_QP_STATE@GOTPCREL(%rip), %rax
	movq	_IBV_QP_ACCESS_FLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_IBV_QPS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_IBV_QP_PKEY_INDEX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	$0, -40(%rbp)
	movq	_IBV_QP_PORT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ibv_modify_qp
	movl	%eax, %edi
	callq	_rdma_seterrno
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_QPS_INIT,4,2               ## @IBV_QPS_INIT
	.comm	_IBV_QP_STATE,4,2               ## @IBV_QP_STATE
	.comm	_IBV_QP_ACCESS_FLAGS,4,2        ## @IBV_QP_ACCESS_FLAGS
	.comm	_IBV_QP_PKEY_INDEX,4,2          ## @IBV_QP_PKEY_INDEX
	.comm	_IBV_QP_PORT,4,2                ## @IBV_QP_PORT
	.no_dead_strip	_ucma_init_conn_qp3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_init_conn_qp3
_ucma_init_conn_qp3:                    ; @ucma_init_conn_qp3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldp	w1, w2, [x20]
	add	x8, sp, #8
	add	x3, x8, #16
	bl	_ucma_find_pkey
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IBV_QPS_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IBV_QPS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _IBV_QP_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IBV_QP_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IBV_QP_ACCESS_FLAGS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IBV_QP_ACCESS_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _IBV_QP_PKEY_INDEX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IBV_QP_PKEY_INDEX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IBV_QP_PORT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IBV_QP_PORT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x1, sp, #8
	mov	x0, x19
	bl	_ibv_modify_qp
	bl	_rdma_seterrno
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_QPS_INIT,4,2               ; @IBV_QPS_INIT
	.comm	_IBV_QP_STATE,4,2               ; @IBV_QP_STATE
	.comm	_IBV_QP_ACCESS_FLAGS,4,2        ; @IBV_QP_ACCESS_FLAGS
	.comm	_IBV_QP_PKEY_INDEX,4,2          ; @IBV_QP_PKEY_INDEX
	.comm	_IBV_QP_PORT,4,2                ; @IBV_QP_PORT
	.no_dead_strip	_ucma_init_conn_qp3
.subsections_via_symbols
