	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_filesys_dirsize             ## -- Begin function vc_filesys_dirsize
	.p2align	4, 0x90
_vc_filesys_dirsize:                    ## @vc_filesys_dirsize
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_lock_obtain
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_vc_filesys_client@GOTPCREL(%rip), %r15
	movq	8(%r15), %rdi
	movq	_FS_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_strncpy
	movq	_VC_FILESYS_DIRSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r15), %rdi
	callq	_strlen
	leal	17(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_vchi_msg_stub
	movq	_FILESERV_RESP_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movl	8(%rax), %eax
	movl	%eax, (%r12)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movl	12(%rax), %eax
	movl	%eax, (%r14)
LBB0_6:
	xorl	%eax, %eax
	callq	_lock_release
LBB0_7:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vc_filesys_client,16,3         ## @vc_filesys_client
	.comm	_FS_MAX_PATH,4,2                ## @FS_MAX_PATH
	.comm	_VC_FILESYS_DIRSIZE,4,2         ## @VC_FILESYS_DIRSIZE
	.comm	_FILESERV_RESP_OK,8,3           ## @FILESERV_RESP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_filesys_dirsize             ; -- Begin function vc_filesys_dirsize
	.p2align	2
_vc_filesys_dirsize:                    ; @vc_filesys_dirsize
	.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, x2
	mov	x20, x1
	mov	x22, x0
	bl	_lock_obtain
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x21, _vc_filesys_client@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vc_filesys_client@GOTPAGEOFF]
	ldr	x0, [x21, #8]
Lloh2:
	adrp	x8, _FS_MAX_PATH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FS_MAX_PATH@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strncpy
Lloh5:
	adrp	x8, _VC_FILESYS_DIRSIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VC_FILESYS_DIRSIZE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldr	x0, [x21, #8]
	bl	_strlen
	add	w2, w0, #17
	mov	x0, x21
	mov	x1, x22
	bl	_vchi_msg_stub
Lloh8:
	adrp	x8, _FILESERV_RESP_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FILESERV_RESP_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
	str	w8, [x20]
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	w8, [x8, #12]
	str	w8, [x19]
LBB0_6:
	bl	_lock_release
LBB0_7:
	mov	w0, #-1
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_vc_filesys_client,16,3         ; @vc_filesys_client
	.comm	_FS_MAX_PATH,4,2                ; @FS_MAX_PATH
	.comm	_VC_FILESYS_DIRSIZE,4,2         ; @VC_FILESYS_DIRSIZE
	.comm	_FILESERV_RESP_OK,8,3           ; @FILESERV_RESP_OK
.subsections_via_symbols
