	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_set_qp_params
_ocrdma_set_qp_params:                  ## @ocrdma_set_qp_params
	.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	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	24(%rax), %rax
	movl	(%rax), %edi
	callq	_iboe_get_mtu
	movl	%eax, %r13d
	movq	_IB_QP_PKEY_INDEX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_OCRDMA_QP_PARAMS_PKEY_INDEX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	orl	%eax, (%r12)
	movq	_OCRDMA_QP_PARA_PKEY_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_2:
	movq	_IB_QP_QKEY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	64(%r15), %eax
	movl	%eax, 32(%r14)
	movl	%eax, 36(%r12)
	movq	_OCRDMA_QP_PARA_QKEY_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_4:
	movq	_IB_QP_AV@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_ocrdma_set_av_params
	jmp	LBB0_9
LBB0_6:
	movq	(%r14), %rax
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:
	movq	24(%r14), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %ecx
	shll	$8, %ecx
	orl	(%rax), %ecx
	movl	8(%rax), %edx
	shll	$16, %edx
	movl	12(%rax), %esi
	shll	$24, %esi
	orl	%edx, %esi
	orl	%ecx, %esi
	movl	%esi, 4(%r12)
	movl	20(%rax), %ecx
	shll	$8, %ecx
	orl	16(%rax), %ecx
	movl	%ecx, 8(%r12)
LBB0_9:
	movq	_IB_QP_EN_SQD_ASYNC_NOTIFY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.10:
	cmpq	$0, 56(%r15)
	je	LBB0_12
## %bb.11:
	movq	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r12)
	movq	_OCRDMA_QP_PARA_DST_QPN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_12:
	movq	_IB_QP_DEST_QPN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r15), %eax
	orl	%eax, 12(%r12)
	movq	_OCRDMA_QP_PARA_DST_QPN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_14:
	movq	_IB_QP_PATH_MTU@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_18
## %bb.15:
	movl	%r13d, %edi
	callq	_ib_mtu_enum_to_int
	movq	%rax, %r13
	movl	8(%r15), %edi
	callq	_ib_mtu_enum_to_int
	cmpq	%rax, %r13
	jl	LBB0_16
## %bb.17:
	movl	8(%r15), %edi
	callq	_ib_mtu_enum_to_int
	movq	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	movq	_OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, (%r12)
	movq	_OCRDMA_QP_PARA_PMTU_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_18:
	movq	_IB_QP_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_20
## %bb.19:
	movl	12(%r15), %eax
	movq	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, 12(%r12)
	movq	_OCRDMA_QP_PARA_ACK_TO_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_20:
	movq	_IB_QP_RETRY_CNT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_22
## %bb.21:
	movl	16(%r15), %eax
	movq	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, 16(%r12)
	movq	_OCRDMA_QP_PARA_RETRY_CNT_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_22:
	movq	_IB_QP_MIN_RNR_TIMER@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_24
## %bb.23:
	movl	20(%r15), %eax
	movq	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, 16(%r12)
	movq	_OCRDMA_QP_PARA_RNT_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_24:
	movq	_IB_QP_RNR_RETRY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_26
## %bb.25:
	movl	24(%r15), %eax
	movq	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, 12(%r12)
	movq	_OCRDMA_QP_PARA_RRC_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_26:
	movq	_IB_QP_SQ_PSN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_28
## %bb.27:
	movl	$16777215, %eax                 ## imm = 0xFFFFFF
	andl	28(%r15), %eax
	orl	%eax, 20(%r12)
	movq	_OCRDMA_QP_PARA_SQPSN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_28:
	movq	_IB_QP_RQ_PSN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_30
## %bb.29:
	movl	$16777215, %eax                 ## imm = 0xFFFFFF
	andl	32(%r15), %eax
	orl	%eax, 24(%r12)
	movq	_OCRDMA_QP_PARA_RQPSN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_30:
	movq	_IB_QP_MAX_QP_RD_ATOMIC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_33
## %bb.31:
	movq	40(%r15), %rax
	movq	24(%r14), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_16
## %bb.32:
	movq	%rax, 8(%r14)
	movq	_OCRDMA_QP_PARA_MAX_ORD_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r12)
LBB0_33:
	movq	_IB_QP_MAX_DEST_RD_ATOMIC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_34
## %bb.35:
	movq	48(%r15), %rax
	movq	24(%r14), %rcx
	cmpq	8(%rcx), %rax
	jle	LBB0_36
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_38
LBB0_34:
	movq	16(%r14), %rax
	jmp	LBB0_37
