	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_toplvl_mount              ## -- Begin function amfs_toplvl_mount
	.p2align	4, 0x90
_amfs_toplvl_mount:                     ## @amfs_toplvl_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIZEOF_OPTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%rbx), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	4(%r12), %edi
	leaq	-104(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-104(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.4:
	movb	$0, (%rbx)
	movq	_MNTTAB_OPT_RW@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	movq	_MNTTAB_OPT_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_nfs_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rdx), %rax
	movl	(%rax), %r11d
	movq	%rbx, %rcx
	movl	4(%rdx), %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_xsnprintf
	addq	$32, %rsp
	movq	_gopt@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	_AMU_TYPE_TOPLVL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %r8
	testq	%r8, %r8
	jle	LBB0_6
## %bb.5:
	movq	_MNTTAB_OPT_TIMEO@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rdx
	leaq	-96(%rbp), %rdi
	movl	$40, %esi
	xorl	%eax, %eax
	callq	_xsnprintf
	movq	%r15, %rdi
	leaq	-96(%rbp), %rsi
	movl	%r14d, %edx
	callq	_xstrlcat
	movq	_AMU_TYPE_TOPLVL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	8(%rbx), %rcx
	movq	(%rcx,%rax,8), %r8
	testq	%r8, %r8
	jle	LBB0_8
## %bb.7:
	movq	_MNTTAB_OPT_RETRANS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rdx
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$40, %esi
	xorl	%eax, %eax
	callq	_xsnprintf
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_xstrlcat
LBB0_8:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_set_auto_attrcache_timeout
	movq	%r12, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %rdx
	callq	_amfs_mount
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_XLOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_11
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_XLOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
LBB0_11:
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZEOF_OPTS,4,2                ## @SIZEOF_OPTS
	.comm	_errno,4,2                      ## @errno
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_XLOG_WARNING,4,2               ## @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is not a directory"

	.comm	_ENOTDIR,4,2                    ## @ENOTDIR
L_.str.1:                               ## @.str.1
	.asciz	"%s%s,%s=%d,%s,map=%s"

	.comm	_MNTTAB_OPT_RW,4,2              ## @MNTTAB_OPT_RW
	.comm	_MNTTAB_OPT_PORT,4,2            ## @MNTTAB_OPT_PORT
	.comm	_nfs_port,4,2                   ## @nfs_port
	.comm	_gopt,24,3                      ## @gopt
	.comm	_AMU_TYPE_TOPLVL,8,3            ## @AMU_TYPE_TOPLVL
L_.str.2:                               ## @.str.2
	.asciz	",%s=%d"

	.comm	_MNTTAB_OPT_TIMEO,4,2           ## @MNTTAB_OPT_TIMEO
	.comm	_MNTTAB_OPT_RETRANS,4,2         ## @MNTTAB_OPT_RETRANS
	.comm	_XLOG_FATAL,4,2                 ## @XLOG_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"amfs_toplvl_mount: amfs_mount failed: %m"

	.comm	_MFF_IS_AUTOFS,4,2              ## @MFF_IS_AUTOFS
	.comm	_MNTTAB_OPT_IGNORE,8,3          ## @MNTTAB_OPT_IGNORE
	.comm	_MNTTAB_OPT_INTR,8,3            ## @MNTTAB_OPT_INTR
	.comm	_MNTTAB_OPT_NOAC,8,3            ## @MNTTAB_OPT_NOAC
	.comm	_MNTTAB_OPT_NOLOCK,8,3          ## @MNTTAB_OPT_NOLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_toplvl_mount              ; -- Begin function amfs_toplvl_mount
	.p2align	2
_amfs_toplvl_mount:                     ; @amfs_toplvl_mount
	.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, #64
	mov	x20, x1
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SIZEOF_OPTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZEOF_OPTS@GOTPAGEOFF]
	ldr	w22, [x8]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x22, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
	ldr	w23, [x8]
	mov	x9, x23
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	ldr	w0, [x0, #4]
	sub	x1, x29, #136
	bl	_stat
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldur	w8, [x29, #-136]
Lloh9:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.2:
	strb	wzr, [x24]
Lloh15:
	adrp	x8, _MNTTAB_OPT_RW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MNTTAB_OPT_RW@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MNTTAB_OPT_PORT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MNTTAB_OPT_PORT@GOTPAGEOFF]
Lloh19:
	adrp	x10, _nfs_port@GOTPAGE
Lloh20:
	ldr	x10, [x10, _nfs_port@GOTPAGEOFF]
Lloh21:
	ldrsw	x4, [x8]
	ldr	x8, [x20, #8]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	ldr	w10, [x10]
	ldr	w8, [x8]
	ldr	w11, [x20, #4]
	sub	sp, sp, #32
	stp	x8, x11, [sp, #16]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	stp	x9, x10, [sp]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x24
	bl	_xsnprintf
	add	sp, sp, #32
Lloh26:
	adrp	x26, _gopt@GOTPAGE
Lloh27:
	ldr	x26, [x26, _gopt@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh28:
	adrp	x27, _AMU_TYPE_TOPLVL@GOTPAGE
Lloh29:
	ldr	x27, [x27, _AMU_TYPE_TOPLVL@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x4, [x9, x8, lsl #3]
	cmp	x4, #1
	b.lt	LBB0_4
; %bb.3:
Lloh30:
	adrp	x8, _MNTTAB_OPT_TIMEO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MNTTAB_OPT_TIMEO@GOTPAGEOFF]
Lloh32:
	ldrsw	x3, [x8]
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	sub	x0, x29, #128
	mov	w1, #40
	bl	_xsnprintf
	sub	x1, x29, #128
	mov	x0, x21
	mov	x2, x22
	bl	_xstrlcat
	ldr	x8, [x27]
LBB0_4:
	ldr	x9, [x26, #8]
	ldr	x4, [x9, x8, lsl #3]
	cmp	x4, #1
	b.lt	LBB0_6
; %bb.5:
Lloh35:
	adrp	x8, _MNTTAB_OPT_RETRANS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MNTTAB_OPT_RETRANS@GOTPAGEOFF]
Lloh37:
	ldrsw	x3, [x8]
Lloh38:
	adrp	x2, l_.str.2@PAGE
Lloh39:
	add	x2, x2, l_.str.2@PAGEOFF
	sub	x0, x29, #128
	mov	w1, #40
	bl	_xsnprintf
	sub	x1, x29, #128
	mov	x0, x21
	mov	x2, x22
	bl	_xstrlcat
LBB0_6:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_set_auto_attrcache_timeout
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_amfs_mount
	mov	x19, x0
	cbz	w0, LBB0_11
; %bb.7:
Lloh40:
	adrp	x8, _errno@GOTPAGE
Lloh41:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh42:
	str	w19, [x8]
Lloh43:
	adrp	x8, _XLOG_FATAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _XLOG_FATAL@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_plog
	b	LBB0_11
LBB0_8:
Lloh48:
	adrp	x8, _errno@GOTPAGE
Lloh49:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh50:
	adrp	x8, _XLOG_WARNING@GOTPAGE
Lloh51:
	ldr	x8, [x8, _XLOG_WARNING@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	ldr	w8, [x19, #4]
	str	x8, [sp, #-16]!
Lloh53:
	adrp	x1, l_.str@PAGE
Lloh54:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	add	sp, sp, #16
Lloh55:
	adrp	x8, _ENOTDIR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ENOTDIR@GOTPAGEOFF]
LBB0_10:
	ldr	w19, [x8]
LBB0_11:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZEOF_OPTS,4,2                ; @SIZEOF_OPTS
	.comm	_errno,4,2                      ; @errno
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_XLOG_WARNING,4,2               ; @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is not a directory"

	.comm	_ENOTDIR,4,2                    ; @ENOTDIR
l_.str.1:                               ; @.str.1
	.asciz	"%s%s,%s=%d,%s,map=%s"

	.comm	_MNTTAB_OPT_RW,4,2              ; @MNTTAB_OPT_RW
	.comm	_MNTTAB_OPT_PORT,4,2            ; @MNTTAB_OPT_PORT
	.comm	_nfs_port,4,2                   ; @nfs_port
	.comm	_gopt,24,3                      ; @gopt
	.comm	_AMU_TYPE_TOPLVL,8,3            ; @AMU_TYPE_TOPLVL
l_.str.2:                               ; @.str.2
	.asciz	",%s=%d"

	.comm	_MNTTAB_OPT_TIMEO,4,2           ; @MNTTAB_OPT_TIMEO
	.comm	_MNTTAB_OPT_RETRANS,4,2         ; @MNTTAB_OPT_RETRANS
	.comm	_XLOG_FATAL,4,2                 ; @XLOG_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"amfs_toplvl_mount: amfs_mount failed: %m"

	.comm	_MFF_IS_AUTOFS,4,2              ; @MFF_IS_AUTOFS
	.comm	_MNTTAB_OPT_IGNORE,8,3          ; @MNTTAB_OPT_IGNORE
	.comm	_MNTTAB_OPT_INTR,8,3            ; @MNTTAB_OPT_INTR
	.comm	_MNTTAB_OPT_NOAC,8,3            ; @MNTTAB_OPT_NOAC
	.comm	_MNTTAB_OPT_NOLOCK,8,3          ; @MNTTAB_OPT_NOLOCK
.subsections_via_symbols
