	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ocrdma_query_qp
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ocrdma_query_qp
	.p2align	4, 0x90
_ocrdma_query_qp:                       ## @ocrdma_query_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_get_ocrdma_qp
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_get_ocrdma_dev
	movq	%rax, %rbx
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ocrdma_mbx_query_qp
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	-48(%rbp), %eax
	movl	%eax, 192(%r13)
LBB0_3:
	movq	_OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	-88(%rbp), %edi
	callq	_ocrdma_mtu_int_to_enum
	movq	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, (%r13)
	movq	_IB_MIG_MIGRATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 188(%r13)
	movq	_OCRDMA_QP_PARAMS_RQ_PSN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-84(%rbp), %eax
	movl	%eax, 4(%r13)
	movq	_OCRDMA_QP_PARAMS_SQ_PSN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-80(%rbp), %eax
	movl	%eax, 8(%r13)
	movq	_OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-76(%rbp), %eax
	movl	%eax, 12(%r13)
	movl	48(%r14), %edi
	callq	_ocrdma_to_ib_qp_acc_flags
	movl	%eax, 184(%r13)
	movq	40(%r14), %rax
	decq	%rax
	movq	%rax, 176(%r13)
	movq	24(%r14), %rax
	decq	%rax
	movq	%rax, 168(%r13)
	movl	32(%r14), %eax
	movl	%eax, 160(%r13)
	movl	16(%r14), %eax
	movl	%eax, 156(%r13)
	movl	12(%r14), %eax
	movl	%eax, 152(%r13)
	movups	168(%r13), %xmm0
	movups	%xmm0, 16(%r12)
	movups	152(%r13), %xmm0
	movups	%xmm0, (%r12)
	movq	_RDMA_AH_ATTR_TYPE_ROCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r13)
	movq	_OCRDMA_QP_PARAMS_FLOW_LABEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	-72(%rbp), %edx
	leaq	128(%r13), %r12
	movl	8(%r14), %eax
	movq	_OCRDMA_QP_PARAMS_HOP_LMT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	-84(%rbp), %r8d
	movq	_OCRDMA_QP_PARAMS_HOP_LMT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r8d
	movq	_OCRDMA_QP_PARAMS_TCLASS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	andl	-80(%rbp), %r9d
	movq	_OCRDMA_QP_PARAMS_TCLASS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r9d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_rdma_ah_set_grh
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_rdma_ah_set_dgid_raw
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_rdma_ah_set_port_num
	movq	_OCRDMA_QP_PARAMS_SL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	-72(%rbp), %esi
	movq	_OCRDMA_QP_PARAMS_SL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	%r12, %rdi
	callq	_rdma_ah_set_sl
	movl	-76(%rbp), %eax
	movq	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movl	%edx, 16(%r13)
	movq	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 20(%r13)
	movq	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-72(%rbp), %eax
	movq	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 24(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 136(%r13)
	movl	$1, 28(%r13)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_rdma_ah_set_path_bits
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_rdma_ah_set_static_rate
	leaq	56(%r13), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%r13)
	movq	$0, 120(%r13)
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_OCRDMA_QP_PARAMS_STATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	-68(%rbp), %ebx
	movq	_OCRDMA_QP_PARAMS_STATE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movl	%ebx, %edi
	callq	_get_ibqp_state
	movl	%eax, 48(%r13)
	movl	%eax, 52(%r13)
	movq	_OCRDMA_QPS_SQ_DRAINING@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %ebx
	sete	%dl
	movl	%edx, 32(%r13)
	movl	-64(%rbp), %edx
	movq	_OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	sarl	%cl, %esi
	movl	%esi, 36(%r13)
	movq	_OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%edx, 40(%r13)
	movq	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	-68(%rbp), %ecx
	setne	%dl
	movl	%edx, 44(%r13)
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ocrdma_qp_state_change
LBB0_4:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_MASK,4,2 ## @OCRDMA_QP_PARAMS_PATH_MTU_MASK
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_PATH_MTU_SHIFT
	.comm	_IB_MIG_MIGRATED,4,2            ## @IB_MIG_MIGRATED
	.comm	_OCRDMA_QP_PARAMS_RQ_PSN_MASK,4,2 ## @OCRDMA_QP_PARAMS_RQ_PSN_MASK
	.comm	_OCRDMA_QP_PARAMS_SQ_PSN_MASK,4,2 ## @OCRDMA_QP_PARAMS_SQ_PSN_MASK
	.comm	_OCRDMA_QP_PARAMS_DEST_QPN_MASK,4,2 ## @OCRDMA_QP_PARAMS_DEST_QPN_MASK
	.comm	_RDMA_AH_ATTR_TYPE_ROCE,4,2     ## @RDMA_AH_ATTR_TYPE_ROCE
	.comm	_OCRDMA_QP_PARAMS_FLOW_LABEL_MASK,4,2 ## @OCRDMA_QP_PARAMS_FLOW_LABEL_MASK
	.comm	_OCRDMA_QP_PARAMS_HOP_LMT_MASK,4,2 ## @OCRDMA_QP_PARAMS_HOP_LMT_MASK
	.comm	_OCRDMA_QP_PARAMS_HOP_LMT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_HOP_LMT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_TCLASS_MASK,4,2 ## @OCRDMA_QP_PARAMS_TCLASS_MASK
	.comm	_OCRDMA_QP_PARAMS_TCLASS_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_TCLASS_SHIFT
	.comm	_OCRDMA_QP_PARAMS_SL_MASK,4,2   ## @OCRDMA_QP_PARAMS_SL_MASK
	.comm	_OCRDMA_QP_PARAMS_SL_SHIFT,4,2  ## @OCRDMA_QP_PARAMS_SL_SHIFT
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK,4,2 ## @OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK,4,2 ## @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK,4,2 ## @OCRDMA_QP_PARAMS_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_STATE_MASK,4,2 ## @OCRDMA_QP_PARAMS_STATE_MASK
	.comm	_OCRDMA_QP_PARAMS_STATE_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_STATE_SHIFT
	.comm	_OCRDMA_QPS_SQ_DRAINING,4,2     ## @OCRDMA_QPS_SQ_DRAINING
	.comm	_OCRDMA_QP_PARAMS_MAX_ORD_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_MAX_ORD_SHIFT
	.comm	_OCRDMA_QP_PARAMS_MAX_IRD_MASK,4,2 ## @OCRDMA_QP_PARAMS_MAX_IRD_MASK
	.comm	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC,4,2 ## @OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocrdma_query_qp                ; -- Begin function ocrdma_query_qp
	.p2align	2
