	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ib_create_qp
__ib_create_qp:                         ## @_ib_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	%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	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%r8, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdx), %r13d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	*%rax
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	%rbx, 32(%r12)
	movq	%r15, 24(%r12)
	movq	%r14, 16(%r12)
	movq	%r12, 8(%r12)
	movq	_IB_QPT_XRC_INI@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	setne	%al
	movq	_IB_QPT_XRC_TGT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	setne	%cl
	movq	_IB_QPT_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	setb	%dl
	andb	%al, %dl
	testb	%cl, %dl
	jne	LBB0_4
## %bb.3:
	movq	_IB_QPT_DRIVER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_4
## %bb.7:
	movl	$0, (%r12)
	jmp	LBB0_8
LBB0_9:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	movq	_RDMA_RESTRACK_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r12, %rdi
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	callq	_rdma_restrack_uadd
	jmp	LBB0_8
LBB0_6:
	callq	_rdma_restrack_kadd
LBB0_8:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IB_QPT_XRC_INI,4,2             ## @IB_QPT_XRC_INI
	.comm	_IB_QPT_XRC_TGT,4,2             ## @IB_QPT_XRC_TGT
	.comm	_IB_QPT_MAX,4,2                 ## @IB_QPT_MAX
	.comm	_IB_QPT_DRIVER,4,2              ## @IB_QPT_DRIVER
	.comm	_RDMA_RESTRACK_QP,4,2           ## @RDMA_RESTRACK_QP
	.no_dead_strip	__ib_create_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ib_create_qp
__ib_create_qp:                         ; @_ib_create_qp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x4
	mov	x21, x1
	mov	x22, x0
	ldr	w23, [x2]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	blr	x8
	mov	x19, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_8
; %bb.2:
	stp	x21, x22, [x19, #24]
	stp	x19, x20, [x19, #8]
Lloh0:
	adrp	x8, _IB_QPT_XRC_INI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QPT_XRC_INI@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IB_QPT_XRC_TGT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_QPT_XRC_TGT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	cmp	w23, w9
	ccmp	w23, w8, #4, ne
Lloh6:
	adrp	x8, _IB_QPT_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_QPT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w23, w8, #2, ne
Lloh9:
	adrp	x8, _IB_QPT_DRIVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_QPT_DRIVER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ccmp	w23, w8, #4, hs
	b.ne	LBB0_6
; %bb.3:
Lloh12:
	adrp	x8, _RDMA_RESTRACK_QP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RDMA_RESTRACK_QP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	cbz	x20, LBB0_7
; %bb.4:
	bl	_rdma_restrack_uadd
	b	LBB0_8
LBB0_5:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_6:
	str	wzr, [x19]
	b	LBB0_8
LBB0_7:
	bl	_rdma_restrack_kadd
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IB_QPT_XRC_INI,4,2             ; @IB_QPT_XRC_INI
	.comm	_IB_QPT_XRC_TGT,4,2             ; @IB_QPT_XRC_TGT
	.comm	_IB_QPT_MAX,4,2                 ; @IB_QPT_MAX
	.comm	_IB_QPT_DRIVER,4,2              ; @IB_QPT_DRIVER
	.comm	_RDMA_RESTRACK_QP,4,2           ; @RDMA_RESTRACK_QP
	.no_dead_strip	__ib_create_qp
.subsections_via_symbols
