	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_qp                   ## -- Begin function ib_create_qp
	.p2align	4, 0x90
_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	8(%r15), %rax
	jmp	LBB0_3
LBB0_2:
	movq	48(%r14), %rax
	addq	$8, %rax
LBB0_3:
	movq	(%rax), %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movq	%rbx, 64(%r12)
	movq	%r12, 88(%r12)
	movq	$0, 80(%r12)
	movq	(%r14), %rax
	movq	%rax, (%r12)
	leaq	76(%r12), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	(%r14), %rax
	movq	_IB_QPT_XRC_TGT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	___ib_shared_qp_event_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	%r12, 48(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	movups	%xmm0, 32(%r12)
	movq	48(%r14), %rdi
	movq	%rdi, 8(%r12)
	callq	_atomic_inc
	movq	%r12, %rdi
	addq	$72, %rdi
	callq	_INIT_LIST_HEAD
	movl	40(%r14), %esi
	movq	32(%r14), %rdx
	movq	%r12, %rdi
	callq	___ib_open_qp
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	64(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	jmp	LBB0_13
LBB0_7:
	movl	40(%r14), %ecx
	movl	%ecx, 56(%r12)
	movq	32(%r14), %rcx
	movq	%rcx, 48(%r12)
	movq	_IB_QPT_XRC_INI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r12)
	jmp	LBB0_11
LBB0_9:
	movq	24(%r14), %rdi
	movq	%rdi, 40(%r12)
	callq	_atomic_inc
	movq	16(%r14), %rdi
	movq	%rdi, 32(%r12)
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_atomic_inc
LBB0_11:
	movq	%r15, 24(%r12)
	movq	8(%r14), %rax
	movq	%rax, 16(%r12)
	movq	$0, 8(%r12)
	movq	%r15, %rdi
	callq	_atomic_inc
	movq	8(%r14), %rdi
	callq	_atomic_inc
	jmp	LBB0_14
LBB0_12:
	movq	48(%r14), %rdi
	movq	%r12, %rsi
	callq	___ib_insert_xrcd_qp
LBB0_13:
	movq	%r15, %r12
LBB0_14:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_XRC_TGT,8,3             ## @IB_QPT_XRC_TGT
	.comm	___ib_shared_qp_event_handler,4,2 ## @__ib_shared_qp_event_handler
	.comm	_IB_QPT_XRC_INI,8,3             ## @IB_QPT_XRC_INI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_qp                   ; -- Begin function ib_create_qp
	.p2align	2
_ib_create_qp:                          ; @ib_create_qp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x21, #8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #48]
	add	x8, x8, #8
LBB0_3:
	ldr	x22, [x8]
	ldr	x8, [x22, #8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_14
; %bb.4:
	str	x22, [x20, #64]
	stp	xzr, x20, [x20, #80]
	ldr	x8, [x19]
	str	x8, [x20]
	add	x0, x20, #76
	mov	w1, #0
	bl	_atomic_set
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IB_QPT_XRC_TGT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_XRC_TGT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, ___ib_shared_qp_event_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___ib_shared_qp_event_handler@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	str	x20, [x20, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #16]
	ldr	x0, [x19, #48]
	str	x0, [x20, #8]
	bl	_atomic_inc
	add	x0, x20, #72
	bl	_INIT_LIST_HEAD
	ldr	w1, [x19, #40]
	ldr	x2, [x19, #32]
	mov	x0, x20
	bl	___ib_open_qp
	mov	x21, x0
	bl	_IS_ERR
	cbz	w0, LBB0_12
; %bb.6:
	ldr	x8, [x20, #64]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	b	LBB0_13
LBB0_7:
	ldr	w9, [x19, #40]
	str	w9, [x20, #56]
	ldr	x9, [x19, #32]
	str	x9, [x20, #48]
Lloh6:
	adrp	x9, _IB_QPT_XRC_INI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_QPT_XRC_INI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	stp	xzr, xzr, [x20, #32]
	b	LBB0_11
LBB0_9:
	ldr	x0, [x19, #24]
	str	x0, [x20, #40]
	bl	_atomic_inc
	ldr	x0, [x19, #16]
	str	x0, [x20, #32]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_atomic_inc
LBB0_11:
	str	x21, [x20, #24]
	ldr	x8, [x19, #8]
	stp	xzr, x8, [x20, #8]
	mov	x0, x21
	bl	_atomic_inc
	ldr	x0, [x19, #8]
	bl	_atomic_inc
	b	LBB0_14
LBB0_12:
	ldr	x0, [x19, #48]
	mov	x1, x20
	bl	___ib_insert_xrcd_qp
LBB0_13:
	mov	x20, x21
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_XRC_TGT,8,3             ; @IB_QPT_XRC_TGT
	.comm	___ib_shared_qp_event_handler,4,2 ; @__ib_shared_qp_event_handler
	.comm	_IB_QPT_XRC_INI,8,3             ; @IB_QPT_XRC_INI
.subsections_via_symbols
