	.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
	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	_qib_cmp24
	testq	%rax, %rax
	jle	LBB0_6
## %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_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_WR_ATOMIC_CMP_AND_SWP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.5:                               ##   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	_qib_cmp24
	testq	%rax, %rax
	jg	LBB0_2
LBB0_6:
	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	_qib_restart_rc
	movq	%r13, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	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_7:
	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_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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	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	_qib_cmp24
	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_ATOMIC_CMP_AND_SWP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IB_WR_ATOMIC_CMP_AND_SWP@GOTPAGEOFF]
Lloh4:
	adrp	x26, _IB_WR_ATOMIC_FETCH_AND_ADD@GOTPAGE
Lloh5:
	ldr	x26, [x26, _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]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #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	_qib_cmp24
	cmp	x0, #0
	b.gt	LBB0_2
LBB0_4:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
Lloh6:
	adrp	x8, _RVT_R_RDMAR_SEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RVT_R_RDMAR_SEQ@GOTPAGEOFF]
Lloh8:
	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	_qib_restart_rc
	mov	x0, x20
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _RVT_R_RSP_SEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RVT_R_RSP_SEND@GOTPAGEOFF]
Lloh11:
	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, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_list_add_tail
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WR_RDMA_READ,8,3            ; @IB_WR_RDMA_READ
	.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
