	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc_filesys_single_string
_vc_filesys_single_string:              ## @vc_filesys_single_string
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	_FILESERV_MAX_DATA@GOTPCREL(%rip), %rax
	movl	$-1, %ecx
	cmpl	(%rax), %ebx
	jge	LBB0_7
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_lock_obtain
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_vc_filesys_client@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%r12, (%rax)
	movq	8(%r14), %rdi
	movq	_FILESERV_MAX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_strncpy
	addl	$17, %ebx
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_vchi_msg_stub
	movq	_FILESERV_RESP_OK@GOTPCREL(%rip), %rcx
	movl	$-1, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rax
	movl	(%rax), %edx
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
LBB0_6:
	xorl	%eax, %eax
	movl	%edx, %ebx
	callq	_lock_release
	movl	%ebx, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILESERV_MAX_DATA,4,2          ## @FILESERV_MAX_DATA
	.comm	_vc_filesys_client,16,3         ## @vc_filesys_client
	.comm	_FILESERV_RESP_OK,8,3           ## @FILESERV_RESP_OK
	.no_dead_strip	_vc_filesys_single_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc_filesys_single_string
_vc_filesys_single_string:              ; @vc_filesys_single_string
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x24, x0
	mov	x0, x1
	bl	_strlen
Lloh0:
	adrp	x25, _FILESERV_MAX_DATA@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FILESERV_MAX_DATA@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
	mov	x23, x0
	bl	_lock_obtain
	cbz	x0, LBB0_4
LBB0_2:
	mov	w19, #-1
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh2:
	adrp	x21, _vc_filesys_client@GOTPAGE
Lloh3:
	ldr	x21, [x21, _vc_filesys_client@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x24, [x8]
	ldr	x0, [x21, #8]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_strncpy
	add	w2, w23, #17
	mov	x0, x21
	mov	x1, x20
	bl	_vchi_msg_stub
Lloh4:
	adrp	x8, _FILESERV_RESP_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FILESERV_RESP_OK@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	cbz	w19, LBB0_8
; %bb.6:
	ldr	x8, [x21]
	ldr	w19, [x8]
	b	LBB0_8
LBB0_7:
	mov	w19, #-1
LBB0_8:
	bl	_lock_release
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FILESERV_MAX_DATA,4,2          ; @FILESERV_MAX_DATA
	.comm	_vc_filesys_client,16,3         ; @vc_filesys_client
	.comm	_FILESERV_RESP_OK,8,3           ; @FILESERV_RESP_OK
	.no_dead_strip	_vc_filesys_single_string
.subsections_via_symbols
