	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_filesys_fstat               ## -- Begin function vc_filesys_fstat
	.p2align	4, 0x90
_vc_filesys_fstat:                      ## @vc_filesys_fstat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %ebx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_lock_obtain
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movslq	%r15d, %rax
	movq	_vc_filesys_client@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	_VC_FILESYS_FSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_vchi_msg_stub
	movq	_FILESERV_RESP_OK@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movq	%rax, 8(%r14)
	xorl	%ebx, %ebx
LBB0_4:
	xorl	%eax, %eax
	callq	_lock_release
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vc_filesys_client,8,3          ## @vc_filesys_client
	.comm	_VC_FILESYS_FSTAT,4,2           ## @VC_FILESYS_FSTAT
	.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_fstat               ; -- Begin function vc_filesys_fstat
	.p2align	2
_vc_filesys_fstat:                      ; @vc_filesys_fstat
	.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
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_lock_obtain
	cbz	x0, LBB0_3
LBB0_2:
	mov	w20, #-1
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x21, _vc_filesys_client@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vc_filesys_client@GOTPAGEOFF]
	sxtw	x8, w20
	ldr	x9, [x21]
	str	x8, [x9]
Lloh2:
	adrp	x8, _VC_FILESYS_FSTAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_FILESYS_FSTAT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #4
	bl	_vchi_msg_stub
Lloh5:
	adrp	x8, _FILESERV_RESP_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FILESERV_RESP_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w20, #0
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	str	x8, [x19, #8]
	b	LBB0_6
LBB0_5:
	mov	w20, #-1
LBB0_6:
	bl	_lock_release
LBB0_7:
	mov	x0, x20
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_vc_filesys_client,8,3          ; @vc_filesys_client
	.comm	_VC_FILESYS_FSTAT,4,2           ; @VC_FILESYS_FSTAT
	.comm	_FILESERV_RESP_OK,8,3           ; @FILESERV_RESP_OK
.subsections_via_symbols