_ocrdma_query_qp:                       ; @ocrdma_query_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x3
	mov	x19, x1
	mov	x21, x0
	bl	_get_ocrdma_qp
	mov	x20, x0
	ldr	w0, [x21]
	bl	_get_ocrdma_dev
	mov	x23, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	x0, x23
	bl	_mutex_lock
	mov	x2, sp
	mov	x0, x23
	mov	x1, x20
	bl	_ocrdma_mbx_query_qp
	mov	x21, x0
	mov	x0, x23
	bl	_mutex_unlock
	cbnz	w21, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _IB_QPT_UD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_UD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [sp, #40]
	str	w8, [x19, #192]
LBB0_3:
	ldr	w8, [sp]
Lloh3:
	adrp	x9, _OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_ocrdma_mtu_int_to_enum
Lloh6:
	adrp	x8, _OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	w8, w0, w8
	str	w8, [x19]
Lloh9:
	adrp	x8, _IB_MIG_MIGRATED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_MIG_MIGRATED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _OCRDMA_QP_PARAMS_RQ_PSN_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_RQ_PSN_MASK@GOTPAGEOFF]
	str	w8, [x19, #188]
Lloh14:
	ldr	w8, [x9]
	ldp	w9, w10, [sp, #4]
Lloh15:
	adrp	x11, _OCRDMA_QP_PARAMS_SQ_PSN_MASK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _OCRDMA_QP_PARAMS_SQ_PSN_MASK@GOTPAGEOFF]
	and	w8, w8, w9
Lloh17:
	ldr	w9, [x11]
	and	w9, w9, w10
	stp	w8, w9, [x19, #4]
	ldr	w8, [sp, #12]
Lloh18:
	adrp	x9, _OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #12]
	ldr	w0, [x20, #48]
	bl	_ocrdma_to_ib_qp_acc_flags
	str	w0, [x19, #184]
	ldr	x8, [x20, #40]
	sub	x8, x8, #1
	str	x8, [x19, #176]
	ldr	x8, [x20, #24]
	sub	x8, x8, #1
	str	x8, [x19, #168]
	ldr	w8, [x20, #32]
	str	w8, [x19, #160]
	ldur	d0, [x20, #12]
	str	d0, [x19, #152]
	ldur	q0, [x19, #152]
	ldur	q1, [x19, #168]
	stp	q0, q1, [x22]
Lloh21:
	adrp	x8, _RDMA_AH_ATTR_TYPE_ROCE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RDMA_AH_ATTR_TYPE_ROCE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #128]!
	ldr	w8, [sp, #16]
Lloh24:
	adrp	x9, _OCRDMA_QP_PARAMS_FLOW_LABEL_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_FLOW_LABEL_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w2, w9, w8
	ldr	w3, [x20, #8]
Lloh27:
	adrp	x8, _OCRDMA_QP_PARAMS_HOP_LMT_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_HOP_LMT_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #4]
	and	w8, w8, w9
Lloh30:
	adrp	x9, _OCRDMA_QP_PARAMS_HOP_LMT_SHIFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_HOP_LMT_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	asr	w4, w8, w9
Lloh33:
	adrp	x8, _OCRDMA_QP_PARAMS_TCLASS_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_TCLASS_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	and	w8, w8, w10
Lloh36:
	adrp	x9, _OCRDMA_QP_PARAMS_TCLASS_SHIFT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_TCLASS_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	asr	w5, w8, w9
	mov	x0, x19
	mov	x1, #0
	bl	_rdma_ah_set_grh
	ldr	x1, [sp, #32]
	mov	x0, x19
	bl	_rdma_ah_set_dgid_raw
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_rdma_ah_set_port_num
	ldr	w8, [sp, #16]
Lloh39:
	adrp	x9, _OCRDMA_QP_PARAMS_SL_MASK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_SL_MASK@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh42:
	adrp	x9, _OCRDMA_QP_PARAMS_SL_SHIFT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_SL_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	asr	w1, w8, w9
	mov	x0, x19
	bl	_rdma_ah_set_sl
Lloh45:
	adrp	x8, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #12]
	and	w8, w8, w9
Lloh48:
	adrp	x11, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPAGE
Lloh49:
	ldr	x11, [x11, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w11, [x11]
	asr	w8, w8, w11
Lloh51:
	adrp	x11, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPAGE
Lloh52:
	ldr	x11, [x11, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPAGEOFF]
Lloh53:
	ldr	w11, [x11]
	and	w9, w11, w9
Lloh54:
	adrp	x11, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPAGE
Lloh55:
	ldr	x11, [x11, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w11, [x11]
	asr	w9, w9, w11
	stp	w8, w9, [x19, #-112]
Lloh57:
	adrp	x8, _OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPAGE
Lloh58:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	and	w8, w8, w10
Lloh60:
	adrp	x9, _OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	asr	w8, w8, w9
	stp	xzr, xzr, [x19, #8]
	stp	w8, w22, [x19, #-104]
	mov	x0, x19
	mov	w1, #0
	bl	_rdma_ah_set_path_bits
	mov	x0, x19
	mov	w1, #0
	bl	_rdma_ah_set_static_rate
	sub	x0, x19, #72
	stp	xzr, xzr, [x19, #-16]
	stur	xzr, [x19, #-24]
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w8, [sp, #20]
Lloh63:
	adrp	x9, _OCRDMA_QP_PARAMS_STATE_MASK@GOTPAGE
Lloh64:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_STATE_MASK@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh66:
	adrp	x9, _OCRDMA_QP_PARAMS_STATE_SHIFT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_STATE_SHIFT@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	asr	w22, w8, w9
	mov	x0, x22
	bl	_get_ibqp_state
	mov	x1, x0
Lloh69:
	adrp	x8, _OCRDMA_QPS_SQ_DRAINING@GOTPAGE
Lloh70:
	ldr	x8, [x8, _OCRDMA_QPS_SQ_DRAINING@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	w22, w8
	cset	w8, eq
Lloh72:
	adrp	x9, _OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPAGE
Lloh73:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPAGEOFF]
	ldp	w11, w10, [sp, #20]
Lloh74:
	ldr	w9, [x9]
	tst	w9, w11
Lloh75:
	adrp	x9, _OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPAGE
Lloh76:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	asr	w9, w10, w9
	stp	w8, w9, [x19, #-96]
Lloh78:
	adrp	x8, _OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPAGE
Lloh79:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPAGEOFF]
	stp	w1, w1, [x19, #-80]
Lloh80:
	ldr	w8, [x8]
	and	w8, w8, w10
	cset	w9, ne
	stp	w8, w9, [x19, #-88]
	mov	x0, x20
	mov	x2, #0
	bl	_ocrdma_qp_state_change
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_MASK,4,2 ; @OCRDMA_QP_PARAMS_PATH_MTU_MASK
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_PATH_MTU_SHIFT
	.comm	_IB_MIG_MIGRATED,4,2            ; @IB_MIG_MIGRATED
	.comm	_OCRDMA_QP_PARAMS_RQ_PSN_MASK,4,2 ; @OCRDMA_QP_PARAMS_RQ_PSN_MASK
	.comm	_OCRDMA_QP_PARAMS_SQ_PSN_MASK,4,2 ; @OCRDMA_QP_PARAMS_SQ_PSN_MASK
	.comm	_OCRDMA_QP_PARAMS_DEST_QPN_MASK,4,2 ; @OCRDMA_QP_PARAMS_DEST_QPN_MASK
	.comm	_RDMA_AH_ATTR_TYPE_ROCE,4,2     ; @RDMA_AH_ATTR_TYPE_ROCE
	.comm	_OCRDMA_QP_PARAMS_FLOW_LABEL_MASK,4,2 ; @OCRDMA_QP_PARAMS_FLOW_LABEL_MASK
	.comm	_OCRDMA_QP_PARAMS_HOP_LMT_MASK,4,2 ; @OCRDMA_QP_PARAMS_HOP_LMT_MASK
	.comm	_OCRDMA_QP_PARAMS_HOP_LMT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_HOP_LMT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_TCLASS_MASK,4,2 ; @OCRDMA_QP_PARAMS_TCLASS_MASK
	.comm	_OCRDMA_QP_PARAMS_TCLASS_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_TCLASS_SHIFT
	.comm	_OCRDMA_QP_PARAMS_SL_MASK,4,2   ; @OCRDMA_QP_PARAMS_SL_MASK
	.comm	_OCRDMA_QP_PARAMS_SL_SHIFT,4,2  ; @OCRDMA_QP_PARAMS_SL_SHIFT
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK,4,2 ; @OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK,4,2 ; @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK,4,2 ; @OCRDMA_QP_PARAMS_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_STATE_MASK,4,2 ; @OCRDMA_QP_PARAMS_STATE_MASK
	.comm	_OCRDMA_QP_PARAMS_STATE_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_STATE_SHIFT
	.comm	_OCRDMA_QPS_SQ_DRAINING,4,2     ; @OCRDMA_QPS_SQ_DRAINING
	.comm	_OCRDMA_QP_PARAMS_MAX_ORD_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_MAX_ORD_SHIFT
	.comm	_OCRDMA_QP_PARAMS_MAX_IRD_MASK,4,2 ; @OCRDMA_QP_PARAMS_MAX_IRD_MASK
	.comm	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC,4,2 ; @OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC
.subsections_via_symbols
