	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_generic_readdir           ## -- Begin function amfs_generic_readdir
	.p2align	4, 0x90
_amfs_generic_readdir:                  ## @amfs_generic_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
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_amu_hasmntopt
	movl	$2, %ecx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_amu_hasmntopt
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_4:
	xorl	%r9d, %r9d
	cmpl	$2, %ecx
	sete	%r9b
	movq	_nfs_dispatcher@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nfs_program_2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_amfs_readdir_browsable
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_amfs_readdir3_browsable
	jmp	LBB0_11
LBB0_7:
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_amfs_readdir
	jmp	LBB0_11
LBB0_10:
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_amfs_readdir3
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fullybrowsable"

L_.str.1:                               ## @.str.1
	.asciz	"browsable"

	.comm	_nfs_dispatcher,8,3             ## @nfs_dispatcher
	.comm	_nfs_program_2,8,3              ## @nfs_program_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_generic_readdir           ; -- Begin function amfs_generic_readdir
	.p2align	2
_amfs_generic_readdir:                  ; @amfs_generic_readdir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	str	x8, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_amu_hasmntopt
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #2
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_amu_hasmntopt
	cmp	x0, #0
	cset	w8, ne
LBB0_5:
	cmp	w8, #2
Lloh4:
	adrp	x9, _nfs_dispatcher@GOTPAGE
Lloh5:
	ldr	x9, [x9, _nfs_dispatcher@GOTPAGEOFF]
	cset	w5, eq
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _nfs_program_2@GOTPAGE
Lloh8:
	ldr	x10, [x10, _nfs_program_2@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	mov	x0, x23
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	cbz	w8, LBB0_10
; %bb.7:
	bl	_amfs_readdir_browsable
	b	LBB0_12
LBB0_8:
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	cbz	w8, LBB0_11
; %bb.9:
	bl	_amfs_readdir3_browsable
	b	LBB0_12
LBB0_10:
	bl	_amfs_readdir
	b	LBB0_12
LBB0_11:
	bl	_amfs_readdir3
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fullybrowsable"

l_.str.1:                               ; @.str.1
	.asciz	"browsable"

	.comm	_nfs_dispatcher,8,3             ; @nfs_dispatcher
	.comm	_nfs_program_2,8,3              ; @nfs_program_2
.subsections_via_symbols
