	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_wait_rdma_wr_finished
_sdp_wait_rdma_wr_finished:             ## @sdp_wait_rdma_wr_finished
	.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	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rax
	movq	%rax, -48(%rbp)
	movq	_wait@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_DEFINE_WAIT
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sdp_dbg_data
	movl	(%r14), %edi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_prepare_to_wait
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	leaq	L_.str.5(%rip), %r13
	leaq	L_.str.6(%rip), %r15
	movq	_wait@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 16(%rbx)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_posts_handler_put
	movq	%r14, %rdi
	xorl	%esi, %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_sdp_prf1
	movq	8(%rbx), %rax
	xorl	%edx, %edx
	cmpl	$0, (%rax)
	sete	%dl
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	callq	_sk_wait_event
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_sdp_prf1
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_sdp_dbg_data
	movq	%rbx, %rdi
	callq	_posts_handler_get
	movl	(%r14), %edi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_prepare_to_wait
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	callq	_sdp_dbg_data
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_sdp_warn
	movl	$1, %edi
	callq	_WARN_ON
LBB0_9:
	movl	(%r14), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_finish_wait
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_sdp_dbg_data
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_wait,4,2                       ## @wait
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sleep till RDMA wr finished.\n"

	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
L_.str.1:                               ## @.str.1
	.asciz	"got rdma cqe\n"

L_.str.2:                               ## @.str.2
	.asciz	"QP destroyed\n"

L_.str.3:                               ## @.str.3
	.asciz	"Panic: Timed out waiting for RDMA read\n"

L_.str.4:                               ## @.str.4
	.asciz	"Going to sleep"

L_.str.5:                               ## @.str.5
	.asciz	"Woke up"

L_.str.6:                               ## @.str.6
	.asciz	"woke up sleepers\n"

L_.str.7:                               ## @.str.7
	.asciz	"Finished waiting\n"

	.no_dead_strip	_sdp_wait_rdma_wr_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_wait_rdma_wr_finished
_sdp_wait_rdma_wr_finished:             ; @sdp_wait_rdma_wr_finished
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x8, x8, lsl #2
	str	x8, [sp, #8]
Lloh3:
	adrp	x21, _wait@GOTPAGE
Lloh4:
	ldr	x21, [x21, _wait@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_DEFINE_WAIT
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sdp_dbg_data
	ldr	w0, [x19]
Lloh7:
	adrp	x25, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x21
	bl	_prepare_to_wait
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
Lloh9:
	adrp	x21, l_.str.4@PAGE
Lloh10:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh11:
	adrp	x22, l_.str.5@PAGE
Lloh12:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh13:
	adrp	x23, _wait@GOTPAGE
Lloh14:
	ldr	x23, [x23, _wait@GOTPAGEOFF]
Lloh15:
	adrp	x24, l_.str.6@PAGE
Lloh16:
	add	x24, x24, l_.str.6@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_posts_handler_put
	mov	x0, x19
	mov	x1, #0
	mov	x2, x21
	bl	_sdp_prf1
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w2, eq
	add	x1, sp, #8
	mov	x0, x19
	bl	_sk_wait_event
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	bl	_sdp_prf1
	ldr	x0, [x20]
	mov	x1, x24
	bl	_sdp_dbg_data
	mov	x0, x20
	bl	_posts_handler_get
	ldr	w0, [x19]
	ldr	w2, [x25]
	mov	x1, x23
	bl	_prepare_to_wait
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
LBB0_5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_sdp_dbg_data
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_sdp_warn
	mov	w0, #1
	bl	_WARN_ON
LBB0_9:
	ldr	w0, [x19]
Lloh23:
	adrp	x1, _wait@GOTPAGE
Lloh24:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_finish_wait
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_sdp_dbg_data
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_wait,4,2                       ; @wait
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sleep till RDMA wr finished.\n"

	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
l_.str.1:                               ; @.str.1
	.asciz	"got rdma cqe\n"

l_.str.2:                               ; @.str.2
	.asciz	"QP destroyed\n"

l_.str.3:                               ; @.str.3
	.asciz	"Panic: Timed out waiting for RDMA read\n"

l_.str.4:                               ; @.str.4
	.asciz	"Going to sleep"

l_.str.5:                               ; @.str.5
	.asciz	"Woke up"

l_.str.6:                               ; @.str.6
	.asciz	"woke up sleepers\n"

l_.str.7:                               ; @.str.7
	.asciz	"Finished waiting\n"

	.no_dead_strip	_sdp_wait_rdma_wr_finished
.subsections_via_symbols
