	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ud_loopback
_ud_loopback:                           ## @ud_loopback
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	36(%rdi), %esi
	movl	52(%rdi), %edi
	callq	_to_iport
	movq	%rax, %r13
	movq	80(%r15), %r14
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	52(%r15), %edi
	callq	_ib_to_rvt
	movl	%eax, %ebx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_rvt_get_swqe_remote_qpn
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_rvt_lookup_qpn
	testq	%rax, %rax
	je	LBB0_48
## %bb.1:
	movq	%rax, %r12
	movq	40(%r15), %rax
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovel	%edx, %eax
	movq	40(%r12), %rsi
	cmpq	%rcx, %rsi
	cmovel	%edx, %esi
	cmpl	%eax, %esi
	jne	LBB0_3
## %bb.2:
	movq	_ib_rvt_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	_RVT_PROCESS_RECV_OK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_3
## %bb.4:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_rvt_get_swqe_ah_attr
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ppd_from_ibp
	movq	%rax, %rbx
	movl	48(%r12), %eax
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.5:
	movq	16(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_rdma_ah_get_sl
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	56(%r15), %rsi
	movq	%r13, %rdi
	callq	_hfi1_get_pkey
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_rdma_ah_get_path_bits
	movb	4(%rbx), %cl
	movl	$-1, %edx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	orl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%r13, %r14
	movslq	%edx, %r13
	movq	56(%r12), %rcx
	movq	%rbx, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_ingress_pkey_check
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.49:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_rdma_ah_get_sl
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	48(%r15), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	48(%r12), %r15d
	movq	%rbx, %rdi
	callq	_rdma_ah_get_dlid
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movq	%r13, %r9
	callq	_hfi1_bad_pkey
	jmp	LBB0_47
LBB0_3:
	incl	4(%r13)
LBB0_47:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	incl	4(%r13)
	xorl	%eax, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_6:
	movl	48(%r12), %eax
	movq	%r14, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	%r14, %rdi
	callq	_rvt_get_swqe_remote_qkey
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	callq	_rvt_get_swqe_remote_qkey
	jmp	LBB0_11
LBB0_9:
	movq	8(%r15), %rax
LBB0_11:
	xorl	%edi, %edi
	cmpq	8(%r12), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_47
LBB0_12:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r13
	leaq	-200(%rbp), %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	leaq	4(%r13), %rax
	movq	%rax, -200(%rbp)
	movq	8(%r14), %rax
	movq	_IB_WR_SEND_WITH_IMM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	_IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -140(%rbp)
	movl	24(%r14), %eax
	movl	%eax, -136(%rbp)
LBB0_14:
	leaq	32(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	16(%r12), %eax
	movq	_RVT_R_REUSE_SGE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_18
## %bb.15:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 16(%r12)
LBB0_16:
	movq	-200(%rbp), %rax
	xorl	%edi, %edi
	cmpq	24(%r12), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_23
## %bb.17:
	movl	(%r14), %eax
	orl	%eax, 16(%r12)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	jmp	LBB0_46
LBB0_18:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_rvt_get_rwqe
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:
	jne	LBB0_16
## %bb.21:
	cmpl	$0, 48(%r12)
	jne	LBB0_46
## %bb.22:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	jmp	LBB0_46
LBB0_23:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_rdma_ah_get_ah_flags
	movq	_IB_AH_GRH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.24:
	movq	%r14, %rdi
	callq	_rdma_ah_read_grh
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_HFI1_PKT_TYPE_16B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.25:
	cmpq	$0, -112(%rbp)
	jne	LBB0_27
## %bb.26:
	movq	_OPA_GID_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
LBB0_27:
	leaq	-104(%rbp), %rdi
	callq	_ib_is_opa_gid
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_HFI1_PORT_GUID_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_cpu_to_be64
	movl	%eax, -104(%rbp)
LBB0_29:
	leaq	-128(%rbp), %rbx
	leaq	-112(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_hfi1_make_grh
	leaq	72(%r12), %rsi
	movl	$4, %ecx
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_rvt_copy_sge
	movq	_IB_WC_GRH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -140(%rbp)
	jmp	LBB0_31
LBB0_19:
	movq	_IB_WC_LOC_QP_OP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rvt_rc_error
	jmp	LBB0_46
LBB0_30:
	leaq	72(%r12), %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	_rvt_skip_sge
LBB0_31:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	32(%rdx), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, -96(%rbp)
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movl	20(%rdx), %eax
	movl	%eax, -104(%rbp)
	testq	%r13, %r13
	je	LBB0_34
## %bb.32:
	leaq	72(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rvt_get_sge_length
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	movq	-112(%rbp), %rdx
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_rvt_copy_sge
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_rvt_update_sge
	subq	%rbx, %r13
	jne	LBB0_33
LBB0_34:
	leaq	72(%r12), %rdi
	callq	_rvt_put_ss
	movq	_RVT_R_WRID_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	68(%r12), %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_46
## %bb.35:
	movq	%r12, %rax
	addq	$40, %rax
	movl	64(%r12), %ecx
	movl	%ecx, -144(%rbp)
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -148(%rbp)
	movq	_IB_WC_RECV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -152(%rbp)
	movq	%rax, -160(%rbp)
	movl	48(%r15), %eax
	movl	%eax, -192(%rbp)
	movq	40(%r12), %rdx
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_IB_QPT_SMI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rcx, %rdx
	je	LBB0_38
## %bb.36:
	cmpq	%rax, %rdx
	je	LBB0_38
## %bb.37:
	xorl	%eax, %eax
	jmp	LBB0_42
LBB0_38:
	movq	40(%r15), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_40
## %bb.39:
	cmpq	%rax, %rdx
	je	LBB0_40
## %bb.41:
	movq	56(%r15), %rax
	jmp	LBB0_42
LBB0_40:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rvt_get_swqe_pkey_index
LBB0_42:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, -168(%rbp)
	movl	(%rbx), %r14d
	callq	_rdma_ah_get_path_bits
	movb	4(%rbx), %cl
	movl	$-1, %edx
	shll	%cl, %edx
	movl	$-1, %ebx
	notl	%edx
	andl	%eax, %edx
	orl	%r14d, %edx
	movq	_U16_MAX@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movl	%edx, -188(%rbp)
	jne	LBB0_45
## %bb.43:
	movq	40(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_45
## %bb.44:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	movl	%eax, -188(%rbp)
LBB0_45:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_rdma_ah_get_sl
	movq	%rax, -184(%rbp)
	movq	%r14, %rdi
	callq	_rdma_ah_get_dlid
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	4(%rcx), %cl
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	%ebx, -176(%rbp)
	movl	36(%r12), %eax
	movl	%eax, -172(%rbp)
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	andl	16(%rax), %edx
	leaq	-200(%rbp), %rsi
	movq	%r12, %rdi
	callq	_rvt_recv_cq
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_46:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_IB_QPT_UD,4,2                  ## @IB_QPT_UD
	.comm	_ib_rvt_state_ops,8,3           ## @ib_rvt_state_ops
	.comm	_RVT_PROCESS_RECV_OK,4,2        ## @RVT_PROCESS_RECV_OK
	.comm	_IB_WR_SEND_WITH_IMM,8,3        ## @IB_WR_SEND_WITH_IMM
	.comm	_IB_WC_WITH_IMM,4,2             ## @IB_WC_WITH_IMM
	.comm	_RVT_R_REUSE_SGE,4,2            ## @RVT_R_REUSE_SGE
	.comm	_IB_WC_LOC_QP_OP_ERR,4,2        ## @IB_WC_LOC_QP_OP_ERR
	.comm	_IB_AH_GRH,4,2                  ## @IB_AH_GRH
	.comm	_HFI1_PKT_TYPE_16B,8,3          ## @HFI1_PKT_TYPE_16B
	.comm	_OPA_GID_INDEX,8,3              ## @OPA_GID_INDEX
	.comm	_HFI1_PORT_GUID_INDEX,8,3       ## @HFI1_PORT_GUID_INDEX
	.comm	_IB_WC_GRH,4,2                  ## @IB_WC_GRH
	.comm	_RVT_R_WRID_VALID,4,2           ## @RVT_R_WRID_VALID
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_IB_WC_RECV,4,2                 ## @IB_WC_RECV
	.comm	_IB_QPT_SMI,8,3                 ## @IB_QPT_SMI
	.comm	_U16_MAX,4,2                    ## @U16_MAX
	.comm	_IB_LID_PERMISSIVE,4,2          ## @IB_LID_PERMISSIVE
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.no_dead_strip	_ud_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ud_loopback
_ud_loopback:                           ; @ud_loopback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0, #52]
	ldr	w1, [x22, #36]
	bl	_to_iport
	mov	x19, x0
	ldr	x28, [x22, #80]
	bl	_rcu_read_lock
	ldr	w0, [x22, #52]
	bl	_ib_to_rvt
	mov	x21, x0
	mov	x0, x20
	bl	_rvt_get_swqe_remote_qpn
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_rvt_lookup_qpn
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	x8, [x22, #40]
Lloh0:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IB_QPT_UD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_QPT_UD@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, w10, w8, eq
	mov	x23, x0
	ldr	x11, [x23, #40]!
	cmp	x11, x9
	csel	w9, w10, w11, eq
	cmp	w9, w8
	b.ne	LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _ib_rvt_state_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ib_rvt_state_ops@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w8, [x8, x9, lsl #2]
Lloh9:
	adrp	x9, _RVT_PROCESS_RECV_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RVT_PROCESS_RECV_OK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_rvt_get_swqe_ah_attr
	mov	x26, x0
	mov	x0, x19
	bl	_ppd_from_ibp
	mov	x24, x0
	ldr	w8, [x21, #48]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.4:
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x25, [x19, #16]
	mov	x0, x26
	bl	_rdma_ah_get_sl
	mov	x28, x26
	ldr	w27, [x25, x0, lsl #2]
	ldr	x1, [x22, #56]
	mov	x0, x19
	bl	_hfi1_get_pkey
	mov	x25, x0
	ldr	w26, [x24]
	mov	x0, x28
	bl	_rdma_ah_get_path_bits
	ldr	w8, [x24, #4]
	mov	w9, #-1
	lsl	w8, w9, w8
	bic	w8, w0, w8
	orr	w8, w8, w26
	sxtw	x26, w8
	ldr	x3, [x21, #56]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x27
	mov	x4, x26
	mov	w5, #0
	bl	_ingress_pkey_check
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x28
	bl	_rdma_ah_get_sl
	mov	x20, x0
	ldr	w22, [x22, #48]
	ldr	w21, [x21, #48]
	mov	x0, x28
	bl	_rdma_ah_get_dlid
	mov	x6, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	mov	x3, x22
	mov	x4, x21
	mov	x5, x26
	bl	_hfi1_bad_pkey
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_7:
	bl	_rcu_read_unlock
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_8:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_rcu_read_unlock
LBB0_9:
	ldr	w8, [x21, #48]
	mov	x26, x28
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
LBB0_10:
	cbz	w8, LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_rvt_get_swqe_remote_qkey
	tbnz	w0, #31, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_rvt_get_swqe_remote_qkey
	b	LBB0_14
LBB0_13:
	ldr	x0, [x22, #8]
LBB0_14:
	ldr	x8, [x21, #8]
	cmp	x0, x8
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_7
LBB0_15:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x26, [x20]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	add	x8, x26, #4
	str	x8, [sp, #24]
	ldr	x8, [x20, #8]
Lloh12:
	adrp	x9, _IB_WR_SEND_WITH_IMM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_WR_SEND_WITH_IMM@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
Lloh15:
	adrp	x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x20, #24]
	stp	w8, w9, [sp, #84]
LBB0_17:
	add	x25, x21, #32
	mov	x0, x25
	bl	_spin_lock_irqsave
	ldr	w8, [x21, #16]
Lloh18:
	adrp	x27, _RVT_R_REUSE_SGE@GOTPAGE
Lloh19:
	ldr	x27, [x27, _RVT_R_REUSE_SGE@GOTPAGEOFF]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.18:
	bic	w8, w8, w9
	str	w8, [x21, #16]
LBB0_19:
	ldr	x8, [sp, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_25
; %bb.20:
	ldr	w8, [x27]
	ldr	w9, [x21, #16]
	orr	w8, w9, w8
	str	w8, [x21, #16]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_47
LBB0_21:
	mov	x0, x21
	mov	w1, #0
	bl	_rvt_get_rwqe
	tbnz	w0, #31, LBB0_32
; %bb.22:
	cbnz	w0, LBB0_19
; %bb.23:
	ldr	w8, [x21, #48]
	cbnz	w8, LBB0_47
; %bb.24:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_47
LBB0_25:
	str	x24, [sp]                       ; 8-byte Folded Spill
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x24
	bl	_rdma_ah_get_ah_flags
Lloh20:
	adrp	x8, _IB_AH_GRH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IB_AH_GRH@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_33
; %bb.26:
	mov	x0, x24
	bl	_rdma_ah_read_grh
	ldr	q0, [x0]
	str	q0, [sp, #96]
	ldr	x8, [x28]
Lloh23:
	adrp	x9, _HFI1_PKT_TYPE_16B@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HFI1_PKT_TYPE_16B@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh26:
	adrp	x24, _IB_QPT_GSI@GOTPAGE
Lloh27:
	ldr	x24, [x24, _IB_QPT_GSI@GOTPAGEOFF]
	b.ne	LBB0_31
; %bb.27:
	ldr	x8, [sp, #96]
	cbnz	x8, LBB0_29
; %bb.28:
Lloh28:
	adrp	x8, _OPA_GID_INDEX@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OPA_GID_INDEX@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [sp, #96]
LBB0_29:
	add	x8, sp, #96
	orr	x0, x8, #0x8
	bl	_ib_is_opa_gid
	cbz	x0, LBB0_31
; %bb.30:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
Lloh31:
	adrp	x9, _HFI1_PORT_GUID_INDEX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _HFI1_PORT_GUID_INDEX@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_cpu_to_be64
	str	w0, [sp, #104]
LBB0_31:
	add	x1, sp, #16
	add	x2, sp, #96
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_hfi1_make_grh
	add	x1, x21, #72
	add	x2, sp, #16
	mov	x0, x21
	mov	w3, #4
	mov	w4, #1
	mov	w5, #0
	bl	_rvt_copy_sge
Lloh34:
	adrp	x8, _IB_WC_GRH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IB_WC_GRH@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [sp, #84]
	orr	w8, w9, w8
	str	w8, [sp, #84]
	b	LBB0_34
LBB0_32:
Lloh37:
	adrp	x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_rvt_rc_error
	b	LBB0_47
LBB0_33:
	add	x0, x21, #72
	mov	w1, #4
	mov	w2, #1
	bl	_rvt_skip_sge
Lloh40:
	adrp	x24, _IB_QPT_GSI@GOTPAGE
Lloh41:
	ldr	x24, [x24, _IB_QPT_GSI@GOTPAGEOFF]
LBB0_34:
	ldr	x8, [x20, #32]
	add	x9, x8, #8
	str	x9, [sp, #112]
	ldr	x8, [x8]
	str	x8, [sp, #96]
	ldr	w8, [x20, #20]
	str	w8, [sp, #104]
	cbz	x26, LBB0_37
; %bb.35:
	add	x27, x21, #72
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #96
	mov	x1, x26
	bl	_rvt_get_sge_length
	mov	x28, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	ldr	x2, [sp, #96]
	mov	x0, x21
	mov	x1, x27
	mov	x3, x28
	mov	w4, #1
	mov	w5, #0
	bl	_rvt_copy_sge
	add	x0, sp, #96
	mov	x1, x28
	mov	w2, #0
	bl	_rvt_update_sge
	subs	x26, x26, x28
	b.ne	LBB0_36
LBB0_37:
	add	x0, x21, #72
	bl	_rvt_put_ss
Lloh42:
	adrp	x8, _RVT_R_WRID_VALID@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RVT_R_WRID_VALID@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	add	x1, x21, #68
	bl	_test_and_clear_bit
	cbz	w0, LBB0_47
; %bb.38:
	ldr	w8, [x21, #64]
	str	w8, [sp, #80]
Lloh45:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _IB_WC_RECV@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IB_WC_RECV@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #72]
	str	x23, [sp, #64]
	ldr	w8, [x22, #48]
	str	w8, [sp, #32]
	ldr	x10, [x21, #40]
	ldr	x8, [x24]
Lloh51:
	adrp	x9, _IB_QPT_SMI@GOTPAGE
Lloh52:
	ldr	x9, [x9, _IB_QPT_SMI@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_41
; %bb.39:
	ldr	x10, [x22, #40]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_42
; %bb.40:
	mov	x0, x20
	bl	_rvt_get_swqe_pkey_index
	b	LBB0_43
LBB0_41:
	mov	x0, #0
	b	LBB0_43
LBB0_42:
	ldr	x0, [x22, #56]
LBB0_43:
	ldp	x23, x24, [sp]                  ; 16-byte Folded Reload
	str	x0, [sp, #56]
	ldr	w26, [x23]
	mov	x0, x24
	bl	_rdma_ah_get_path_bits
	ldr	w8, [x23, #4]
	mov	w23, #-1
	lsl	w8, w23, w8
	bic	w8, w0, w8
	orr	w8, w8, w26
Lloh54:
	adrp	x9, _U16_MAX@GOTPAGE
Lloh55:
	ldr	x9, [x9, _U16_MAX@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	ands	w8, w8, w9
	str	w8, [sp, #36]
	b.ne	LBB0_46
; %bb.44:
	ldr	x8, [x22, #40]
Lloh57:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh58:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_46
; %bb.45:
Lloh60:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	bl	_be16_to_cpu
	str	w0, [sp, #36]
LBB0_46:
	mov	x0, x24
	bl	_rdma_ah_get_sl
	str	x0, [sp, #40]
	mov	x0, x24
	bl	_rdma_ah_get_dlid
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x8, #4]
	lsl	w8, w23, w8
	bic	w8, w0, w8
	ldr	w9, [x21, #36]
	stp	w8, w9, [sp, #48]
	ldr	w8, [x20, #16]
Lloh63:
	adrp	x9, _IB_SEND_SOLICITED@GOTPAGE
Lloh64:
	ldr	x9, [x9, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	and	w2, w9, w8
	add	x1, sp, #24
	mov	x0, x21
	bl	_rvt_recv_cq
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_47:
	mov	x0, x25
	bl	_spin_unlock_irqrestore
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_IB_QPT_UD,4,2                  ; @IB_QPT_UD
	.comm	_ib_rvt_state_ops,8,3           ; @ib_rvt_state_ops
	.comm	_RVT_PROCESS_RECV_OK,4,2        ; @RVT_PROCESS_RECV_OK
	.comm	_IB_WR_SEND_WITH_IMM,8,3        ; @IB_WR_SEND_WITH_IMM
	.comm	_IB_WC_WITH_IMM,4,2             ; @IB_WC_WITH_IMM
	.comm	_RVT_R_REUSE_SGE,4,2            ; @RVT_R_REUSE_SGE
	.comm	_IB_WC_LOC_QP_OP_ERR,4,2        ; @IB_WC_LOC_QP_OP_ERR
	.comm	_IB_AH_GRH,4,2                  ; @IB_AH_GRH
	.comm	_HFI1_PKT_TYPE_16B,8,3          ; @HFI1_PKT_TYPE_16B
	.comm	_OPA_GID_INDEX,8,3              ; @OPA_GID_INDEX
	.comm	_HFI1_PORT_GUID_INDEX,8,3       ; @HFI1_PORT_GUID_INDEX
	.comm	_IB_WC_GRH,4,2                  ; @IB_WC_GRH
	.comm	_RVT_R_WRID_VALID,4,2           ; @RVT_R_WRID_VALID
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_IB_WC_RECV,4,2                 ; @IB_WC_RECV
	.comm	_IB_QPT_SMI,8,3                 ; @IB_QPT_SMI
	.comm	_U16_MAX,4,2                    ; @U16_MAX
	.comm	_IB_LID_PERMISSIVE,4,2          ; @IB_LID_PERMISSIVE
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.no_dead_strip	_ud_loopback
.subsections_via_symbols
