	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_modify_qp                  ## -- Begin function rvt_modify_qp
	.p2align	4, 0x90
_rvt_modify_qp:                         ## @rvt_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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	callq	_ib_to_rvt
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ibqp_to_rvtqp
	movq	%rax, %r13
	leaq	112(%rax), %rdi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	callq	_spin_lock_irq
	leaq	116(%r13), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_spin_lock
	leaq	120(%r13), %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	callq	_spin_lock
	movq	_IB_QP_CUR_STATE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	%r14, %rax
	cmoveq	%r13, %rax
	movl	(%rax), %ecx
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	testl	%r12d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %ebx
LBB0_2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rdi
	movq	8(%r13), %rsi
	callq	_rdma_cap_opa_ah
	movl	%eax, %r14d
	movl	(%r15), %edx
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_ib_modify_qp_is_ok
	testl	%eax, %eax
	je	LBB0_40
## %bb.3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	*%rax
	testq	%rax, %rax
	jne	LBB0_40
LBB0_5:
	movq	_IB_QP_AV@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	96(%rax), %r12
	movq	%r12, %rdi
	callq	_rdma_ah_get_dlid
	movq	%rax, %rbx
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	movq	_OPA_MCAST_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opa_get_mcast_base
	cmpq	%rax, %rbx
	jl	LBB0_10
	jmp	LBB0_40
LBB0_8:
	movq	_IB_MULTICAST_LID_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	cmpq	%rax, %rbx
	jge	LBB0_40
LBB0_10:
	movl	152(%r13), %edi
	movq	%r12, %rsi
	callq	_rvt_check_ah
	testq	%rax, %rax
	jne	LBB0_40
LBB0_11:
	movq	_IB_QP_ALT_PATH@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	92(%rax), %r12
	movq	%r12, %rdi
	callq	_rdma_ah_get_dlid
	movq	%rax, %rbx
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.13:
	movq	_OPA_MCAST_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opa_get_mcast_base
	cmpq	%rax, %rbx
	jl	LBB0_16
	jmp	LBB0_40
LBB0_14:
	movq	_IB_MULTICAST_LID_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	cmpq	%rax, %rbx
	jge	LBB0_40
LBB0_16:
	movl	152(%r13), %edi
	movq	%r12, %rsi
	callq	_rvt_check_ah
	testq	%rax, %rax
	jne	LBB0_40
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_rvt_get_npkeys
	cmpq	%rax, %rbx
	jge	LBB0_40
LBB0_18:
	movq	_IB_QP_PKEY_INDEX@GOTPCREL(%rip), %r12
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r12)
	je	LBB0_20
## %bb.19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_rvt_get_npkeys
	cmpq	%rax, %rbx
	jge	LBB0_40
LBB0_20:
	movq	_IB_QP_MIN_RNR_TIMER@GOTPCREL(%rip), %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rbx)
	je	LBB0_22
## %bb.21:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$31, 24(%rax)
	jg	LBB0_40
LBB0_22:
	movq	_IB_QP_PORT@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r14)
	je	LBB0_27
## %bb.23:
	movq	128(%r13), %rax
	movq	_IB_QPT_SMI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.24:
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_40
## %bb.26:
	movq	8(%r15), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_40
LBB0_27:
	movq	_IB_QP_DEST_QPN@GOTPCREL(%rip), %rsi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rsi)
	je	LBB0_29
## %bb.28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	movq	_RVT_QPN_MASK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_40
LBB0_29:
	movq	_IB_QP_RETRY_CNT@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$7, 48(%rax)
	jg	LBB0_40
LBB0_31:
	movq	_IB_QP_RNR_RETRY@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$7, 52(%rax)
	jg	LBB0_40
LBB0_33:
	movq	_IB_QP_PATH_MTU@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_34
## %bb.35:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rdi)
	movq	_IB_QP_DEST_QPN@GOTPCREL(%rip), %rsi
	movl	%eax, %r8d
	testl	%eax, %eax
	jns	LBB0_36
	jmp	LBB0_40
LBB0_34:
	xorl	%r8d, %r8d
LBB0_36:
	movq	_IB_QP_PATH_MIG_STATE@GOTPCREL(%rip), %rcx
	movb	$1, -45(%rbp)                   ## 1-byte Folded Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_46
## %bb.37:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rax
	movq	_IB_MIG_REARM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_41
## %bb.38:
	movq	16(%r13), %rax
	movq	_IB_MIG_ARMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.39:
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rax), %ecx
	je	LBB0_46
	jmp	LBB0_40
