	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_filesys_mount               ## -- Begin function vc_filesys_mount
	.p2align	4, 0x90
_vc_filesys_mount:                      ## @vc_filesys_mount
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_strlen
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %ebx
	leal	(%rax,%rbx), %edx
	addl	$3, %edx
	movq	_FILESERV_MAX_DATA@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpl	(%rcx), %edx
	jge	LBB0_5
## %bb.1:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_lock_obtain
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %eax
	addl	%ebx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_vc_filesys_client@GOTPCREL(%rip), %rax
	movq	8(%rax), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	movslq	%r14d, %rax
	leaq	(%r15,%rax), %r14
	movb	$0, (%r15,%rax)
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
	incl	%ebx
	movslq	%ebx, %rax
	movq	_vc_filesys_client@GOTPCREL(%rip), %rbx
	movb	$0, (%r15,%rax)
	movslq	%r13d, %rax
	leaq	(%rax,%r14), %rdi
	addq	$2, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movb	$0, 2(%rax,%r15)
	movq	_VCHI_BULK_GRANULARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VC_FILESYS_MOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_vchi_msg_stub
	movq	_FILESERV_RESP_OK@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %r15d
LBB0_4:
	xorl	%eax, %eax
	callq	_lock_release
LBB0_5:
	movl	%r15d, %eax
	addq	$56, %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	_VCHI_BULK_GRANULARITY,4,2      ## @VCHI_BULK_GRANULARITY
	.comm	_VC_FILESYS_MOUNT,4,2           ## @VC_FILESYS_MOUNT
	.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_mount               ; -- Begin function vc_filesys_mount
	.p2align	2
_vc_filesys_mount:                      ; @vc_filesys_mount
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
	bl	_strlen
	mov	x25, x0
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	add	w28, w22, w25
	add	w27, w28, w0
	add	w8, w27, #3
Lloh0:
	adrp	x9, _FILESERV_MAX_DATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FILESERV_MAX_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	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, #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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x21, _vc_filesys_client@GOTPAGE
Lloh4:
	ldr	x21, [x21, _vc_filesys_client@GOTPAGEOFF]
	ldr	x26, [x21, #8]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	add	x24, x26, w25, sxtw
	mov	x0, x24
	strb	wzr, [x0], #1
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	add	w8, w28, #1
	strb	wzr, [x26, w8, sxtw]
	add	x8, x24, w22, sxtw
	add	x0, x8, #2
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	add	x8, x26, w27, sxtw
	strb	wzr, [x8, #2]
Lloh5:
	adrp	x8, _VCHI_BULK_GRANULARITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VCHI_BULK_GRANULARITY@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _VC_FILESYS_MOUNT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_FILESYS_MOUNT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vchi_msg_stub
Lloh11:
	adrp	x8, _FILESERV_RESP_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FILESERV_RESP_OK@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	w19, [x8]
	b	LBB0_7
LBB0_6:
	mov	w19, #-1
LBB0_7:
	bl	_lock_release
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FILESERV_MAX_DATA,4,2          ; @FILESERV_MAX_DATA
	.comm	_vc_filesys_client,16,3         ; @vc_filesys_client
	.comm	_VCHI_BULK_GRANULARITY,4,2      ; @VCHI_BULK_GRANULARITY
	.comm	_VC_FILESYS_MOUNT,4,2           ; @VC_FILESYS_MOUNT
	.comm	_FILESERV_RESP_OK,8,3           ; @FILESERV_RESP_OK
.subsections_via_symbols