LBB0_36:
	movq	%rax, 16(%r14)
	movq	_OCRDMA_QP_PARA_MAX_IRD_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r12)
LBB0_37:
	movq	8(%r14), %rdx
	movq	_OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rdx
	movq	_OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, %edx
	movl	%edx, 28(%r12)
	xorl	%eax, %eax
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QP_PKEY_INDEX,4,2           ## @IB_QP_PKEY_INDEX
	.comm	_OCRDMA_QP_PARAMS_PKEY_INDEX_MASK,4,2 ## @OCRDMA_QP_PARAMS_PKEY_INDEX_MASK
	.comm	_OCRDMA_QP_PARA_PKEY_VALID,4,2  ## @OCRDMA_QP_PARA_PKEY_VALID
	.comm	_IB_QP_QKEY,4,2                 ## @IB_QP_QKEY
	.comm	_OCRDMA_QP_PARA_QKEY_VALID,4,2  ## @OCRDMA_QP_PARA_QKEY_VALID
	.comm	_IB_QP_AV,4,2                   ## @IB_QP_AV
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_IB_QP_EN_SQD_ASYNC_NOTIFY,4,2  ## @IB_QP_EN_SQD_ASYNC_NOTIFY
	.comm	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC,4,2 ## @OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC
	.comm	_OCRDMA_QP_PARA_DST_QPN_VALID,4,2 ## @OCRDMA_QP_PARA_DST_QPN_VALID
	.comm	_IB_QP_DEST_QPN,4,2             ## @IB_QP_DEST_QPN
	.comm	_OCRDMA_QP_PARAMS_DEST_QPN_MASK,4,2 ## @OCRDMA_QP_PARAMS_DEST_QPN_MASK
	.comm	_IB_QP_PATH_MTU,4,2             ## @IB_QP_PATH_MTU
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT,8,3 ## @OCRDMA_QP_PARAMS_PATH_MTU_SHIFT
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_MASK,8,3 ## @OCRDMA_QP_PARAMS_PATH_MTU_MASK
	.comm	_OCRDMA_QP_PARA_PMTU_VALID,4,2  ## @OCRDMA_QP_PARA_PMTU_VALID
	.comm	_IB_QP_TIMEOUT,4,2              ## @IB_QP_TIMEOUT
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT
	.comm	_OCRDMA_QP_PARA_ACK_TO_VALID,4,2 ## @OCRDMA_QP_PARA_ACK_TO_VALID
	.comm	_IB_QP_RETRY_CNT,4,2            ## @IB_QP_RETRY_CNT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK,4,2 ## @OCRDMA_QP_PARAMS_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARA_RETRY_CNT_VALID,4,2 ## @OCRDMA_QP_PARA_RETRY_CNT_VALID
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ## @IB_QP_MIN_RNR_TIMER
	.comm	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK,4,2 ## @OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK
	.comm	_OCRDMA_QP_PARA_RNT_VALID,4,2   ## @OCRDMA_QP_PARA_RNT_VALID
	.comm	_IB_QP_RNR_RETRY,4,2            ## @IB_QP_RNR_RETRY
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT,4,2 ## @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK,4,2 ## @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARA_RRC_VALID,4,2   ## @OCRDMA_QP_PARA_RRC_VALID
	.comm	_IB_QP_SQ_PSN,4,2               ## @IB_QP_SQ_PSN
	.comm	_OCRDMA_QP_PARA_SQPSN_VALID,4,2 ## @OCRDMA_QP_PARA_SQPSN_VALID
	.comm	_IB_QP_RQ_PSN,4,2               ## @IB_QP_RQ_PSN
	.comm	_OCRDMA_QP_PARA_RQPSN_VALID,4,2 ## @OCRDMA_QP_PARA_RQPSN_VALID
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ## @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_OCRDMA_QP_PARA_MAX_ORD_VALID,4,2 ## @OCRDMA_QP_PARA_MAX_ORD_VALID
	.comm	_IB_QP_MAX_DEST_RD_ATOMIC,4,2   ## @IB_QP_MAX_DEST_RD_ATOMIC
	.comm	_OCRDMA_QP_PARA_MAX_IRD_VALID,4,2 ## @OCRDMA_QP_PARA_MAX_IRD_VALID
	.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
	.no_dead_strip	_ocrdma_set_qp_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_set_qp_params
