	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fakefs_readdir
_fakefs_readdir:                        ## @fakefs_readdir
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	xorl	%edi, %edi
	cmpq	_fakefs_fdops@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_assert
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	callq	_db_begin
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_path_get_inode
	movl	%eax, 8(%r14)
	movl	(%rbx), %edi
	callq	_db_commit
	cmpl	$0, 8(%r14)
	movq	%r15, %rsp
	jne	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	_realfs_fdops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsp, %r15
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_realfs_getpath
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcat
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_strcat
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strrchr
	movb	$0, (%rax)
	jmp	LBB0_7
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_fakefs_fdops,4,2               ## @fakefs_fdops
	.comm	_realfs_fdops,8,3               ## @realfs_fdops
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".."

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"."

L_.str.3:                               ## @.str.3
	.asciz	"/"

	.no_dead_strip	_fakefs_readdir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fakefs_readdir
_fakefs_readdir:                        ; @fakefs_readdir
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _fakefs_fdops@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fakefs_fdops@GOTPAGEOFF]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh5:
	adrp	x27, _realfs_fdops@GOTPAGE
Lloh6:
	ldr	x27, [x27, _realfs_fdops@GOTPAGEOFF]
Lloh7:
	adrp	x28, _MAX_PATH@GOTPAGE
Lloh8:
	ldr	x28, [x28, _MAX_PATH@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
Lloh11:
	adrp	x23, l_.str.2@PAGE
Lloh12:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh13:
	adrp	x25, l_.str.3@PAGE
Lloh14:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	bl	_db_begin
	ldr	w0, [x20]
	mov	x1, x26
	bl	_path_get_inode
	str	w0, [x19, #8]
	ldr	w0, [x20]
	bl	_db_commit
	ldr	w8, [x19, #8]
	mov	sp, x22
	cbnz	w8, LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	mov	x24, x0
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, sp
	ldr	w8, [x28]
	add	w8, w8, #1
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	mov	x0, x20
	mov	x1, x26
	bl	_realfs_getpath
	ldr	x0, [x19]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_strcat
	ldr	x1, [x19]
	mov	x0, x26
	bl	_strcat
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
	mov	w1, #47
	bl	_strrchr
	strb	wzr, [x0]
	b	LBB0_1
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x24
	sub	sp, x29, #80
	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_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_fakefs_fdops,4,2               ; @fakefs_fdops
	.comm	_realfs_fdops,8,3               ; @realfs_fdops
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".."

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"."

l_.str.3:                               ; @.str.3
	.asciz	"/"

	.no_dead_strip	_fakefs_readdir
.subsections_via_symbols
