	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_create_qp              ## -- Begin function ibv_cmd_create_qp
	.p2align	4, 0x90
_ibv_cmd_create_qp:                     ## @ibv_cmd_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	16(%rbp), %r8
	movq	_CREATE_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	movq	%r14, %rsi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r9, %rcx
	callq	_IBV_INIT_CMD_RESP
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, (%r12)
	movl	8(%r15), %eax
	movl	%eax, 64(%r12)
	movq	48(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r12)
	movq	40(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%ecx, 52(%r12)
	movdqu	4(%rbx), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 36(%r12)
	movl	(%rbx), %ecx
	movl	%ecx, 32(%r12)
	movl	36(%rbx), %ecx
	movl	%ecx, 28(%r12)
	movl	32(%rbx), %ecx
	movl	%ecx, 24(%r12)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 8(%r12)
	movq	$0, 16(%r12)
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_write
	cmpq	%r14, %rax
	jne	LBB0_4
## %bb.5:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	16(%rbp), %r14
	movq	%r14, %rsi
	callq	_VALGRIND_MAKE_MEM_DEFINED
	movl	24(%r12), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 12(%rcx)
	movl	20(%r12), %eax
	movl	%eax, 8(%rcx)
	movq	(%r15), %rax
	movq	%rax, (%rcx)
	movq	_abi_ver@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_9
## %bb.6:
	movl	16(%r12), %ecx
	movl	%ecx, 16(%rbx)
	movdqu	(%r12), %xmm0
	movdqu	%xmm0, (%rbx)
	movl	(%rax), %ecx
	cmpl	$4, %ecx
	jne	LBB0_8
## %bb.7:
	leaq	4(%r12), %rsi
	addq	$28, %r12
	addq	$-28, %r14
	movq	%r12, %rdi
	jmp	LBB0_10
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_8:
	xorl	%eax, %eax
	cmpl	$3, %ecx
	jg	LBB0_11
LBB0_9:
	leaq	28(%r12), %rdi
	addq	$4, %r12
	addq	$-28, %r14
	movq	%r12, %rsi
LBB0_10:
	movq	%r14, %rdx
	callq	_memmove
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %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	_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              ; -- Begin function ibv_cmd_create_qp
	.p2align	2
_ibv_cmd_create_qp:                     ; @ibv_cmd_create_qp
	.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	x19, x6
	mov	x20, x5
	mov	x24, x4
	mov	x25, x3
	mov	x21, 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, x3
	mov	x1, x4
	mov	x3, x5
	mov	x4, x6
	bl	_IBV_INIT_CMD_RESP
	str	x22, [x25]
	ldr	w8, [x23, #8]
	str	w8, [x25, #64]
	ldp	x9, x8, [x21, #40]
	ldr	w8, [x8]
	ldr	w9, [x9]
	stp	w9, w8, [x25, #56]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
	str	w9, [x25, #52]
	ldur	q0, [x21, #4]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	stur	q0, [x25, #36]
	ldr	w9, [x21]
	str	w9, [x25, #32]
	ldr	d0, [x21, #32]
	str	d0, [x25, #24]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x25, #8]
	str	xzr, [x25, #16]
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	x1, x25
	mov	x2, x24
	bl	_write
	cmp	x0, x24
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_VALGRIND_MAKE_MEM_DEFINED
	ldur	d0, [x20, #20]
	str	d0, [x22, #8]
	ldr	x8, [x23]
	str	x8, [x22]
Lloh3:
	adrp	x8, _abi_ver@GOTPAGE
Lloh4:
	ldr	x8, [x8, _abi_ver@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #4
	b.lt	LBB0_9
; %bb.5:
	ldr	w9, [x20, #16]
	str	w9, [x21, #16]
	ldr	q0, [x20]
	str	q0, [x21]
	ldr	w8, [x8]
	cmp	w8, #4
	b.ne	LBB0_8
; %bb.6:
	add	x1, x20, #4
	add	x0, x20, #28
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_8:
	cmp	w8, #3
	b.gt	LBB0_11
LBB0_9:
	add	x0, x20, #28
	add	x1, x20, #4
LBB0_10:
	sub	x2, x19, #28
	bl	_memmove
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CREATE_QP,4,2                  ; @CREATE_QP
	.comm	_errno,4,2                      ; @errno
	.comm	_abi_ver,4,2                    ; @abi_ver
.subsections_via_symbols
