	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_conditional_disconnect    ## -- Begin function xprt_conditional_disconnect
	.p2align	4, 0x90
_xprt_conditional_disconnect:           ## @xprt_conditional_disconnect
	.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
	movl	%esi, %ebx
	movq	%rdi, %r12
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	cmpl	%ebx, (%r12)
	jne	LBB0_6
## %bb.1:
	movq	_XPRT_CLOSING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r12), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_xprt_connected
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	_XPRT_CLOSE_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	_XPRT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_rpciod_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %rsi
	callq	_queue_work
LBB0_5:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%r12, %rdi
	callq	_xprt_wake_pending_tasks
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XPRT_CLOSING,4,2               ## @XPRT_CLOSING
	.comm	_XPRT_CLOSE_WAIT,4,2            ## @XPRT_CLOSE_WAIT
	.comm	_XPRT_LOCKED,4,2                ## @XPRT_LOCKED
	.comm	_rpciod_workqueue,4,2           ## @rpciod_workqueue
	.comm	_EAGAIN,4,2                     ## @EAGAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_conditional_disconnect    ; -- Begin function xprt_conditional_disconnect
	.p2align	2
_xprt_conditional_disconnect:           ; @xprt_conditional_disconnect
	.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	x21, x1
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w8, [x20]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _XPRT_CLOSING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPRT_CLOSING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_xprt_connected
	cbz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _XPRT_CLOSE_WAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XPRT_CLOSE_WAIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
Lloh6:
	adrp	x8, _XPRT_LOCKED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XPRT_LOCKED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _rpciod_workqueue@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rpciod_workqueue@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_queue_work
LBB0_5:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x20
	bl	_xprt_wake_pending_tasks
LBB0_6:
	mov	x0, x19
	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
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XPRT_CLOSING,4,2               ; @XPRT_CLOSING
	.comm	_XPRT_CLOSE_WAIT,4,2            ; @XPRT_CLOSE_WAIT
	.comm	_XPRT_LOCKED,4,2                ; @XPRT_LOCKED
	.comm	_rpciod_workqueue,4,2           ; @rpciod_workqueue
	.comm	_EAGAIN,4,2                     ; @EAGAIN
.subsections_via_symbols
