	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdma_seq_err
_rdma_seq_err:                          ## @rdma_seq_err
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	addq	$20, %rdi
	callq	_lockdep_assert_held
	movq	%r13, %rdi
	callq	_rvt_stop_rc_timers
	movl	16(%r13), %esi
	movq	%r13, %rdi
	callq	_rvt_get_swqe_ptr
	movq	%rax, %rbx
	movl	8(%rax), %esi
	movl	%r12d, %edi
	callq	_cmp_psn
	testq	%rax, %rax
	jle	LBB0_8
## %bb.1:
	movq	_IB_WR_ATOMIC_FETCH_AND_ADD@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	_IB_WR_RDMA_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_WR_TID_RDMA_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_WR_TID_RDMA_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_WR_ATOMIC_CMP_AND_SWP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r14), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_do_rc_completion
	movq	%rax, %rbx
	movl	8(%rax), %esi
	movl	%r12d, %edi
	callq	_cmp_psn
	testq	%rax, %rax
	jg	LBB0_2
LBB0_8:
	incl	(%r15)
	movq	_RVT_R_RDMAR_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
	movq	8(%r13), %rsi
	incq	%rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_hfi1_restart_rc
	movq	%r13, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_RVT_R_RSP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
	movq	%r13, %rdi
	callq	_rvt_get_qp
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_add_tail                  ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WR_RDMA_READ,8,3            ## @IB_WR_RDMA_READ
	.comm	_IB_WR_TID_RDMA_READ,8,3        ## @IB_WR_TID_RDMA_READ
	.comm	_IB_WR_TID_RDMA_WRITE,8,3       ## @IB_WR_TID_RDMA_WRITE
	.comm	_IB_WR_ATOMIC_CMP_AND_SWP,8,3   ## @IB_WR_ATOMIC_CMP_AND_SWP
	.comm	_IB_WR_ATOMIC_FETCH_AND_ADD,8,3 ## @IB_WR_ATOMIC_FETCH_AND_ADD
	.comm	_RVT_R_RDMAR_SEQ,4,2            ## @RVT_R_RDMAR_SEQ
	.comm	_RVT_R_RSP_SEND,4,2             ## @RVT_R_RSP_SEND
	.no_dead_strip	_rdma_seq_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdma_seq_err
_rdma_seq_err:                          ; @rdma_seq_err
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, x0, #20
	bl	_lockdep_assert_held
	mov	x0, x20
	bl	_rvt_stop_rc_timers
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_rvt_get_swqe_ptr
	mov	x23, x0
	ldr	w1, [x0, #8]
	mov	x0, x22
	bl	_cmp_psn
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x24, _IB_WR_RDMA_READ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IB_WR_RDMA_READ@GOTPAGEOFF]
Lloh2:
	adrp	x25, _IB_WR_TID_RDMA_READ@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IB_WR_TID_RDMA_READ@GOTPAGEOFF]
Lloh4:
	adrp	x26, _IB_WR_TID_RDMA_WRITE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _IB_WR_TID_RDMA_WRITE@GOTPAGEOFF]
Lloh6:
	adrp	x27, _IB_WR_ATOMIC_CMP_AND_SWP@GOTPAGE
Lloh7:
	ldr	x27, [x27, _IB_WR_ATOMIC_CMP_AND_SWP@GOTPAGEOFF]
Lloh8:
	adrp	x28, _IB_WR_ATOMIC_FETCH_AND_ADD@GOTPAGE
Lloh9:
	ldr	x28, [x28, _IB_WR_ATOMIC_FETCH_AND_ADD@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x10, [x25]
	ldr	x11, [x26]
	ldr	x12, [x27]
	ldr	x13, [x28]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	ccmp	x8, x13, #4, ne
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_do_rc_completion
	mov	x23, x0
	ldr	w1, [x0, #8]
	mov	x0, x22
	bl	_cmp_psn
	cmp	x0, #0
	b.gt	LBB0_2
LBB0_4:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
Lloh10:
	adrp	x8, _RVT_R_RDMAR_SEQ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RVT_R_RDMAR_SEQ@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	ldr	x8, [x20, #8]
	add	x1, x8, #1
	mov	x0, x20
	mov	w2, #0
	bl	_hfi1_restart_rc
	mov	x0, x20
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _RVT_R_RSP_SEND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RVT_R_RSP_SEND@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_rvt_get_qp
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_list_add_tail
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WR_RDMA_READ,8,3            ; @IB_WR_RDMA_READ
	.comm	_IB_WR_TID_RDMA_READ,8,3        ; @IB_WR_TID_RDMA_READ
	.comm	_IB_WR_TID_RDMA_WRITE,8,3       ; @IB_WR_TID_RDMA_WRITE
	.comm	_IB_WR_ATOMIC_CMP_AND_SWP,8,3   ; @IB_WR_ATOMIC_CMP_AND_SWP
	.comm	_IB_WR_ATOMIC_FETCH_AND_ADD,8,3 ; @IB_WR_ATOMIC_FETCH_AND_ADD
	.comm	_RVT_R_RDMAR_SEQ,4,2            ; @RVT_R_RDMAR_SEQ
	.comm	_RVT_R_RSP_SEND,4,2             ; @RVT_R_RSP_SEND
	.no_dead_strip	_rdma_seq_err
.subsections_via_symbols
