	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clnt_vc_freeres
_clnt_vc_freeres:                       ## @clnt_vc_freeres
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rbx
	leaq	-60(%rbp), %r12
	movq	%r12, %rdi
	callq	_sigfillset
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rsi
	callq	_thr_sigsetmask
	movq	_clnt_fd_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_vc_fd_locks@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rbx), %rdi
	cmpq	$0, (%rax,%rdi,8)
	je	LBB0_3
## %bb.1:
	movq	_vc_cv@GOTPCREL(%rip), %r14
	movq	_clnt_fd_lock@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_cond_wait
	movq	(%r13), %rax
	movq	(%rbx), %rdi
	cmpq	$0, (%rax,%rdi,8)
	jne	LBB0_2
LBB0_3:
	leaq	8(%rbx), %rdi
	movq	_XDR_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*%r15
	movl	%eax, %r14d
	movq	_clnt_fd_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	callq	_thr_sigsetmask
	movq	_vc_cv@GOTPCREL(%rip), %rax
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	_cond_signal
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_clnt_fd_lock,4,2               ## @clnt_fd_lock
	.comm	_vc_fd_locks,8,3                ## @vc_fd_locks
	.comm	_vc_cv,8,3                      ## @vc_cv
	.comm	_XDR_FREE,4,2                   ## @XDR_FREE
	.no_dead_strip	_clnt_vc_freeres
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clnt_vc_freeres
_clnt_vc_freeres:                       ; @clnt_vc_freeres
	.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, x2
	mov	x19, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x22, [x21]
	add	x0, sp, #8
	bl	_sigfillset
Lloh0:
	adrp	x23, _SIG_SETMASK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SIG_SETMASK@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_thr_sigsetmask
Lloh2:
	adrp	x0, _clnt_fd_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _clnt_fd_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh4:
	adrp	x25, _vc_fd_locks@GOTPAGE
Lloh5:
	ldr	x25, [x25, _vc_fd_locks@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x8, [x22]
	ldr	x9, [x9, x8, lsl #3]
Lloh6:
	adrp	x24, _vc_cv@GOTPAGE
Lloh7:
	ldr	x24, [x24, _vc_cv@GOTPAGEOFF]
	cbz	x9, LBB0_3
; %bb.1:
Lloh8:
	adrp	x21, _clnt_fd_lock@GOTPAGE
Lloh9:
	ldr	x21, [x21, _clnt_fd_lock@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	add	x0, x9, x8, lsl #2
	mov	x1, x21
	bl	_cond_wait
	ldr	x9, [x25]
	ldr	x8, [x22]
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_2
LBB0_3:
Lloh10:
	adrp	x8, _XDR_FREE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XDR_FREE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	x0, x22
	str	w8, [x0, #8]!
	mov	x1, x20
	blr	x19
	mov	x19, x0
Lloh13:
	adrp	x0, _clnt_fd_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _clnt_fd_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	w0, [x23]
	add	x1, sp, #12
	mov	x2, #0
	bl	_thr_sigsetmask
	ldr	x8, [x24]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #2
	bl	_cond_signal
	mov	x0, x19
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_clnt_fd_lock,4,2               ; @clnt_fd_lock
	.comm	_vc_fd_locks,8,3                ; @vc_fd_locks
	.comm	_vc_cv,8,3                      ; @vc_cv
	.comm	_XDR_FREE,4,2                   ; @XDR_FREE
	.no_dead_strip	_clnt_vc_freeres
.subsections_via_symbols
