	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_sending_psn
_reset_sending_psn:                     ## @reset_sending_psn
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	addq	$32, %rdi
	callq	_lockdep_assert_held
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	16(%r15), %rbx
	je	LBB0_10
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rvt_get_swqe_ptr
	movq	%rax, %r12
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_cmp_psn
	testq	%rax, %rax
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	cmpq	8(%r15), %rbx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	8(%r12), %rax
	movq	_IB_WR_RDMA_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_IB_WR_TID_RDMA_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_IB_WR_TID_RDMA_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	movq	(%r12), %r14
LBB0_6:
	incq	%r14
	movq	%r14, 24(%r15)
LBB0_10:
	popq	%rbx
	popq	%r12
	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
	.no_dead_strip	_reset_sending_psn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_sending_psn
_reset_sending_psn:                     ; @reset_sending_psn
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0], #32
	bl	_lockdep_assert_held
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_rvt_get_swqe_ptr
	mov	x22, x0
	ldr	x1, [x0]
	mov	x0, x20
	bl	_cmp_psn
	cmp	x0, #0
	b.le	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x21, #1
	ldp	x9, x10, [x19, #8]
	cmp	x8, x9
	csinc	x21, xzr, x21, eq
	cmp	x21, x10
	b.ne	LBB0_1
	b	LBB0_6
LBB0_3:
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _IB_WR_RDMA_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WR_RDMA_READ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IB_WR_TID_RDMA_READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_WR_TID_RDMA_READ@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _IB_WR_TID_RDMA_WRITE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IB_WR_TID_RDMA_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	x20, [x22]
LBB0_5:
	add	x8, x20, #1
	str	x8, [x19, #24]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.no_dead_strip	_reset_sending_psn
.subsections_via_symbols
