	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ocrdma_modify_qp              ## -- Begin function _ocrdma_modify_qp
	.p2align	4, 0x90
__ocrdma_modify_qp:                     ## @_ocrdma_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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_get_ocrdma_qp
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_get_ocrdma_dev
	movq	%rax, %r12
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	callq	_ocrdma_qp_state_change
	testl	%eax, %eax
	js	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_ocrdma_mbx_modify_qp
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QP_STATE,4,2                ## @IB_QP_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ocrdma_modify_qp              ; -- Begin function _ocrdma_modify_qp
	.p2align	2
__ocrdma_modify_qp:                     ; @_ocrdma_modify_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_get_ocrdma_qp
	mov	x21, x0
	ldr	w0, [x22]
	bl	_get_ocrdma_dev
	mov	x22, x0
Lloh0:
	adrp	x8, _IB_QP_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QP_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x21
	bl	_ocrdma_qp_state_change
	tbnz	w0, #31, LBB0_3
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_ocrdma_mbx_modify_qp
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QP_STATE,4,2                ; @IB_QP_STATE
.subsections_via_symbols
