	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sq_cq_reap
_sq_cq_reap:                            ## @sq_cq_reap
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_RDMAXPRT_SQ_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	16(%rbx), %rdi
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ib_req_notify_cq
	movq	_rdma_stat_sq_poll@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ib_poll_cq
	testl	%eax, %eax
	jle	LBB0_10
## %bb.2:
	leaq	8(%rbx), %r15
	leaq	4(%rbx), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_svc_xprt_put
	movq	%r14, %rdi
	movl	$1, %esi
	leaq	-56(%rbp), %rdx
	callq	_ib_poll_cq
	testl	%eax, %eax
	jle	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_XPT_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_atomic_dec
	movq	%r12, %rdi
	callq	_wake_up
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_process_context
	jmp	LBB0_7
LBB0_8:
	testq	%r13, %r13
	je	LBB0_10
## %bb.9:
	movq	_rdma_stat_sq_prod@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMAXPRT_SQ_PENDING,4,2        ## @RDMAXPRT_SQ_PENDING
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_rdma_stat_sq_poll,4,2          ## @rdma_stat_sq_poll
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_XPT_CLOSE,4,2                  ## @XPT_CLOSE
	.comm	_rdma_stat_sq_prod,4,2          ## @rdma_stat_sq_prod
	.no_dead_strip	_sq_cq_reap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sq_cq_reap
_sq_cq_reap:                            ; @sq_cq_reap
	.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	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _RDMAXPRT_SQ_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMAXPRT_SQ_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_and_clear_bit
	cbz	w0, LBB0_10
; %bb.1:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ib_req_notify_cq
Lloh6:
	adrp	x0, _rdma_stat_sq_poll@GOTPAGE
Lloh7:
	ldr	x0, [x0, _rdma_stat_sq_poll@GOTPAGEOFF]
	bl	_atomic_inc
	mov	x2, sp
	mov	x0, x20
	mov	w1, #1
	bl	_ib_poll_cq
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.2:
	add	x21, x19, #8
	add	x22, x19, #4
Lloh8:
	adrp	x24, _IB_WC_SUCCESS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh10:
	adrp	x25, _XPT_CLOSE@GOTPAGE
Lloh11:
	ldr	x25, [x25, _XPT_CLOSE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_svc_xprt_put
	mov	x2, sp
	mov	x0, x20
	mov	w1, #1
	bl	_ib_poll_cq
	cmp	w0, #0
	b.le	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	mov	x1, x19
	bl	_set_bit
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_atomic_dec
	mov	x0, x22
	bl	_wake_up
	ldr	x23, [sp, #8]
	cbz	x23, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_process_context
	b	LBB0_3
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
Lloh12:
	adrp	x0, _rdma_stat_sq_prod@GOTPAGE
Lloh13:
	ldr	x0, [x0, _rdma_stat_sq_prod@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMAXPRT_SQ_PENDING,4,2        ; @RDMAXPRT_SQ_PENDING
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_rdma_stat_sq_poll,4,2          ; @rdma_stat_sq_poll
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_XPT_CLOSE,4,2                  ; @XPT_CLOSE
	.comm	_rdma_stat_sq_prod,4,2          ; @rdma_stat_sq_prod
	.no_dead_strip	_sq_cq_reap
.subsections_via_symbols
