	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipath_ruc_loopback
_ipath_ruc_loopback:                    ## @ipath_ruc_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	%rdi, %rbx
	movl	120(%rdi), %edi
	callq	_to_idev
	movq	%rax, %r15
	leaq	8(%rax), %rdi
	movl	140(%rbx), %esi
	callq	_ipath_lookup_qpn
	movq	%rax, %r12
	leaq	88(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_IPATH_S_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IPATH_S_ANY_WAIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	jne	LBB0_65
## %bb.1:
	movq	_ib_ipath_state_ops@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rbx), %rsi
	movq	_IPATH_PROCESS_OR_FLUSH_SEND@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, (%rdx,%rsi,4)
	je	LBB0_65
## %bb.2:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	16(%rbx), %rsi
	cmpq	24(%rbx), %rsi
	je	LBB0_64
## %bb.3:
	leaq	96(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	152(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	168(%rbx), %r14
	leaq	216(%r12), %r15
	leaq	232(%r12), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	148(%r12), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	96(%r12), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_57:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	movl	144(%r12), %eax
	movl	%eax, -136(%rbp)
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -168(%rbp)
	movl	(%r13), %eax
	movl	%eax, -176(%rbp)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -144(%rbp)
	movl	140(%r12), %eax
	movl	%eax, -152(%rbp)
	movl	136(%r12), %eax
	movl	%eax, -156(%rbp)
	movl	132(%r12), %eax
	movl	%eax, -160(%rbp)
	movl	$1, -172(%rbp)
	movl	124(%r12), %edi
	callq	_to_icq
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	12(%r13), %edx
	movl	%eax, %edi
	leaq	-176(%rbp), %rsi
	callq	_ipath_cq_enter
LBB0_58:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irqsave
	movl	-60(%rbp), %edx                 ## 4-byte Reload
LBB0_59:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	64(%rbx), %rax
	movq	%rax, 56(%rbx)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_ipath_send_complete
	movq	16(%rbx), %rsi
	cmpq	24(%rbx), %rsi
	je	LBB0_64
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
	movq	%rbx, %rdi
	callq	_get_swqe_ptr
	movq	%rax, %r13
	movq	_ib_ipath_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_IPATH_PROCESS_NEXT_SEND_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	cmpq	40(%rbx), %rax
	movl	$0, %ecx
	cmovgeq	%rcx, %rax
	movq	%rax, 32(%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_ib_ipath_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movq	_IPATH_PROCESS_RECV_OK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-176(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	64(%r13), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%r14)
	movups	%xmm1, 16(%r14)
	movups	%xmm0, (%r14)
	movq	64(%r13), %rax
	addq	$48, %rax
	movq	%rax, 152(%rbx)
	movq	48(%r13), %rax
	movq	%rax, 160(%rbx)
	movl	(%r13), %eax
	movl	%eax, 48(%rbx)
	movl	8(%r13), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_46
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_ACCESS_REMOTE_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	52(%r12), %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_35
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	32(%r13), %r8d
	movl	36(%r13), %ecx
	movq	_IB_ACCESS_REMOTE_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_ipath_rkey_ok
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	272(%r12), %rsi
	movq	24(%r13), %r12
	cmpl	$133, 8(%r13)
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_atomic64_add_return
	cltq
	subq	%r12, %rax
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IPATH_FLUSH_SEND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_64
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_59
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movl	56(%r13), %eax
	movl	%eax, -128(%rbp)
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_ipath_get_rwqe
	testl	%eax, %eax
	jne	LBB0_30
	jmp	LBB0_19
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	52(%r12), %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_35
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movl	56(%r13), %eax
	movl	%eax, -128(%rbp)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ipath_get_rwqe
	testl	%eax, %eax
	je	LBB0_19
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	52(%r12), %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_35
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edx
	testl	%edx, %edx
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	40(%r13), %r8d
	movl	44(%r13), %ecx
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ipath_rkey_ok
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	je	LBB0_30
	jmp	LBB0_41
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	96(%r12), %rax
	movq	_IB_QPT_UC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_58
	jmp	LBB0_20
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	52(%r12), %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_35
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	44(%r13), %ecx
	movl	(%r13), %edx
	movl	40(%r13), %r8d
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_ipath_rkey_ok
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_41
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	64(%r13), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm2, 32(%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	movq	64(%r13), %rax
	addq	$48, %rax
	movq	%rax, 216(%r12)
	movq	48(%r13), %rax
	movq	%rax, 224(%r12)
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	48(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_31
LBB0_54:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IPATH_R_WRID_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_test_and_clear_bit
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_58
## %bb.55:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$130, 8(%r13)
	movq	_IB_WC_RECV@GOTPCREL(%rip), %rax
	jne	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_IB_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_51:                                ##   in Loop: Header=BB0_31 Depth=2
	movq	$0, 184(%rbx)
	xorl	%edx, %edx
LBB0_52:                                ##   in Loop: Header=BB0_31 Depth=2
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	shlq	$4, %rdx
	movq	8(%rax,%rdx), %rcx
	movq	%rcx, 208(%rbx)
	movq	(%rax,%rdx), %rax
	movq	%rax, 168(%rbx)
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_31 Depth=2
	movl	48(%rbx), %eax
	subl	%r12d, %eax
	movl	%eax, 48(%rbx)
	je	LBB0_54
LBB0_31:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%eax, %r12
	movq	168(%rbx), %rax
	cmpq	%r12, %rax
	cmovlq	%rax, %r12
	movq	176(%rbx), %rax
	cmpq	%rax, %r12
	cmovgeq	%rax, %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_BUG_ON
	movq	208(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_ipath_copy_sge
	addq	%r12, 208(%rbx)
	movq	168(%rbx), %rax
	movq	%rax, %rcx
	subq	%r12, %rcx
	movq	%rcx, 168(%rbx)
	subq	%r12, 176(%rbx)
	jne	LBB0_47
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	decq	160(%rbx)
	je	LBB0_53
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	leaq	48(%rax), %rcx
	movq	%rcx, (%rdx)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%r14)
	movups	%xmm1, 16(%r14)
	movups	%xmm0, (%r14)
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_31 Depth=2
	cmpq	%r12, %rax
	jne	LBB0_53
## %bb.48:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	200(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_53
## %bb.49:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	184(%rbx), %rdx
	movq	192(%rbx), %rcx
	incq	%rdx
	movq	%rdx, 184(%rbx)
	movq	_IPATH_SEGSZ@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_31 Depth=2
	incq	%rcx
	movq	%rcx, 192(%rbx)
	cmpq	(%rax), %rcx
	jl	LBB0_51
	jmp	LBB0_54
LBB0_44:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r13), %edx
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_cmpxchg
	cltq
LBB0_45:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	208(%rbx), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_58
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	movq	_IB_WC_RETRY_EXC_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_14:
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_35:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_IB_WC_LOC_QP_OP_ERR@GOTPCREL(%rip), %rax
	movq	_IB_WC_REM_INV_REQ_ERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_36
LBB0_41:
	movq	_IB_WC_LOC_PROT_ERR@GOTPCREL(%rip), %rax
	movq	_IB_WC_REM_ACCESS_ERR@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_36:
	movl	(%rcx), %r15d
	movq	(%rax), %rsi
	movq	%rsi, -168(%rbp)
	movq	%r12, %rdi
	callq	_ipath_rc_error
LBB0_37:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_ipath_send_complete
	movq	96(%rbx), %rax
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_64
## %bb.38:
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_error_qp
	movl	%eax, %r15d
	movq	_IPATH_S_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	testl	%r15d, %r15d
	je	LBB0_66
## %bb.39:
	movl	120(%rbx), %eax
	movl	%eax, -184(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -192(%rbp)
	movq	_IB_EVENT_QP_LAST_WQE_REACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -200(%rbp)
	movl	104(%rbx), %esi
	leaq	-200(%rbp), %rdi
	callq	*112(%rbx)
	jmp	LBB0_66
LBB0_20:
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.60:
	cmpq	$6, 64(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jg	LBB0_62
## %bb.61:
	decq	%rax
	movq	%rax, 56(%rbx)
LBB0_62:
	callq	_spin_lock_irqsave
	movq	_ib_ipath_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	_IPATH_PROCESS_RECV_OK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_64
## %bb.63:
	movq	_IPATH_S_WAITING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	_ib_ipath_rnr_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	72(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 128(%rbx)
	movq	%rbx, %rdi
	callq	_ipath_insert_rnr_queue
LBB0_64:
	movq	_IPATH_S_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_65:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_66:
	testq	%r12, %r12
	je	LBB0_69
## %bb.67:
	leaq	84(%r12), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_69
## %bb.68:
	addq	$80, %r12
	movq	%r12, %rdi
	callq	_wake_up
LBB0_69:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	movq	_IB_WC_LOC_QP_OP_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_21:
	movq	_IB_WC_RNR_RETRY_EXC_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_27
	.long	L0_0_set_34
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_IPATH_S_BUSY,4,2               ## @IPATH_S_BUSY
	.comm	_IPATH_S_ANY_WAIT,4,2           ## @IPATH_S_ANY_WAIT
	.comm	_ib_ipath_state_ops,8,3         ## @ib_ipath_state_ops
	.comm	_IPATH_PROCESS_OR_FLUSH_SEND,4,2 ## @IPATH_PROCESS_OR_FLUSH_SEND
	.comm	_IPATH_PROCESS_NEXT_SEND_OK,4,2 ## @IPATH_PROCESS_NEXT_SEND_OK
	.comm	_IPATH_FLUSH_SEND,4,2           ## @IPATH_FLUSH_SEND
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ## @IB_WC_WR_FLUSH_ERR
	.comm	_IPATH_PROCESS_RECV_OK,4,2      ## @IPATH_PROCESS_RECV_OK
	.comm	_IB_QPT_RC,8,3                  ## @IB_QPT_RC
	.comm	_IB_WC_RETRY_EXC_ERR,4,2        ## @IB_WC_RETRY_EXC_ERR
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_IB_WC_WITH_IMM,8,3             ## @IB_WC_WITH_IMM
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ## @IB_ACCESS_REMOTE_ATOMIC
	.comm	_IB_WC_LOC_QP_OP_ERR,8,3        ## @IB_WC_LOC_QP_OP_ERR
	.comm	_IPATH_SEGSZ,8,3                ## @IPATH_SEGSZ
	.comm	_IPATH_R_WRID_VALID,4,2         ## @IPATH_R_WRID_VALID
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ## @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_IB_WC_RECV,4,2                 ## @IB_WC_RECV
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.comm	_IB_QPT_UC,8,3                  ## @IB_QPT_UC
	.comm	_IB_WC_RNR_RETRY_EXC_ERR,4,2    ## @IB_WC_RNR_RETRY_EXC_ERR
	.comm	_IPATH_S_WAITING,4,2            ## @IPATH_S_WAITING
	.comm	_ib_ipath_rnr_table,8,3         ## @ib_ipath_rnr_table
	.comm	_IB_WC_REM_INV_REQ_ERR,4,2      ## @IB_WC_REM_INV_REQ_ERR
	.comm	_IB_WC_REM_ACCESS_ERR,4,2       ## @IB_WC_REM_ACCESS_ERR
	.comm	_IB_WC_LOC_PROT_ERR,8,3         ## @IB_WC_LOC_PROT_ERR
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ## @IB_EVENT_QP_LAST_WQE_REACHED
	.no_dead_strip	_ipath_ruc_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipath_ruc_loopback
_ipath_ruc_loopback:                    ; @ipath_ruc_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, x0
	ldr	w0, [x0, #120]
	bl	_to_idev
	mov	x22, x0
	add	x0, x0, #8
	ldr	w1, [x20, #140]
	bl	_ipath_lookup_qpn
	mov	x19, x0
	add	x21, x20, #88
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IPATH_S_BUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPATH_S_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IPATH_S_ANY_WAIT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPATH_S_ANY_WAIT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.ne	LBB0_60
; %bb.1:
Lloh6:
	adrp	x28, _ib_ipath_state_ops@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ib_ipath_state_ops@GOTPAGEOFF]
	ldr	x10, [x28]
	ldr	x11, [x20, #8]
	ldr	w10, [x10, x11, lsl #2]
Lloh8:
	adrp	x11, _IPATH_PROCESS_OR_FLUSH_SEND@GOTPAGE
Lloh9:
	ldr	x11, [x11, _IPATH_PROCESS_OR_FLUSH_SEND@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_60
; %bb.2:
	orr	w8, w9, w8
	str	w8, [x20]
	ldp	x1, x8, [x20, #16]
	cmp	x1, x8
	b.eq	LBB0_59
; %bb.3:
	add	x9, x20, #96
	add	x24, x20, #152
	add	x26, x20, #168
	add	x25, x19, #216
	add	x8, x19, #232
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	add	x9, x19, #148
	add	x8, x19, #96
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #96]
Lloh11:
	adrp	x9, _IB_QPT_UC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_QPT_UC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_54
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_spin_lock_irqsave
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20, #64]
	str	x8, [x20, #56]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x27
	bl	_ipath_send_complete
	ldp	x1, x8, [x20, #16]
	cmp	x1, x8
	b.eq	LBB0_59
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
	mov	x0, x20
	bl	_get_swqe_ptr
	mov	x23, x0
	ldr	x8, [x28]
	ldr	x9, [x20, #8]
	ldr	w8, [x8, x9, lsl #2]
Lloh14:
	adrp	x9, _IPATH_PROCESS_NEXT_SEND_OK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IPATH_PROCESS_NEXT_SEND_OK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20, #16]
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x8, #1
	ldr	x10, [x20, #40]
	cmp	x9, x10
	csinc	x8, xzr, x8, ge
	str	x8, [x20, #32]
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	cbz	x19, LBB0_45
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
Lloh17:
	adrp	x9, _IPATH_PROCESS_RECV_OK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IPATH_PROCESS_RECV_OK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh20:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh22:
	ldr	w27, [x8]
	ldr	x8, [x23, #64]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [x26, #16]
	str	q0, [x26]
	ldr	x8, [x23, #64]
	add	x8, x8, #48
	str	x8, [x20, #152]
	ldr	x8, [x23, #48]
	str	x8, [x20, #160]
	ldr	w8, [x23]
	str	w8, [x20, #48]
	ldr	w8, [x23, #8]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_65
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh23:
	adrp	x11, lJTI0_0@PAGE
Lloh24:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_14
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #52]
Lloh25:
	adrp	x28, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGE
Lloh26:
	ldr	x28, [x28, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGEOFF]
	ldr	w9, [x28]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_48
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	w4, w3, [x23, #32]
	ldr	w5, [x28]
	mov	x0, x19
	mov	x1, x25
	mov	w2, #8
	bl	_ipath_rkey_ok
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_49
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x19, #272]
	ldr	x28, [x23, #24]
	ldr	w8, [x23, #8]
	cmp	w8, #133
	b.ne	LBB0_43
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
	bl	_atomic64_add_return
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	sub	x8, x8, x28
	b	LBB0_44
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh27:
	adrp	x9, _IPATH_FLUSH_SEND@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IPATH_FLUSH_SEND@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_59
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh30:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh32:
	ldr	w27, [x8]
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh33:
	adrp	x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [sp, #120]
	ldr	w8, [x23, #56]
	str	w8, [sp, #112]
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_ipath_get_rwqe
	cbnz	w0, LBB0_27
	b	LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #52]
Lloh36:
	adrp	x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_48
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh39:
	adrp	x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [sp, #120]
	ldr	w8, [x23, #56]
	str	w8, [sp, #112]
	mov	x0, x19
	mov	w1, #1
	bl	_ipath_get_rwqe
	cbz	w0, LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #52]
Lloh42:
	adrp	x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_48
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x23]
	cbz	w2, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	w4, w3, [x23, #40]
Lloh45:
	adrp	x8, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh47:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x25
	bl	_ipath_rkey_ok
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_49
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #48]
	cbnz	w8, LBB0_34
	b	LBB0_41
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #52]
Lloh48:
	adrp	x28, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh49:
	ldr	x28, [x28, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
	ldr	w9, [x28]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_48
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x23]
	ldp	w4, w3, [x23, #40]
	ldr	w5, [x28]
	mov	x0, x19
	mov	x1, x24
	bl	_ipath_rkey_ok
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	w0, LBB0_49
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23, #64]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	q1, q2, [x8, #16]
	str	q0, [x8]
	ldr	x8, [x23, #64]
	add	x8, x8, #48
	str	x8, [x19, #216]
	ldr	x8, [x23, #48]
	str	x8, [x19, #224]
	ldr	w8, [x20, #48]
	cbnz	w8, LBB0_34
	b	LBB0_41
LBB0_31:                                ;   in Loop: Header=BB0_34 Depth=2
	mov	x10, #0
	str	xzr, [x20, #184]
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=2
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	add	x8, x8, x10, lsl #4
	ldr	x9, [x8, #8]
	str	x9, [x20, #208]
	ldr	x8, [x8]
	str	x8, [x20, #168]
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=2
	ldr	w8, [x20, #48]
	subs	w8, w8, w28
	str	w8, [x20, #48]
	b.eq	LBB0_41
LBB0_34:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x8, w8
	ldp	x9, x10, [x20, #168]
	cmp	x9, x8
	csel	x8, x9, x8, lt
	cmp	x8, x10
	csel	x28, x8, x10, lt
	cmp	x28, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x1, [x20, #208]
	mov	x0, x25
	mov	x2, x28
	bl	_ipath_copy_sge
	ldr	x8, [x20, #208]
	add	x8, x8, x28
	str	x8, [x20, #208]
	ldp	x8, x9, [x20, #168]
	sub	x10, x8, x28
	subs	x9, x9, x28
	stp	x10, x9, [x20, #168]
	b.ne	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	ldr	x8, [x20, #160]
	subs	x8, x8, #1
	str	x8, [x20, #160]
	b.eq	LBB0_33
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=2
	ldr	x8, [x24]
	add	x9, x8, #48
	str	x9, [x24]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [x26, #16]
	str	q0, [x26]
	b	LBB0_33
LBB0_37:                                ;   in Loop: Header=BB0_34 Depth=2
	cmp	x8, x28
	b.ne	LBB0_33
; %bb.38:                               ;   in Loop: Header=BB0_34 Depth=2
	ldr	x8, [x20, #200]
	cbz	x8, LBB0_33
; %bb.39:                               ;   in Loop: Header=BB0_34 Depth=2
	ldp	x10, x9, [x20, #184]
	add	x10, x10, #1
	str	x10, [x20, #184]
Lloh50:
	adrp	x11, _IPATH_SEGSZ@GOTPAGE
Lloh51:
	ldr	x11, [x11, _IPATH_SEGSZ@GOTPAGEOFF]
Lloh52:
	ldr	x11, [x11]
	cmp	x10, x11
	b.lt	LBB0_32
; %bb.40:                               ;   in Loop: Header=BB0_34 Depth=2
	add	x9, x9, #1
	str	x9, [x20, #192]
	ldr	x10, [x8]
	cmp	x9, x10
	b.lt	LBB0_31
LBB0_41:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh53:
	adrp	x8, _IPATH_R_WRID_VALID@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IPATH_R_WRID_VALID@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	bl	_test_and_clear_bit
Lloh56:
	adrp	x28, _ib_ipath_state_ops@GOTPAGE
Lloh57:
	ldr	x28, [x28, _ib_ipath_state_ops@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.42:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23, #8]
	cmp	w8, #130
Lloh58:
	adrp	x8, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
Lloh60:
	adrp	x9, _IB_WC_RECV@GOTPAGE
Lloh61:
	ldr	x9, [x9, _IB_WC_RECV@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #140]
	stp	w9, w8, [sp, #104]
Lloh62:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh63:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w11, [x23]
	str	w10, [sp, #88]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x9, [sp, #96]
	ldur	d0, [x19, #132]
	str	d0, [sp, #80]
	mov	w8, #1
	stp	w11, w8, [sp, #64]
	ldr	w0, [x19, #124]
	bl	_to_icq
	ldr	w8, [x23, #12]
Lloh65:
	adrp	x9, _IB_SEND_SOLICITED@GOTPAGE
Lloh66:
	ldr	x9, [x9, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	and	w2, w9, w8
	add	x1, sp, #64
	bl	_ipath_cq_enter
	b	LBB0_5
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x23, #16]
	mov	x0, x1
	mov	x1, x28
	bl	_cmpxchg
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
LBB0_44:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh68:
	adrp	x28, _ib_ipath_state_ops@GOTPAGE
Lloh69:
	ldr	x28, [x28, _ib_ipath_state_ops@GOTPAGEOFF]
	ldr	x9, [x20, #208]
	str	x8, [x9]
	b	LBB0_5
LBB0_45:
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh70:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh71:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_47
; %bb.46:
Lloh73:
	adrp	x8, _IB_WC_RETRY_EXC_ERR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _IB_WC_RETRY_EXC_ERR@GOTPAGEOFF]
Lloh75:
	ldr	w22, [x8]
	b	LBB0_51
LBB0_47:
Lloh76:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh77:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh78:
	ldr	w22, [x8]
	b	LBB0_51
LBB0_48:
Lloh79:
	adrp	x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGEOFF]
Lloh81:
	adrp	x9, _IB_WC_REM_INV_REQ_ERR@GOTPAGE
Lloh82:
	ldr	x9, [x9, _IB_WC_REM_INV_REQ_ERR@GOTPAGEOFF]
	b	LBB0_50
LBB0_49:
Lloh83:
	adrp	x8, _IB_WC_LOC_PROT_ERR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _IB_WC_LOC_PROT_ERR@GOTPAGEOFF]
Lloh85:
	adrp	x9, _IB_WC_REM_ACCESS_ERR@GOTPAGE
Lloh86:
	ldr	x9, [x9, _IB_WC_REM_ACCESS_ERR@GOTPAGEOFF]
LBB0_50:
	ldr	w22, [x9]
	ldr	x1, [x8]
	str	x1, [sp, #72]
	mov	x0, x19
	bl	_ipath_rc_error
LBB0_51:
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_ipath_send_complete
	ldr	x8, [x20, #96]
Lloh87:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh88:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh89:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_59
; %bb.52:
Lloh90:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh91:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipath_error_qp
	mov	x22, x0
Lloh93:
	adrp	x8, _IPATH_S_BUSY@GOTPAGE
Lloh94:
	ldr	x8, [x8, _IPATH_S_BUSY@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	cbz	w22, LBB0_61
; %bb.53:
	ldr	w8, [x20, #120]
	str	w8, [sp, #56]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [sp, #48]
Lloh96:
	adrp	x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGE
Lloh97:
	ldr	x8, [x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	x8, [x20, #112]
	ldr	w1, [x20, #104]
	add	x0, sp, #40
	blr	x8
	b	LBB0_61
LBB0_54:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_66
; %bb.55:
	ldr	x9, [x20, #64]
	cmp	x9, #6
	b.gt	LBB0_57
; %bb.56:
	sub	x8, x8, #1
	str	x8, [x20, #56]
LBB0_57:
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x28]
	ldr	x9, [x20, #8]
	ldr	w8, [x8, x9, lsl #2]
Lloh99:
	adrp	x9, _IPATH_PROCESS_RECV_OK@GOTPAGE
Lloh100:
	ldr	x9, [x9, _IPATH_PROCESS_RECV_OK@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_59
; %bb.58:
Lloh102:
	adrp	x8, _IPATH_S_WAITING@GOTPAGE
Lloh103:
	ldr	x8, [x8, _IPATH_S_WAITING@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	w8, [x22]
	add	w8, w8, #1
Lloh105:
	adrp	x9, _ib_ipath_rnr_table@GOTPAGE
Lloh106:
	ldr	x9, [x9, _ib_ipath_rnr_table@GOTPAGEOFF]
	str	w8, [x22]
Lloh107:
	ldr	x8, [x9]
	ldr	x9, [x19, #72]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x20, #128]
	mov	x0, x20
	bl	_ipath_insert_rnr_queue
LBB0_59:
Lloh108:
	adrp	x8, _IPATH_S_BUSY@GOTPAGE
Lloh109:
	ldr	x8, [x8, _IPATH_S_BUSY@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_60:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_61:
	cbz	x19, LBB0_64
; %bb.62:
	add	x0, x19, #84
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_64
; %bb.63:
	add	x0, x19, #80
	bl	_wake_up
LBB0_64:
	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_65:
Lloh111:
	adrp	x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGE
Lloh112:
	ldr	x8, [x8, _IB_WC_LOC_QP_OP_ERR@GOTPAGEOFF]
Lloh113:
	ldr	w22, [x8]
	b	LBB0_51
LBB0_66:
Lloh114:
	adrp	x8, _IB_WC_RNR_RETRY_EXC_ERR@GOTPAGE
Lloh115:
	ldr	x8, [x8, _IB_WC_RNR_RETRY_EXC_ERR@GOTPAGEOFF]
Lloh116:
	ldr	w22, [x8]
	b	LBB0_51
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_22-LBB0_14)>>2
	.byte	(LBB0_24-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
                                        ; -- End function
	.comm	_IPATH_S_BUSY,4,2               ; @IPATH_S_BUSY
	.comm	_IPATH_S_ANY_WAIT,4,2           ; @IPATH_S_ANY_WAIT
	.comm	_ib_ipath_state_ops,8,3         ; @ib_ipath_state_ops
	.comm	_IPATH_PROCESS_OR_FLUSH_SEND,4,2 ; @IPATH_PROCESS_OR_FLUSH_SEND
	.comm	_IPATH_PROCESS_NEXT_SEND_OK,4,2 ; @IPATH_PROCESS_NEXT_SEND_OK
	.comm	_IPATH_FLUSH_SEND,4,2           ; @IPATH_FLUSH_SEND
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ; @IB_WC_WR_FLUSH_ERR
	.comm	_IPATH_PROCESS_RECV_OK,4,2      ; @IPATH_PROCESS_RECV_OK
	.comm	_IB_QPT_RC,8,3                  ; @IB_QPT_RC
	.comm	_IB_WC_RETRY_EXC_ERR,4,2        ; @IB_WC_RETRY_EXC_ERR
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_IB_WC_WITH_IMM,8,3             ; @IB_WC_WITH_IMM
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ; @IB_ACCESS_REMOTE_ATOMIC
	.comm	_IB_WC_LOC_QP_OP_ERR,8,3        ; @IB_WC_LOC_QP_OP_ERR
	.comm	_IPATH_SEGSZ,8,3                ; @IPATH_SEGSZ
	.comm	_IPATH_R_WRID_VALID,4,2         ; @IPATH_R_WRID_VALID
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ; @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_IB_WC_RECV,4,2                 ; @IB_WC_RECV
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.comm	_IB_QPT_UC,8,3                  ; @IB_QPT_UC
	.comm	_IB_WC_RNR_RETRY_EXC_ERR,4,2    ; @IB_WC_RNR_RETRY_EXC_ERR
	.comm	_IPATH_S_WAITING,4,2            ; @IPATH_S_WAITING
	.comm	_ib_ipath_rnr_table,8,3         ; @ib_ipath_rnr_table
	.comm	_IB_WC_REM_INV_REQ_ERR,4,2      ; @IB_WC_REM_INV_REQ_ERR
	.comm	_IB_WC_REM_ACCESS_ERR,4,2       ; @IB_WC_REM_ACCESS_ERR
	.comm	_IB_WC_LOC_PROT_ERR,8,3         ; @IB_WC_LOC_PROT_ERR
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ; @IB_EVENT_QP_LAST_WQE_REACHED
	.no_dead_strip	_ipath_ruc_loopback
.subsections_via_symbols
