	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filesys_task_func
_filesys_task_func:                     ## @filesys_task_func
	.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
	xorl	%eax, %eax
	callq	_vc_hostfs_init
	movq	_vc_filesys_client@GOTPCREL(%rip), %r12
	leaq	16(%r12), %r14
	movq	%r14, %rdi
	callq	_vcos_event_wait
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.2:
	movq	_VCHI_FLAGS_NONE@GOTPCREL(%rip), %r13
	leaq	12(%r12), %rbx
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	8(%r12), %edi
	callq	_vchi_service_use
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r12), %edi
	movl	(%r13), %r8d
	movq	%rbx, %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	callq	_vchi_msg_dequeue
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	callq	_vc_fs_message_handler
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %edi
	callq	_vchi_service_release
	movq	%r14, %rdi
	callq	_vcos_event_wait
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_3
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vc_filesys_client,24,3         ## @vc_filesys_client
	.comm	_VCOS_SUCCESS,8,3               ## @VCOS_SUCCESS
	.comm	_VCHI_FLAGS_NONE,4,2            ## @VCHI_FLAGS_NONE
	.no_dead_strip	_filesys_task_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filesys_task_func
_filesys_task_func:                     ; @filesys_task_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_vc_hostfs_init
Lloh0:
	adrp	x20, _vc_filesys_client@GOTPAGE
Lloh1:
	ldr	x20, [x20, _vc_filesys_client@GOTPAGEOFF]
	add	x0, x20, #16
	bl	_vcos_event_wait
Lloh2:
	adrp	x21, _VCOS_SUCCESS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VCOS_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x0, x8
	ccmp	x9, #0, #4, eq
	b.ne	LBB0_2
LBB0_1:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
Lloh4:
	adrp	x22, _VCHI_FLAGS_NONE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _VCHI_FLAGS_NONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #8]
	bl	_vchi_service_release
	add	x0, x20, #16
	bl	_vcos_event_wait
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x0, x8
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w0, [x20, #8]
	bl	_vchi_service_use
	ldr	w0, [x20, #8]
	ldr	w4, [x22]
	add	x1, x20, #12
	add	x3, sp, #12
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w2, #4
	bl	_vchi_msg_dequeue
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w1, [sp, #12]
	add	x19, x20, #12
	mov	x0, x19
	bl	_vc_fs_message_handler
	ldr	w0, [x20, #8]
	ldr	w4, [x22]
	add	x3, sp, #12
	mov	x1, x19
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_vc_filesys_client,24,3         ; @vc_filesys_client
	.comm	_VCOS_SUCCESS,8,3               ; @VCOS_SUCCESS
	.comm	_VCHI_FLAGS_NONE,4,2            ; @VCHI_FLAGS_NONE
	.no_dead_strip	_filesys_task_func
.subsections_via_symbols
