	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_reserve_xprt              ## -- Begin function xprt_reserve_xprt
	.p2align	4, 0x90
_xprt_reserve_xprt:                     ## @xprt_reserve_xprt
	.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, %rbx
	movq	%rdi, %r14
	movq	24(%rsi), %r12
	movq	_XPRT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%rbx, 8(%r14)
	je	LBB0_2
## %bb.5:
	movl	16(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_dprintk
	movq	$0, 8(%rbx)
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, (%rbx)
	testq	%r12, %r12
	je	LBB0_6
## %bb.7:
	cmpl	$0, (%r12)
	jne	LBB0_8
## %bb.9:
	movq	_RPC_PRIORITY_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	%rbx, 8(%r14)
	movl	$1, %r15d
	testq	%r12, %r12
	je	LBB0_11
## %bb.4:
	movq	$0, 8(%r12)
	incl	(%r12)
	jmp	LBB0_11
LBB0_2:
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_6:
	movq	_RPC_PRIORITY_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_RPC_PRIORITY_HIGH@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_rpc_sleep_on_priority
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XPRT_LOCKED,4,2                ## @XPRT_LOCKED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC: %5u failed to lock transport %p\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_RPC_PRIORITY_LOW,4,2           ## @RPC_PRIORITY_LOW
	.comm	_RPC_PRIORITY_NORMAL,4,2        ## @RPC_PRIORITY_NORMAL
	.comm	_RPC_PRIORITY_HIGH,4,2          ## @RPC_PRIORITY_HIGH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_reserve_xprt              ; -- Begin function xprt_reserve_xprt
	.p2align	2
_xprt_reserve_xprt:                     ; @xprt_reserve_xprt
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #24]
Lloh0:
	adrp	x8, _XPRT_LOCKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPRT_LOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #16
	bl	_test_and_set_bit
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.eq	LBB0_6
; %bb.2:
	ldr	w1, [x19, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dprintk
	str	xzr, [x19, #8]
Lloh5:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
	cbz	x21, LBB0_7
; %bb.3:
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _RPC_PRIORITY_HIGH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RPC_PRIORITY_HIGH@GOTPAGEOFF]
Lloh10:
	adrp	x10, _RPC_PRIORITY_NORMAL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RPC_PRIORITY_NORMAL@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_8
LBB0_4:
	str	x19, [x20, #8]
	cbz	x21, LBB0_6
; %bb.5:
	str	xzr, [x21, #8]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _RPC_PRIORITY_LOW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RPC_PRIORITY_LOW@GOTPAGEOFF]
LBB0_8:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_rpc_sleep_on_priority
	mov	w0, #0
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_XPRT_LOCKED,4,2                ; @XPRT_LOCKED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC: %5u failed to lock transport %p\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_RPC_PRIORITY_LOW,4,2           ; @RPC_PRIORITY_LOW
	.comm	_RPC_PRIORITY_NORMAL,4,2        ; @RPC_PRIORITY_NORMAL
	.comm	_RPC_PRIORITY_HIGH,4,2          ; @RPC_PRIORITY_HIGH
.subsections_via_symbols
