	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_create_qp_ex           ## -- Begin function ibv_cmd_create_qp_ex
	.p2align	4, 0x90
_ibv_cmd_create_qp_ex:                  ## @ibv_cmd_create_qp_ex
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	24(%rbp), %r8
	movq	16(%rbp), %rcx
	movq	_CREATE_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r9, %rsi
	callq	_IBV_INIT_CMD_RESP
	movq	_IBV_QP_INIT_ATTR_XRCD@GOTPCREL(%rip), %rax
	movq	_IBV_QP_INIT_ATTR_PD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	cmpl	%ecx, (%rbx)
	jle	LBB0_2
## %bb.1:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_10
LBB0_2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r14
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_create_qp_ex_common
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_write
	cmpq	%r12, %rax
	jne	LBB0_4
## %bb.5:
	movq	%r14, %r12
	movq	%r14, %rdi
	movq	24(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_VALGRIND_MAKE_MEM_DEFINED
	movq	_abi_ver@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$4, %eax
	jne	LBB0_7
## %bb.6:
	leaq	4(%r12), %rdi
	addq	$-4, %rbx
	movq	%rdi, %rsi
	movq	%rbx, %rdx
	callq	_memmove
	movq	%r15, %r14
	jmp	LBB0_9
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_10
LBB0_7:
	movq	%r15, %r14
	jge	LBB0_9
## %bb.8:
	leaq	4(%r12), %rdi
	addq	$-4, %rbx
	movq	%rdi, %rsi
	movq	%rbx, %rdx
	callq	_memmove
LBB0_9:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_create_qp_handle_resp_common
LBB0_10:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CREATE_QP,4,2                  ## @CREATE_QP
	.comm	_IBV_QP_INIT_ATTR_XRCD,4,2      ## @IBV_QP_INIT_ATTR_XRCD
	.comm	_IBV_QP_INIT_ATTR_PD,4,2        ## @IBV_QP_INIT_ATTR_PD
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_errno,4,2                      ## @errno
	.comm	_abi_ver,4,2                    ## @abi_ver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_create_qp_ex           ; -- Begin function ibv_cmd_create_qp_ex
	.p2align	2
_ibv_cmd_create_qp_ex:                  ; @ibv_cmd_create_qp_ex
	.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	x24, x7
	mov	x19, x6
	mov	x25, x5
	mov	x26, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _CREATE_QP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CREATE_QP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x4
	mov	x1, x5
	mov	x3, x6
	mov	x4, x7
	bl	_IBV_INIT_CMD_RESP
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _IBV_QP_INIT_ATTR_XRCD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IBV_QP_INIT_ATTR_XRCD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IBV_QP_INIT_ATTR_PD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IBV_QP_INIT_ATTR_PD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.le	LBB0_3
; %bb.1:
Lloh9:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, #0
	mov	x3, x26
	bl	_create_qp_ex_common
	cbnz	w0, LBB0_9
; %bb.4:
	ldr	w0, [x23]
	mov	x1, x26
	mov	x2, x25
	bl	_write
	cmp	x0, x25
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x19
	mov	x1, x24
	bl	_VALGRIND_MAKE_MEM_DEFINED
Lloh11:
	adrp	x8, _abi_ver@GOTPAGE
Lloh12:
	ldr	x8, [x8, _abi_ver@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, #4
	b.eq	LBB0_7
; %bb.6:
	cmp	w8, #3
	b.gt	LBB0_8
LBB0_7:
	add	x0, x19, #4
	sub	x2, x24, #4
	mov	x1, x0
	bl	_memmove
LBB0_8:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	mov	x4, #0
	mov	x5, x20
	bl	_create_qp_handle_resp_common
	mov	w0, #0
LBB0_9:
	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_10:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CREATE_QP,4,2                  ; @CREATE_QP
	.comm	_IBV_QP_INIT_ATTR_XRCD,4,2      ; @IBV_QP_INIT_ATTR_XRCD
	.comm	_IBV_QP_INIT_ATTR_PD,4,2        ; @IBV_QP_INIT_ATTR_PD
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_errno,4,2                      ; @errno
	.comm	_abi_ver,4,2                    ; @abi_ver
.subsections_via_symbols