LBB0_41:
	movq	_IB_MIG_MIGRATED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_40
## %bb.42:
	movq	16(%r13), %rax
	cmpq	%rcx, %rax
	je	LBB0_40
## %bb.43:
	cmpl	$129, -88(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rcx), %edx
	jne	LBB0_40
LBB0_45:
	movq	_IB_MIG_ARMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	-45(%rbp)                       ## 1-byte Folded Spill
LBB0_46:
	movq	_IB_QP_MAX_DEST_RD_ATOMIC@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_48
## %bb.47:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	64(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	32(%rcx), %rax
	jle	LBB0_48
LBB0_40:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_103:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$4, %eax
	movl	%r8d, -76(%rbp)                 ## 4-byte Spill
	ja	LBB0_57
## %bb.49:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_54:
	movq	128(%r13), %rax
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.55:
	movl	$128, (%r13)
	jmp	LBB0_58
LBB0_52:
	movq	_RVT_R_COMM_EST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 212(%r13)
	movl	$130, (%r13)
	jmp	LBB0_58
LBB0_50:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	cmpl	$131, (%r13)
	je	LBB0_59
## %bb.51:
	movl	(%r15), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %r15
	movq	%r13, %rsi
	callq	_rvt_reset_qp
	movq	%r15, %rsi
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_59
LBB0_56:
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	movq	%rsi, %r15
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rvt_error_qp
	movq	%r15, %rsi
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_59
LBB0_57:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r13)
	jmp	LBB0_58
LBB0_53:
	movl	208(%r13), %eax
	xorl	%ecx, %ecx
	cmpl	204(%r13), %eax
	setne	%cl
	movl	%ecx, 24(%r13)
	movl	$129, (%r13)
LBB0_58:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
LBB0_59:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r12)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_61
## %bb.60:
	movq	16(%r15), %rax
	movq	%rax, 32(%r13)
LBB0_61:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r14)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_63
## %bb.62:
	movq	32(%r15), %rax
	movq	%rax, 8(%r13)
LBB0_63:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rsi)
	je	LBB0_65
## %bb.64:
	movq	40(%r15), %rax
	movq	%rax, 40(%r13)
LBB0_65:
	movq	_IB_QP_SQ_PSN@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_67
## %bb.66:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	40(%rax), %eax
	andl	72(%r15), %eax
	movl	%eax, 48(%r13)
	movl	%eax, 52(%r13)
	movl	%eax, 56(%r13)
	decl	%eax
	movl	%eax, 60(%r13)
	movl	%eax, 64(%r13)
LBB0_67:
	movq	_IB_QP_RQ_PSN@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_69
## %bb.68:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	40(%rax), %eax
	andl	76(%r15), %eax
	movl	%eax, 68(%r13)
LBB0_69:
	movq	_IB_QP_ACCESS_FLAGS@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_71
## %bb.70:
	movl	100(%r15), %eax
	movl	%eax, 200(%r13)
LBB0_71:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_AV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_73
## %bb.72:
	leaq	188(%r13), %rdi
	leaq	96(%r15), %r14
	movq	%r14, %rsi
	callq	_rdma_replace_ah_attr
	movq	%r14, %rdi
	callq	_rdma_ah_get_static_rate
	movl	%eax, 192(%r13)
	movl	%eax, %edi
	callq	_ib_rate_to_mbps
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, 196(%r13)
LBB0_73:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_ALT_PATH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_75
## %bb.74:
	leaq	184(%r13), %rdi
	leaq	92(%r15), %rsi
	callq	_rdma_replace_ah_attr
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movq	8(%r15), %rax
	movq	%rax, 72(%r13)
LBB0_75:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_PATH_MIG_STATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_78
## %bb.76:
	movq	56(%r15), %rax
	movq	%rax, 16(%r13)
	cmpb	$0, -45(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_78
## %bb.77:
	leaq	184(%r13), %rdi
	movl	184(%r13), %eax
	movl	%eax, 188(%r13)
	callq	_rdma_ah_get_port_num
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, 8(%r13)
	movq	72(%r13), %rax
	movq	%rax, 32(%r13)
LBB0_78:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_PATH_MTU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_80
## %bb.79:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r8d, %edx
	callq	*16(%rdi)
	movl	%eax, 176(%r13)
	movl	%eax, %edi
	callq	_ilog2
	movl	%eax, 180(%r13)
LBB0_80:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_RETRY_CNT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_82
## %bb.81:
	movl	48(%r15), %eax
	movl	%eax, 80(%r13)
	movl	%eax, 84(%r13)
LBB0_82:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_RNR_RETRY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_84
## %bb.83:
	movl	52(%r15), %eax
	movl	%eax, 88(%r13)
	movl	%eax, 92(%r13)
LBB0_84:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rbx)
	je	LBB0_86
