	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_modify_qp              ## -- Begin function ibv_cmd_modify_qp
	.p2align	4, 0x90
_ibv_cmd_modify_qp:                     ## @ibv_cmd_modify_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	_IBV_QP_DEST_QPN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	negl	%eax
	testl	%edx, %eax
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%r8, %r14
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_MODIFY_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	movq	%r8, %rsi
	callq	_IBV_INIT_CMD
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_copy_modify_qp_fields
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_write
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	je	LBB0_5
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_QP_DEST_QPN,4,2            ## @IBV_QP_DEST_QPN
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MODIFY_QP,4,2                  ## @MODIFY_QP
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_modify_qp              ; -- Begin function ibv_cmd_modify_qp
	.p2align	2
_ibv_cmd_modify_qp:                     ; @ibv_cmd_modify_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
Lloh0:
	adrp	x8, _IBV_QP_DEST_QPN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_QP_DEST_QPN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8, lsl #1
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh6:
	adrp	x8, _MODIFY_QP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODIFY_QP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x3
	mov	x1, x4
	bl	_IBV_INIT_CMD
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	bl	_copy_modify_qp_fields
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_write
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, x19
	csel	w0, wzr, w8, eq
LBB0_3:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_QP_DEST_QPN,4,2            ; @IBV_QP_DEST_QPN
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MODIFY_QP,4,2                  ; @MODIFY_QP
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
