	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amfs_auto_mount
_amfs_auto_mount:                       ## @amfs_auto_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	incl	16(%rax)
	movq	(%rsi), %rdi
	cmpb	$46, (%rdi)
	jne	LBB0_4
## %bb.2:
	cmpb	$0, 1(%rdi)
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_strealloc
	movq	%rax, (%r14)
LBB0_4:
	movq	16(%r14), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rsi
	callq	_STREQ
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_10
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_8:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rax, %rsi
	movl	4(%rbx), %edx
	leaq	L_.str.2(%rip), %rcx
	xorl	%edi, %edi
	callq	_str3cat
	jmp	LBB0_11
LBB0_9:
	movq	16(%r14), %rax
	movq	(%rax), %rdi
LBB0_10:
	callq	_xstrdup
LBB0_11:
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_amfs_mkcacheref
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"null"

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

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

	.comm	_MFF_IS_AUTOFS,4,2              ## @MFF_IS_AUTOFS
	.comm	_SIZEOF_OPTS,4,2                ## @SIZEOF_OPTS
	.comm	_XLOG_FATAL,4,2                 ## @XLOG_FATAL
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_amfs_auto_mount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amfs_auto_mount
_amfs_auto_mount:                       ; @amfs_auto_mount
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	ldr	x0, [x1]
	ldrb	w9, [x0]
	cmp	w9, #46
	b.ne	LBB0_4
; %bb.2:
	ldrb	w9, [x0, #1]
	cbnz	w9, LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_strealloc
	str	x0, [x19]
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	cbz	x0, LBB0_8
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_STREQ
	cbz	x0, LBB0_9
; %bb.6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_8:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
	ldr	w2, [x20, #4]
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_str3cat
	b	LBB0_11
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
LBB0_10:
	bl	_xstrdup
LBB0_11:
	str	x0, [x20, #8]
	mov	x0, x19
	bl	_amfs_mkcacheref
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"null"

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

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

	.comm	_MFF_IS_AUTOFS,4,2              ; @MFF_IS_AUTOFS
	.comm	_SIZEOF_OPTS,4,2                ; @SIZEOF_OPTS
	.comm	_XLOG_FATAL,4,2                 ; @XLOG_FATAL
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_amfs_auto_mount
.subsections_via_symbols