## %bb.85:
	movl	24(%r15), %eax
	movl	%eax, 96(%r13)
LBB0_86:
	movq	_IB_QP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_88
## %bb.87:
	movl	88(%r15), %edi
	movl	%edi, 168(%r13)
	callq	_rvt_timeout_to_jiffies
	movl	%eax, 172(%r13)
LBB0_88:
	movq	_IB_QP_QKEY@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_90
## %bb.89:
	movl	84(%r15), %eax
	movl	%eax, 164(%r13)
LBB0_90:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_IB_QP_MAX_DEST_RD_ATOMIC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_92
## %bb.91:
	movq	64(%r15), %rax
	movq	%rax, 104(%r13)
LBB0_92:
	movq	_IB_QP_MAX_QP_RD_ATOMIC@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_94
## %bb.93:
	movl	80(%r15), %eax
	movl	%eax, 160(%r13)
LBB0_94:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_96
## %bb.95:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	*%rax
LBB0_96:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock_irq
	cmpl	$131, -92(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_99
## %bb.97:
	movq	_IB_QPS_INIT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_99
## %bb.98:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_rvt_insert_qp
LBB0_99:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_101
## %bb.100:
	leaq	128(%r13), %rax
	movl	152(%r13), %ecx
	movl	%ecx, -136(%rbp)
	movq	%rax, -144(%rbp)
	movq	_IB_EVENT_QP_LAST_WQE_REACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -152(%rbp)
	movl	136(%r13), %esi
	leaq	-152(%rbp), %rdi
	callq	*144(%r13)
LBB0_101:
	xorl	%ebx, %ebx
	cmpb	$0, -45(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_103
## %bb.102:
	movq	%r13, %rax
	subq	$-128, %rax
	movl	152(%r13), %ecx
	movl	%ecx, -136(%rbp)
	movq	%rax, -144(%rbp)
	movq	_IB_EVENT_PATH_MIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -152(%rbp)
	movl	136(%r13), %esi
	leaq	-152(%rbp), %rdi
	callq	*144(%r13)
	jmp	LBB0_103
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
LJTI0_0:
	.long	L0_0_set_54
	.long	L0_0_set_53
	.long	L0_0_set_52
	.long	L0_0_set_50
	.long	L0_0_set_56
	.end_data_region
                                        ## -- End function
	.comm	_IB_QP_CUR_STATE,4,2            ## @IB_QP_CUR_STATE
	.comm	_IB_QP_STATE,4,2                ## @IB_QP_STATE
	.comm	_IB_QP_AV,4,2                   ## @IB_QP_AV
	.comm	_OPA_MCAST_NR,4,2               ## @OPA_MCAST_NR
	.comm	_IB_MULTICAST_LID_BASE,4,2      ## @IB_MULTICAST_LID_BASE
	.comm	_IB_QP_ALT_PATH,4,2             ## @IB_QP_ALT_PATH
	.comm	_IB_QP_PKEY_INDEX,4,2           ## @IB_QP_PKEY_INDEX
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ## @IB_QP_MIN_RNR_TIMER
	.comm	_IB_QP_PORT,4,2                 ## @IB_QP_PORT
	.comm	_IB_QPT_SMI,8,3                 ## @IB_QPT_SMI
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_IB_QP_DEST_QPN,4,2             ## @IB_QP_DEST_QPN
	.comm	_RVT_QPN_MASK,8,3               ## @RVT_QPN_MASK
	.comm	_IB_QP_RETRY_CNT,4,2            ## @IB_QP_RETRY_CNT
	.comm	_IB_QP_RNR_RETRY,4,2            ## @IB_QP_RNR_RETRY
	.comm	_IB_QP_PATH_MTU,4,2             ## @IB_QP_PATH_MTU
	.comm	_IB_QP_PATH_MIG_STATE,4,2       ## @IB_QP_PATH_MIG_STATE
	.comm	_IB_MIG_REARM,8,3               ## @IB_MIG_REARM
	.comm	_IB_MIG_ARMED,8,3               ## @IB_MIG_ARMED
	.comm	_IB_QPS_RTS,4,2                 ## @IB_QPS_RTS
	.comm	_IB_MIG_MIGRATED,8,3            ## @IB_MIG_MIGRATED
	.comm	_IB_QP_MAX_DEST_RD_ATOMIC,4,2   ## @IB_QP_MAX_DEST_RD_ATOMIC
	.comm	_RVT_R_COMM_EST,4,2             ## @RVT_R_COMM_EST
	.comm	_IB_QPT_RC,8,3                  ## @IB_QPT_RC
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ## @IB_WC_WR_FLUSH_ERR
	.comm	_IB_QP_SQ_PSN,4,2               ## @IB_QP_SQ_PSN
	.comm	_IB_QP_RQ_PSN,4,2               ## @IB_QP_RQ_PSN
	.comm	_IB_QP_ACCESS_FLAGS,4,2         ## @IB_QP_ACCESS_FLAGS
	.comm	_IB_QP_TIMEOUT,4,2              ## @IB_QP_TIMEOUT
	.comm	_IB_QP_QKEY,4,2                 ## @IB_QP_QKEY
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ## @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_IB_QPS_INIT,4,2                ## @IB_QPS_INIT
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ## @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IB_EVENT_PATH_MIG,4,2          ## @IB_EVENT_PATH_MIG
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_modify_qp                  ; -- Begin function rvt_modify_qp
	.p2align	2
_rvt_modify_qp:                         ; @rvt_modify_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
	ldr	x0, [x0, #8]
	bl	_ib_to_rvt
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_ibqp_to_rvtqp
	mov	x19, x0
	add	x0, x0, #112
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_spin_lock_irq
	add	x25, x19, #116
	mov	x0, x25
	bl	_spin_lock
	add	x26, x19, #120
	mov	x0, x26
	bl	_spin_lock
Lloh0:
	adrp	x8, _IB_QP_CUR_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QP_CUR_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	csel	x8, x19, x24, eq
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _IB_QP_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QP_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x21, x27
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x24, #4]
LBB0_2:
	ldr	x0, [x22, #8]
	ldr	x1, [x19, #8]
	bl	_rdma_cap_opa_ah
	mov	x20, x0
	ldr	w2, [x22]
	mov	x0, x27
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	mov	x1, x21
	mov	x3, x23
	bl	_ib_modify_qp_is_ok
	cbz	w0, LBB0_49
; %bb.3:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	blr	x8
	cbnz	x0, LBB0_49
LBB0_5:
Lloh6:
	adrp	x8, _IB_QP_AV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_QP_AV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.6:
	add	x28, x24, #96
	mov	x0, x28
	bl	_rdma_ah_get_dlid
	mov	x21, x0
	cbz	w20, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _OPA_MCAST_NR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPA_MCAST_NR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_opa_get_mcast_base
	cmp	x21, x0
	b.lt	LBB0_9
	b	LBB0_49
LBB0_8:
Lloh12:
	adrp	x8, _IB_MULTICAST_LID_BASE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_MULTICAST_LID_BASE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_be16_to_cpu
	cmp	x21, x0
	b.ge	LBB0_49
LBB0_9:
	ldr	w0, [x19, #152]
	mov	x1, x28
	bl	_rvt_check_ah
	cbnz	x0, LBB0_49
LBB0_10:
Lloh15:
	adrp	x8, _IB_QP_ALT_PATH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_QP_ALT_PATH@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_16
; %bb.11:
	add	x28, x24, #92
	mov	x0, x28
	bl	_rdma_ah_get_dlid
	mov	x21, x0
	cbz	w20, LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _OPA_MCAST_NR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OPA_MCAST_NR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_opa_get_mcast_base
	cmp	x21, x0
	b.lt	LBB0_14
	b	LBB0_49
LBB0_13:
Lloh21:
	adrp	x8, _IB_MULTICAST_LID_BASE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_MULTICAST_LID_BASE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_be16_to_cpu
	cmp	x21, x0
	b.ge	LBB0_49
LBB0_14:
	ldr	w0, [x19, #152]
	mov	x1, x28
	bl	_rvt_check_ah
	cbnz	x0, LBB0_49
; %bb.15:
	ldr	x20, [x24, #8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_rvt_get_npkeys
	cmp	x20, x0
	b.ge	LBB0_49
LBB0_16:
Lloh24:
	adrp	x20, _IB_QP_PKEY_INDEX@GOTPAGE
Lloh25:
	ldr	x20, [x20, _IB_QP_PKEY_INDEX@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w23
	b.eq	LBB0_18
; %bb.17:
	ldr	x21, [x24, #16]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_rvt_get_npkeys
	cmp	x21, x0
	b.ge	LBB0_49
LBB0_18:
Lloh26:
	adrp	x21, _IB_QP_MIN_RNR_TIMER@GOTPAGE
Lloh27:
	ldr	x21, [x21, _IB_QP_MIN_RNR_TIMER@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w23
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x24, #24]
	cmp	w8, #31
	b.gt	LBB0_49
LBB0_20:
Lloh28:
	adrp	x28, _IB_QP_PORT@GOTPAGE
Lloh29:
	ldr	x28, [x28, _IB_QP_PORT@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w23
	b.eq	LBB0_25
; %bb.21:
	ldr	x8, [x19, #128]
Lloh30:
	adrp	x9, _IB_QPT_SMI@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IB_QPT_SMI@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_49
; %bb.22:
Lloh33:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_49
; %bb.23:
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_49
; %bb.24:
	ldr	x9, [x22, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_49
LBB0_25:
Lloh36:
	adrp	x13, _IB_QP_DEST_QPN@GOTPAGE
Lloh37:
	ldr	x13, [x13, _IB_QP_DEST_QPN@GOTPAGEOFF]
	ldr	w8, [x13]
	tst	w8, w23
	b.eq	LBB0_27
; %bb.26:
	ldr	x8, [x24, #40]
Lloh38:
	adrp	x9, _RVT_QPN_MASK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _RVT_QPN_MASK@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_49
LBB0_27:
Lloh41:
	adrp	x8, _IB_QP_RETRY_CNT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IB_QP_RETRY_CNT@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_29
; %bb.28:
	ldr	w8, [x24, #48]
	cmp	w8, #7
	b.gt	LBB0_49
LBB0_29:
Lloh44:
	adrp	x8, _IB_QP_RNR_RETRY@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IB_QP_RNR_RETRY@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_31
; %bb.30:
	ldr	w8, [x24, #52]
	cmp	w8, #7
	b.gt	LBB0_49
LBB0_31:
Lloh47:
	adrp	x8, _IB_QP_PATH_MTU@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IB_QP_PATH_MTU@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_33
; %bb.32:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x0]
	mov	x1, x19
	mov	x2, x24
	mov	x28, x21
	mov	x21, x13
	blr	x8
	mov	x13, x21
	mov	x21, x28
Lloh50:
	adrp	x28, _IB_QP_PORT@GOTPAGE
Lloh51:
	ldr	x28, [x28, _IB_QP_PORT@GOTPAGEOFF]
	mov	x2, x0
	tbz	w0, #31, LBB0_34
	b	LBB0_49
LBB0_33:
	mov	w2, #0
LBB0_34:
Lloh52:
	adrp	x12, _IB_QP_PATH_MIG_STATE@GOTPAGE
Lloh53:
	ldr	x12, [x12, _IB_QP_PATH_MIG_STATE@GOTPAGEOFF]
	ldr	w8, [x12]
	tst	w8, w23
	b.eq	LBB0_38
; %bb.35:
	ldr	x8, [x24, #56]
Lloh54:
	adrp	x9, _IB_MIG_REARM@GOTPAGE
Lloh55:
	ldr	x9, [x9, _IB_MIG_REARM@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.36:
	ldr	x8, [x19, #16]
Lloh57:
	adrp	x9, _IB_MIG_ARMED@GOTPAGE
Lloh58:
	ldr	x9, [x9, _IB_MIG_ARMED@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_49
; %bb.37:
Lloh60:
	adrp	x8, _IB_QPS_RTS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IB_QPS_RTS@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_49
LBB0_38:
	mov	w8, #1
LBB0_39:
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
Lloh63:
	adrp	x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGE
Lloh64:
	ldr	x8, [x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_41
; %bb.40:
	ldr	x8, [x24, #64]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #32]
	cmp	x8, x9
	b.gt	LBB0_49
LBB0_41:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w8, w8, #128
	cmp	w8, #4
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	b.hi	LBB0_55
; %bb.42:
Lloh66:
	adrp	x9, lJTI0_0@PAGE
Lloh67:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_43
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_43:
	ldr	x8, [x19, #128]
Lloh68:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh69:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_49
; %bb.44:
	mov	w22, #0
	mov	w8, #128
	b	LBB0_57
LBB0_45:
Lloh71:
	adrp	x10, _IB_MIG_MIGRATED@GOTPAGE
Lloh72:
	ldr	x10, [x10, _IB_MIG_MIGRATED@GOTPAGEOFF]
Lloh73:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_49
; %bb.46:
	ldr	x8, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_49
; %bb.47:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w9, #129
	b.eq	LBB0_103
; %bb.48:
Lloh74:
	adrp	x9, _IB_QPS_RTS@GOTPAGE
Lloh75:
	ldr	x9, [x9, _IB_QPS_RTS@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w10, w9
	b.eq	LBB0_103
LBB0_49:
	mov	x0, x26
	bl	_spin_unlock
	mov	x0, x25
	bl	_spin_unlock
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_spin_unlock_irq
Lloh77:
	adrp	x8, _EINVAL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_50:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_51:
	mov	w22, #0
Lloh80:
	adrp	x8, _RVT_R_COMM_EST@GOTPAGE
Lloh81:
	ldr	x8, [x8, _RVT_R_COMM_EST@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	ldr	w9, [x19, #212]
	bic	w8, w9, w8
	str	w8, [x19, #212]
	mov	w8, #130
	b	LBB0_57
LBB0_52:
	ldr	w8, [x19]
	cmp	w8, #131
	b.ne	LBB0_104
; %bb.53:
	mov	w22, #0
	b	LBB0_58
LBB0_54:
Lloh83:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x22, x13
	bl	_rvt_error_qp
	mov	x13, x22
Lloh86:
	adrp	x12, _IB_QP_PATH_MIG_STATE@GOTPAGE
Lloh87:
	ldr	x12, [x12, _IB_QP_PATH_MIG_STATE@GOTPAGEOFF]
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	mov	x22, x0
	b	LBB0_58
LBB0_55:
	mov	w22, #0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_57
LBB0_56:
	mov	w22, #0
	ldp	w9, w8, [x19, #204]
	cmp	w8, w9
	cset	w8, ne
	str	w8, [x19, #24]
	mov	w8, #129
LBB0_57:
	str	w8, [x19]
LBB0_58:
	ldr	w8, [x20]
	tst	w8, w23
	b.eq	LBB0_60
; %bb.59:
	ldr	x8, [x24, #16]
	str	x8, [x19, #32]
LBB0_60:
	ldr	w8, [x28]
	tst	w8, w23
	b.eq	LBB0_62
; %bb.61:
	ldr	x8, [x24, #32]
	str	x8, [x19, #8]
LBB0_62:
	ldr	w8, [x13]
	tst	w8, w23
	ldr	w28, [sp, #8]                   ; 4-byte Folded Reload
	b.eq	LBB0_64
; %bb.63:
	ldr	x8, [x24, #40]
	str	x8, [x19, #40]
LBB0_64:
Lloh88:
	adrp	x8, _IB_QP_SQ_PSN@GOTPAGE
Lloh89:
	ldr	x8, [x8, _IB_QP_SQ_PSN@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_66
; %bb.65:
	ldr	w8, [x24, #72]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w9, [x9, #40]
	and	w8, w9, w8
	stp	w8, w8, [x19, #48]
	sub	w9, w8, #1
	stp	w8, w9, [x19, #56]
	str	w9, [x19, #64]
LBB0_66:
Lloh91:
	adrp	x8, _IB_QP_RQ_PSN@GOTPAGE
Lloh92:
	ldr	x8, [x8, _IB_QP_RQ_PSN@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_68
; %bb.67:
	ldr	w8, [x24, #76]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w9, [x9, #40]
	and	w8, w9, w8
	str	w8, [x19, #68]
LBB0_68:
Lloh94:
	adrp	x8, _IB_QP_ACCESS_FLAGS@GOTPAGE
Lloh95:
	ldr	x8, [x8, _IB_QP_ACCESS_FLAGS@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_70
; %bb.69:
	ldr	w8, [x24, #100]
	str	w8, [x19, #200]
LBB0_70:
Lloh97:
	adrp	x8, _IB_QP_AV@GOTPAGE
Lloh98:
	ldr	x8, [x8, _IB_QP_AV@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_72
; %bb.71:
	add	x0, x19, #188
	add	x20, x24, #96
	mov	x1, x20
	str	w28, [sp, #8]                   ; 4-byte Folded Spill
	mov	x28, x22
	mov	x22, x12
	bl	_rdma_replace_ah_attr
	mov	x0, x20
	bl	_rdma_ah_get_static_rate
	str	w0, [x19, #192]
	bl	_ib_rate_to_mbps
	mov	x12, x22
	mov	x22, x28
	ldp	w2, w28, [sp, #4]               ; 8-byte Folded Reload
	str	w0, [x19, #196]
LBB0_72:
Lloh100:
	adrp	x8, _IB_QP_ALT_PATH@GOTPAGE
Lloh101:
	ldr	x8, [x8, _IB_QP_ALT_PATH@GOTPAGEOFF]
Lloh102:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_74
; %bb.73:
	add	x0, x19, #184
	add	x1, x24, #92
	mov	x20, x12
	bl	_rdma_replace_ah_attr
	mov	x12, x20
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	ldr	x8, [x24, #8]
	str	x8, [x19, #72]
LBB0_74:
	ldr	w8, [x12]
	tst	w8, w23
	b.eq	LBB0_77
; %bb.75:
	ldr	x8, [x24, #56]
	str	x8, [x19, #16]
	tbnz	w28, #0, LBB0_77
; %bb.76:
	mov	x20, x19
	ldr	w8, [x20, #184]!
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_rdma_ah_get_port_num
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	stur	x0, [x20, #-176]
	ldur	x8, [x20, #-112]
	stur	x8, [x20, #-152]
LBB0_77:
Lloh103:
	adrp	x8, _IB_QP_PATH_MTU@GOTPAGE
Lloh104:
	ldr	x8, [x8, _IB_QP_PATH_MTU@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_79
; %bb.78:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x0, #16]
	mov	x1, x19
	blr	x8
	str	w0, [x19, #176]
	bl	_ilog2
	str	w0, [x19, #180]
LBB0_79:
Lloh106:
	adrp	x8, _IB_QP_RETRY_CNT@GOTPAGE
Lloh107:
	ldr	x8, [x8, _IB_QP_RETRY_CNT@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_81
; %bb.80:
	ldr	w8, [x24, #48]
	stp	w8, w8, [x19, #80]
LBB0_81:
Lloh109:
	adrp	x8, _IB_QP_RNR_RETRY@GOTPAGE
Lloh110:
	ldr	x8, [x8, _IB_QP_RNR_RETRY@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_83
; %bb.82:
	ldr	w8, [x24, #52]
	stp	w8, w8, [x19, #88]
LBB0_83:
	ldr	w8, [x21]
	tst	w8, w23
	b.eq	LBB0_85
; %bb.84:
	ldr	w8, [x24, #24]
	str	w8, [x19, #96]
LBB0_85:
Lloh112:
	adrp	x8, _IB_QP_TIMEOUT@GOTPAGE
Lloh113:
	ldr	x8, [x8, _IB_QP_TIMEOUT@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
	tst	w8, w23
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	b.eq	LBB0_87
; %bb.86:
	ldr	w0, [x24, #88]
	str	w0, [x19, #168]
	bl	_rvt_timeout_to_jiffies
	str	w0, [x19, #172]
LBB0_87:
Lloh115:
	adrp	x8, _IB_QP_QKEY@GOTPAGE
Lloh116:
	ldr	x8, [x8, _IB_QP_QKEY@GOTPAGEOFF]
Lloh117:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_89
; %bb.88:
	ldr	w8, [x24, #84]
	str	w8, [x19, #164]
LBB0_89:
Lloh118:
	adrp	x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGE
Lloh119:
	ldr	x8, [x8, _IB_QP_MAX_DEST_RD_ATOMIC@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_91
; %bb.90:
	ldr	x8, [x24, #64]
	str	x8, [x19, #104]
LBB0_91:
Lloh121:
	adrp	x8, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGE
Lloh122:
	ldr	x8, [x8, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_93
; %bb.92:
	ldr	w8, [x24, #80]
	str	w8, [x19, #160]
LBB0_93:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_95
; %bb.94:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	blr	x8
LBB0_95:
	mov	x0, x26
	bl	_spin_unlock
	mov	x0, x25
	bl	_spin_unlock
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_spin_unlock_irq
	cmp	w27, #131
	b.ne	LBB0_98
; %bb.96:
Lloh124:
	adrp	x8, _IB_QPS_INIT@GOTPAGE
Lloh125:
	ldr	x8, [x8, _IB_QPS_INIT@GOTPAGEOFF]
Lloh126:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_98
; %bb.97:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	bl	_rvt_insert_qp
LBB0_98:
	cbz	w22, LBB0_100
; %bb.99:
	add	x8, x19, #128
	ldr	w9, [x19, #152]
	str	w9, [sp, #56]
	str	x8, [sp, #48]
Lloh127:
	adrp	x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGE
Lloh128:
	ldr	x8, [x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGEOFF]
Lloh129:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	x8, [x19, #144]
	ldr	w1, [x19, #136]
	add	x0, sp, #40
	blr	x8
LBB0_100:
	tbnz	w28, #0, LBB0_102
; %bb.101:
	add	x8, x19, #128
	ldr	w9, [x19, #152]
	str	w9, [sp, #56]
	str	x8, [sp, #48]
Lloh130:
	adrp	x8, _IB_EVENT_PATH_MIG@GOTPAGE
Lloh131:
	ldr	x8, [x8, _IB_EVENT_PATH_MIG@GOTPAGEOFF]
Lloh132:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	x8, [x19, #144]
	ldr	w1, [x19, #136]
	add	x0, sp, #40
	blr	x8
LBB0_102:
	mov	w0, #0
	b	LBB0_50
LBB0_103:
Lloh133:
	adrp	x9, _IB_MIG_ARMED@GOTPAGE
Lloh134:
	ldr	x9, [x9, _IB_MIG_ARMED@GOTPAGEOFF]
Lloh135:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, ne
	b	LBB0_39
LBB0_104:
	ldr	w2, [x22]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	mov	x22, x21
	mov	x21, x13
	bl	_rvt_reset_qp
	mov	x13, x21
	mov	x21, x22
Lloh136:
	adrp	x12, _IB_QP_PATH_MIG_STATE@GOTPAGE
Lloh137:
	ldr	x12, [x12, _IB_QP_PATH_MIG_STATE@GOTPAGEOFF]
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	mov	w22, #0
	b	LBB0_58
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh136, Lloh137
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_43-LBB0_43)>>2
	.byte	(LBB0_56-LBB0_43)>>2
	.byte	(LBB0_51-LBB0_43)>>2
	.byte	(LBB0_52-LBB0_43)>>2
	.byte	(LBB0_54-LBB0_43)>>2
                                        ; -- End function
	.comm	_IB_QP_CUR_STATE,4,2            ; @IB_QP_CUR_STATE
	.comm	_IB_QP_STATE,4,2                ; @IB_QP_STATE
	.comm	_IB_QP_AV,4,2                   ; @IB_QP_AV
	.comm	_OPA_MCAST_NR,4,2               ; @OPA_MCAST_NR
	.comm	_IB_MULTICAST_LID_BASE,4,2      ; @IB_MULTICAST_LID_BASE
	.comm	_IB_QP_ALT_PATH,4,2             ; @IB_QP_ALT_PATH
	.comm	_IB_QP_PKEY_INDEX,4,2           ; @IB_QP_PKEY_INDEX
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ; @IB_QP_MIN_RNR_TIMER
	.comm	_IB_QP_PORT,4,2                 ; @IB_QP_PORT
	.comm	_IB_QPT_SMI,8,3                 ; @IB_QPT_SMI
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_IB_QP_DEST_QPN,4,2             ; @IB_QP_DEST_QPN
	.comm	_RVT_QPN_MASK,8,3               ; @RVT_QPN_MASK
	.comm	_IB_QP_RETRY_CNT,4,2            ; @IB_QP_RETRY_CNT
	.comm	_IB_QP_RNR_RETRY,4,2            ; @IB_QP_RNR_RETRY
	.comm	_IB_QP_PATH_MTU,4,2             ; @IB_QP_PATH_MTU
	.comm	_IB_QP_PATH_MIG_STATE,4,2       ; @IB_QP_PATH_MIG_STATE
	.comm	_IB_MIG_REARM,8,3               ; @IB_MIG_REARM
	.comm	_IB_MIG_ARMED,8,3               ; @IB_MIG_ARMED
	.comm	_IB_QPS_RTS,4,2                 ; @IB_QPS_RTS
	.comm	_IB_MIG_MIGRATED,8,3            ; @IB_MIG_MIGRATED
	.comm	_IB_QP_MAX_DEST_RD_ATOMIC,4,2   ; @IB_QP_MAX_DEST_RD_ATOMIC
	.comm	_RVT_R_COMM_EST,4,2             ; @RVT_R_COMM_EST
	.comm	_IB_QPT_RC,8,3                  ; @IB_QPT_RC
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ; @IB_WC_WR_FLUSH_ERR
	.comm	_IB_QP_SQ_PSN,4,2               ; @IB_QP_SQ_PSN
	.comm	_IB_QP_RQ_PSN,4,2               ; @IB_QP_RQ_PSN
	.comm	_IB_QP_ACCESS_FLAGS,4,2         ; @IB_QP_ACCESS_FLAGS
	.comm	_IB_QP_TIMEOUT,4,2              ; @IB_QP_TIMEOUT
	.comm	_IB_QP_QKEY,4,2                 ; @IB_QP_QKEY
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ; @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_IB_QPS_INIT,4,2                ; @IB_QPS_INIT
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ; @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IB_EVENT_PATH_MIG,4,2          ; @IB_EVENT_PATH_MIG
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