_ocrdma_set_qp_params:                  ; @ocrdma_set_qp_params
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x8, [x8, #24]
	ldr	w0, [x8]
	bl	_iboe_get_mtu
	mov	x23, x0
Lloh0:
	adrp	x8, _IB_QP_PKEY_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QP_PKEY_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _OCRDMA_QP_PARAMS_PKEY_INDEX_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_PKEY_INDEX_MASK@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x8, _OCRDMA_QP_PARA_PKEY_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCRDMA_QP_PARA_PKEY_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_2:
Lloh9:
	adrp	x8, _IB_QP_QKEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_QP_QKEY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21, #64]
Lloh12:
	adrp	x9, _OCRDMA_QP_PARA_QKEY_VALID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OCRDMA_QP_PARA_QKEY_VALID@GOTPAGEOFF]
	str	w8, [x20, #32]
Lloh14:
	ldr	w9, [x9]
	ldr	w10, [x19, #40]
	orr	w9, w10, w9
	stp	w8, w9, [x19, #36]
LBB0_4:
Lloh15:
	adrp	x8, _IB_QP_AV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_QP_AV@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_ocrdma_set_av_params
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20]
Lloh18:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _IB_QPT_UD@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IB_QPT_UD@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #16]
	ldp	w9, w10, [x8]
	orr	w9, w9, w10, lsl #8
	ldp	w10, w11, [x8, #8]
	orr	w9, w9, w10, lsl #16
	orr	w9, w9, w11, lsl #24
	str	w9, [x19, #4]
	ldp	w9, w8, [x8, #16]
	orr	w8, w9, w8, lsl #8
	str	w8, [x19, #8]
LBB0_8:
Lloh24:
	adrp	x8, _IB_QP_EN_SQD_ASYNC_NOTIFY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_QP_EN_SQD_ASYNC_NOTIFY@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x8]
Lloh27:
	adrp	x8, _OCRDMA_QP_PARA_DST_QPN_VALID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OCRDMA_QP_PARA_DST_QPN_VALID@GOTPAGEOFF]
	tst	w9, w22
	b.eq	LBB0_11
; %bb.9:
	ldr	x9, [x21, #56]
	cbz	x9, LBB0_11
; %bb.10:
Lloh29:
	adrp	x9, _OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPAGE
Lloh30:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	ldr	w10, [x19, #32]
	orr	w9, w10, w9
	str	w9, [x19, #32]
	ldr	w9, [x8]
	ldr	w10, [x19, #40]
	orr	w9, w10, w9
	str	w9, [x19, #40]
LBB0_11:
Lloh32:
	adrp	x9, _IB_QP_DEST_QPN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IB_QP_DEST_QPN@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w22
	b.eq	LBB0_13
; %bb.12:
	ldr	w9, [x21, #4]
Lloh35:
	adrp	x10, _OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPAGE
Lloh36:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_DEST_QPN_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	and	w9, w10, w9
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_13:
Lloh38:
	adrp	x8, _IB_QP_PATH_MTU@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IB_QP_PATH_MTU@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_16
; %bb.14:
	mov	x0, x23
	bl	_ib_mtu_enum_to_int
	mov	x23, x0
	ldr	w0, [x21, #8]
	bl	_ib_mtu_enum_to_int
	cmp	x23, x0
	b.lt	LBB0_33
; %bb.15:
	ldr	w0, [x21, #8]
	bl	_ib_mtu_enum_to_int
Lloh41:
	adrp	x8, _OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_PATH_MTU_SHIFT@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
Lloh44:
	adrp	x9, _OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPAGE
Lloh45:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_PATH_MTU_MASK@GOTPAGEOFF]
	lsl	x8, x0, x8
Lloh46:
	ldr	w9, [x9]
	and	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh47:
	adrp	x8, _OCRDMA_QP_PARA_PMTU_VALID@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OCRDMA_QP_PARA_PMTU_VALID@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_16:
Lloh50:
	adrp	x8, _IB_QP_TIMEOUT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IB_QP_TIMEOUT@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_18
; %bb.17:
Lloh53:
	adrp	x8, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT@GOTPAGEOFF]
	ldr	w9, [x21, #12]
Lloh55:
	ldr	w8, [x8]
	lsl	w8, w9, w8
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
Lloh56:
	adrp	x8, _OCRDMA_QP_PARA_ACK_TO_VALID@GOTPAGE
Lloh57:
	ldr	x8, [x8, _OCRDMA_QP_PARA_ACK_TO_VALID@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_18:
Lloh59:
	adrp	x8, _IB_QP_RETRY_CNT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IB_QP_RETRY_CNT@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x21, #16]
Lloh62:
	adrp	x9, _OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
Lloh65:
	adrp	x10, _OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPAGE
Lloh66:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_RETRY_CNT_MASK@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh67:
	ldr	w9, [x10]
	and	w8, w8, w9
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
Lloh68:
	adrp	x8, _OCRDMA_QP_PARA_RETRY_CNT_VALID@GOTPAGE
Lloh69:
	ldr	x8, [x8, _OCRDMA_QP_PARA_RETRY_CNT_VALID@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_20:
Lloh71:
	adrp	x8, _IB_QP_MIN_RNR_TIMER@GOTPAGE
Lloh72:
	ldr	x8, [x8, _IB_QP_MIN_RNR_TIMER@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_22
; %bb.21:
	ldr	w8, [x21, #20]
Lloh74:
	adrp	x9, _OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT@GOTPAGE
Lloh75:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
Lloh77:
	adrp	x10, _OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK@GOTPAGE
Lloh78:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh79:
	ldr	w9, [x10]
	and	w8, w8, w9
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
Lloh80:
	adrp	x8, _OCRDMA_QP_PARA_RNT_VALID@GOTPAGE
Lloh81:
	ldr	x8, [x8, _OCRDMA_QP_PARA_RNT_VALID@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_22:
Lloh83:
	adrp	x8, _IB_QP_RNR_RETRY@GOTPAGE
Lloh84:
	ldr	x8, [x8, _IB_QP_RNR_RETRY@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_24
; %bb.23:
	ldr	w8, [x21, #24]
Lloh86:
	adrp	x9, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPAGE
Lloh87:
	ldr	x9, [x9, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
Lloh89:
	adrp	x10, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPAGE
Lloh90:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh91:
	ldr	w9, [x10]
	and	w8, w8, w9
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
Lloh92:
	adrp	x8, _OCRDMA_QP_PARA_RRC_VALID@GOTPAGE
Lloh93:
	ldr	x8, [x8, _OCRDMA_QP_PARA_RRC_VALID@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_24:
Lloh95:
	adrp	x8, _IB_QP_SQ_PSN@GOTPAGE
Lloh96:
	ldr	x8, [x8, _IB_QP_SQ_PSN@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_26
; %bb.25:
	ldr	w8, [x21, #28]
	and	w8, w8, #0xffffff
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	str	w8, [x19, #20]
Lloh98:
	adrp	x8, _OCRDMA_QP_PARA_SQPSN_VALID@GOTPAGE
Lloh99:
	ldr	x8, [x8, _OCRDMA_QP_PARA_SQPSN_VALID@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_26:
Lloh101:
	adrp	x8, _IB_QP_RQ_PSN@GOTPAGE
Lloh102:
	ldr	x8, [x8, _IB_QP_RQ_PSN@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_28
; %bb.27:
	ldr	w8, [x21, #32]
	and	w8, w8, #0xffffff
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
Lloh104:
	adrp	x8, _OCRDMA_QP_PARA_RQPSN_VALID@GOTPAGE
Lloh105:
	ldr	x8, [x8, _OCRDMA_QP_PARA_RQPSN_VALID@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_28:
Lloh107:
	adrp	x8, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGE
Lloh108:
	ldr	x8, [x8, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_31
; %bb.29:
	ldr	x8, [x21, #40]
	ldr	x9, [x20, #24]
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_33
; %bb.30:
	str	x8, [x20, #8]
Lloh110:
	adrp	x8, _OCRDMA_QP_PARA_MAX_ORD_VALID@GOTPAGE
Lloh111:
	ldr	x8, [x8, _OCRDMA_QP_PARA_MAX_ORD_VALID@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_31:
Lloh113:
	adrp	x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGE
Lloh114:
	ldr	x8, [x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_34
; %bb.32:
	ldr	x8, [x21, #48]
	ldr	x9, [x20, #24]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.le	LBB0_35
LBB0_33:
Lloh116:
	adrp	x8, _EINVAL@GOTPAGE
Lloh117:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_37
LBB0_34:
	ldr	x8, [x20, #16]
	b	LBB0_36
LBB0_35:
	str	x8, [x20, #16]
Lloh119:
	adrp	x9, _OCRDMA_QP_PARA_MAX_IRD_VALID@GOTPAGE
Lloh120:
	ldr	x9, [x9, _OCRDMA_QP_PARA_MAX_IRD_VALID@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
	ldr	w10, [x19, #40]
	orr	w9, w10, w9
	str	w9, [x19, #40]
LBB0_36:
	mov	w0, #0
	ldr	x9, [x20, #8]
Lloh122:
	adrp	x10, _OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPAGE
Lloh123:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_MAX_ORD_SHIFT@GOTPAGEOFF]
Lloh124:
	ldr	w10, [x10]
	lsl	x9, x9, x10
Lloh125:
	adrp	x10, _OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPAGE
Lloh126:
	ldr	x10, [x10, _OCRDMA_QP_PARAMS_MAX_IRD_MASK@GOTPAGEOFF]
Lloh127:
	ldr	w10, [x10]
	and	w8, w8, w10
	orr	w8, w8, w9
	str	w8, [x19, #28]
LBB0_37:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QP_PKEY_INDEX,4,2           ; @IB_QP_PKEY_INDEX
	.comm	_OCRDMA_QP_PARAMS_PKEY_INDEX_MASK,4,2 ; @OCRDMA_QP_PARAMS_PKEY_INDEX_MASK
	.comm	_OCRDMA_QP_PARA_PKEY_VALID,4,2  ; @OCRDMA_QP_PARA_PKEY_VALID
	.comm	_IB_QP_QKEY,4,2                 ; @IB_QP_QKEY
	.comm	_OCRDMA_QP_PARA_QKEY_VALID,4,2  ; @OCRDMA_QP_PARA_QKEY_VALID
	.comm	_IB_QP_AV,4,2                   ; @IB_QP_AV
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_IB_QP_EN_SQD_ASYNC_NOTIFY,4,2  ; @IB_QP_EN_SQD_ASYNC_NOTIFY
	.comm	_OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC,4,2 ; @OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC
	.comm	_OCRDMA_QP_PARA_DST_QPN_VALID,4,2 ; @OCRDMA_QP_PARA_DST_QPN_VALID
	.comm	_IB_QP_DEST_QPN,4,2             ; @IB_QP_DEST_QPN
	.comm	_OCRDMA_QP_PARAMS_DEST_QPN_MASK,4,2 ; @OCRDMA_QP_PARAMS_DEST_QPN_MASK
	.comm	_IB_QP_PATH_MTU,4,2             ; @IB_QP_PATH_MTU
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_SHIFT,8,3 ; @OCRDMA_QP_PARAMS_PATH_MTU_SHIFT
	.comm	_OCRDMA_QP_PARAMS_PATH_MTU_MASK,8,3 ; @OCRDMA_QP_PARAMS_PATH_MTU_MASK
	.comm	_OCRDMA_QP_PARA_PMTU_VALID,4,2  ; @OCRDMA_QP_PARA_PMTU_VALID
	.comm	_IB_QP_TIMEOUT,4,2              ; @IB_QP_TIMEOUT
	.comm	_OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT
	.comm	_OCRDMA_QP_PARA_ACK_TO_VALID,4,2 ; @OCRDMA_QP_PARA_ACK_TO_VALID
	.comm	_IB_QP_RETRY_CNT,4,2            ; @IB_QP_RETRY_CNT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RETRY_CNT_MASK,4,2 ; @OCRDMA_QP_PARAMS_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARA_RETRY_CNT_VALID,4,2 ; @OCRDMA_QP_PARA_RETRY_CNT_VALID
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ; @IB_QP_MIN_RNR_TIMER
	.comm	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK,4,2 ; @OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK
	.comm	_OCRDMA_QP_PARA_RNT_VALID,4,2   ; @OCRDMA_QP_PARA_RNT_VALID
	.comm	_IB_QP_RNR_RETRY,4,2            ; @IB_QP_RNR_RETRY
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT,4,2 ; @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT
	.comm	_OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK,4,2 ; @OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK
	.comm	_OCRDMA_QP_PARA_RRC_VALID,4,2   ; @OCRDMA_QP_PARA_RRC_VALID
	.comm	_IB_QP_SQ_PSN,4,2               ; @IB_QP_SQ_PSN
	.comm	_OCRDMA_QP_PARA_SQPSN_VALID,4,2 ; @OCRDMA_QP_PARA_SQPSN_VALID
	.comm	_IB_QP_RQ_PSN,4,2               ; @IB_QP_RQ_PSN
	.comm	_OCRDMA_QP_PARA_RQPSN_VALID,4,2 ; @OCRDMA_QP_PARA_RQPSN_VALID
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ; @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_OCRDMA_QP_PARA_MAX_ORD_VALID,4,2 ; @OCRDMA_QP_PARA_MAX_ORD_VALID
	.comm	_IB_QP_MAX_DEST_RD_ATOMIC,4,2   ; @IB_QP_MAX_DEST_RD_ATOMIC
	.comm	_OCRDMA_QP_PARA_MAX_IRD_VALID,4,2 ; @OCRDMA_QP_PARA_MAX_IRD_VALID
	.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
	.no_dead_strip	_ocrdma_set_qp_params
.subsections_via_symbols
