	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_rdma_send                  ## -- Begin function svc_rdma_send
	.p2align	4, 0x90
_svc_rdma_send:                         ## @svc_rdma_send
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_XPT_CLOSE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	20(%r13), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	xorl	%r12d, %r12d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r15
	incq	%r12
	testq	%r15, %r15
	jne	LBB0_3
## %bb.4:
	leaq	12(%r13), %r15
	leaq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	(%r13), %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	addq	%r12, %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	_rdma_stat_sq_starve@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	movq	%r13, %rdi
	callq	_sq_cq_reap
	movq	%r15, %rbx
	movl	8(%r13), %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	xorl	%esi, %esi
	cmpq	(%r13), %rax
	setl	%sil
	movl	%r15d, %edi
	movq	%rbx, %r15
	callq	_wait_event
	movl	(%r14), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_1:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_svc_xprt_get
	decl	%ebx
	jne	LBB0_7
## %bb.8:
	movl	%r12d, %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_atomic_add
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edi
	leaq	-88(%rbp), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ib_post_send
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_set_bit
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_atomic_sub
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_svc_xprt_put
	decl	%r12d
	jne	LBB0_10
## %bb.11:
	movq	%r13, %rdi
	callq	_atomic_read
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	leaq	L_.str(%rip), %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_wake_up
	jmp	LBB0_14
LBB0_13:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_XPT_CLOSE,4,2                  ## @XPT_CLOSE
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_IB_SEND_SIGNALED,8,3           ## @IB_SEND_SIGNALED
	.comm	_rdma_stat_sq_starve,4,2        ## @rdma_stat_sq_starve
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svcrdma: failed to post SQ WR rc=%d, sc_sq_count=%d, sc_sq_depth=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_rdma_send                  ; -- Begin function svc_rdma_send
	.p2align	2
_svc_rdma_send:                         ; @svc_rdma_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x28, _XPT_CLOSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _XPT_CLOSE@GOTPAGEOFF]
	ldr	w0, [x28]
	add	x20, x19, #20
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _IB_SEND_SIGNALED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_SEND_SIGNALED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	mov	x23, #0
	mov	x8, x24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x23, x23, #1
	cbnz	x8, LBB0_2
; %bb.3:
	add	x21, x19, #12
	add	x25, x19, #16
	add	x22, x19, #8
Lloh5:
	adrp	x26, _rdma_stat_sq_starve@GOTPAGE
Lloh6:
	ldr	x26, [x26, _rdma_stat_sq_starve@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x27, [x19]
	mov	x0, x25
	bl	_atomic_read
	add	x8, x23, x0
	cmp	x27, x8
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x26
	bl	_atomic_inc
	mov	x0, x19
	bl	_sq_cq_reap
	ldr	w27, [x19, #8]
	mov	x0, x25
	bl	_atomic_read
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w1, lt
	mov	x0, x27
	bl	_wait_event
	ldr	w0, [x28]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_6:
Lloh7:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_7:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	mov	x26, x23
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_svc_xprt_get
	subs	w26, w26, #1
	b.ne	LBB0_9
; %bb.10:
	mov	x0, x23
	mov	x1, x25
	bl	_atomic_add
	ldr	w0, [x19, #24]
	add	x2, sp, #8
	mov	x1, x24
	bl	_ib_post_send
	mov	x24, x0
	cbz	w0, LBB0_14
; %bb.11:
	ldr	w0, [x28]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x23
	mov	x1, x25
	bl	_atomic_sub
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_svc_xprt_put
	subs	w23, w23, #1
	b.ne	LBB0_12
; %bb.13:
	mov	x0, x25
	bl	_atomic_read
	mov	x2, x0
	ldr	x3, [x19]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_dprintk
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x22
	bl	_wake_up
	b	LBB0_7
LBB0_14:
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_XPT_CLOSE,4,2                  ; @XPT_CLOSE
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_IB_SEND_SIGNALED,8,3           ; @IB_SEND_SIGNALED
	.comm	_rdma_stat_sq_starve,4,2        ; @rdma_stat_sq_starve
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svcrdma: failed to post SQ WR rc=%d, sc_sq_count=%d, sc_sq_depth=%d\n"

.subsections_via_symbols
