	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amfs_host_mount
_amfs_host_mount:                       ## @amfs_host_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rsp, -176(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -96(%rbp)
	movq	_RPC_ANYSOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r15), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movq	_MFF_WEBNFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_48
LBB0_2:
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	16(%r12), %edi
	movq	_mnttab_file_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_read_mtab
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	24(%r12), %rax
	movq	(%rax), %r12
	movq	16(%rax), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -136(%rbp)
	movq	_XLOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	8(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	movq	_MOUNTVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$2, -192(%rbp)
	movq	$0, -184(%rbp)
	leaq	-136(%rbp), %rsi
	leaq	-192(%rbp), %rdx
	leaq	-100(%rbp), %rcx
	movq	%r12, %rdi
	callq	_get_mount_client
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	_nfs_auth@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
LBB0_8:
	movq	%rax, (%r13)
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	callq	_dlog
	movl	$10, -208(%rbp)
	movq	$0, -200(%rbp)
	movq	_MOUNTPROC_EXPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_void@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_xdr_exports@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-96(%rbp), %r9
	subq	$16, %rsp
	movups	-208(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_clnt_call
	addq	$16, %rsp
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_50
## %bb.9:
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	addl	$8, %ebx
	testq	%rax, %rax
	jne	LBB0_11
LBB0_12:
	movl	%ebx, %edi
	callq	_xmalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.14:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %r14
	movq	-152(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %ecx
	movq	%r15, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	callq	_make_mntpt
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_already_mounted
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_18
LBB0_3:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_50:
	movl	%eax, %edi
	callq	_clnt_sperrno
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_41
LBB0_5:
	xorl	%eax, %eax
	callq	_make_nfs_auth
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ebx, %ebx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_41
LBB0_13:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_19:
	movq	_sortfun@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	$8, %edx
	callq	_qsort
	leal	(,%rbx,8), %edi
	callq	_xmalloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	jle	LBB0_30
## %bb.20:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	xorl	%r15d, %r15d
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %r15d
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	addq	$8, %r12
	addq	$8, %r14
	cmpq	%rbx, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_30
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rax
	cmpq	%rax, %rbx
	jle	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	movq	(%rax), %rsi
	callq	_STREQ
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,8), %r13
	movq	(%r14), %rax
	movq	(%rax), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_dlog
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax), %rax
	movq	8(%rax), %rcx
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_fetch_fhandle
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %r13
	movl	%ebx, %r15d
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	$0, (%r13)
	movq	-144(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_29
LBB0_30:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-168(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_xstrlcpy
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_39
## %bb.33:
	movq	%rax, %rcx
	incq	%rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	subl	%ecx, %eax
	addl	%eax, %r15d
	shlq	$3, -128(%rbp)                  ## 8-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r13, %r15
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=1
	addq	$8, %rbx
	cmpq	%rbx, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_39
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx), %r14
	testq	%r14, %r14
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r14), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r13
	movl	%r15d, %edx
	callq	_xstrlcpy
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	16(%r15), %ecx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_make_mntpt
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movq	%r12, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_do_mount
	testq	%rax, %rax
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_37
LBB0_39:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_40
LBB0_31:
	movq	_XLOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_40:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_41:
	callq	_discard_mntlist
	movq	%r12, %rdi
	callq	_XFREE
	movq	%rbx, %rdi
	callq	_XFREE
	movl	-100(%rbp), %edi
	movq	_RPC_ANYSOCK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_43
## %bb.42:
	callq	_amu_close
LBB0_43:
	testq	%r13, %r13
	je	LBB0_45
## %bb.44:
	movq	%r13, %rdi
	callq	_clnt_destroy
LBB0_45:
	cmpq	$0, -96(%rbp)
	je	LBB0_47
## %bb.46:
	movq	_xdr_exports@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xdr_pri_free
LBB0_47:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	cmovel	%r15d, %eax
LBB0_48:
	movq	-176(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_51
## %bb.49:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r14), %rax
	jmp	LBB0_8
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_ANYSOCK,4,2                ## @RPC_ANYSOCK
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_MFF_WEBNFS,4,2                 ## @MFF_WEBNFS
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"amfs_host_mount: cannot support WebNFS"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_mnttab_file_name,4,2           ## @mnttab_file_name
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"amfs_host_mount: NFS version %d"

	.comm	_MOUNTVERS,4,2                  ## @MOUNTVERS
L_.str.2:                               ## @.str.2
	.asciz	"get_mount_client failed for %s"

	.comm	_nfs_auth,8,3                   ## @nfs_auth
L_.str.3:                               ## @.str.3
	.asciz	"Fetching export list from %s"

	.comm	_MOUNTPROC_EXPORT,4,2           ## @MOUNTPROC_EXPORT
	.comm	_xdr_void,8,3                   ## @xdr_void
	.comm	_xdr_exports,8,3                ## @xdr_exports
	.comm	_RPC_SUCCESS,4,2                ## @RPC_SUCCESS
L_.str.4:                               ## @.str.4
	.asciz	"host_mount rpc failed: %s"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_sortfun,4,2                    ## @sortfun
L_.str.5:                               ## @.str.5
	.asciz	"avoiding dup fhandle requested for %s"

	.comm	_XLOG_FATAL,4,2                 ## @XLOG_FATAL
L_.str.6:                               ## @.str.6
	.asciz	"amfs_host_mount: mf_info has no colon"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AM_MOUNTVERS3,4,2              ## @AM_MOUNTVERS3
	.comm	_NFS_VERSION3,8,3               ## @NFS_VERSION3
	.no_dead_strip	_amfs_host_mount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amfs_host_mount
_amfs_host_mount:                       ; @amfs_host_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, #128
	mov	x21, x1
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-96]
Lloh3:
	adrp	x25, _RPC_ANYSOCK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _RPC_ANYSOCK@GOTPAGEOFF]
	ldr	w8, [x25]
	stur	w8, [x29, #-108]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
Lloh8:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w12, [x8]
	mov	x9, x12
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x1fffffff0
	sub	x27, x9, x10
	mov	sp, x27
	ldr	w23, [x8]
	mov	x9, x23
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	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	w8, [x1]
Lloh14:
	adrp	x9, _MFF_WEBNFS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MFF_WEBNFS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
Lloh22:
	adrp	x8, _EIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_48
LBB0_2:
	stur	x12, [x29, #-176]               ; 8-byte Folded Spill
	ldr	w0, [x21, #16]
Lloh25:
	adrp	x8, _mnttab_file_name@GOTPAGE
Lloh26:
	ldr	x8, [x8, _mnttab_file_name@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_read_mtab
	mov	x28, x0
	ldr	x8, [x21, #24]
	ldr	x9, [x8, #16]
	ldr	w9, [x9]
	stur	w9, [x29, #-104]
Lloh28:
	adrp	x9, _XLOG_INFO@GOTPAGE
Lloh29:
	ldr	x9, [x9, _XLOG_INFO@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x9]
	ldp	x19, x8, [x8]
	str	x8, [sp, #-16]!
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
	add	sp, sp, #16
Lloh33:
	adrp	x8, _MOUNTVERS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MOUNTVERS@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	w8, #2
	stur	w8, [x29, #-128]
	stur	xzr, [x29, #-120]
	sub	x1, x29, #104
	sub	x2, x29, #128
	sub	x3, x29, #108
	mov	x0, x19
	bl	_get_mount_client
Lloh36:
	adrp	x20, _xdr_exports@GOTPAGE
Lloh37:
	ldr	x20, [x20, _xdr_exports@GOTPAGEOFF]
	stur	x0, [x29, #-144]                ; 8-byte Folded Spill
	cbz	x0, LBB0_12
; %bb.3:
Lloh38:
	adrp	x20, _nfs_auth@GOTPAGE
Lloh39:
	ldr	x20, [x20, _nfs_auth@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_14
LBB0_4:
	ldur	x9, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [x9]
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x19, x9
	bl	_dlog
Lloh42:
	adrp	x8, _MOUNTPROC_EXPORT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MOUNTPROC_EXPORT@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _xdr_void@GOTPAGE
Lloh46:
	ldr	x8, [x8, _xdr_void@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x20, _xdr_exports@GOTPAGE
Lloh49:
	ldr	x20, [x20, _xdr_exports@GOTPAGEOFF]
	ldr	w4, [x20]
	sub	x5, x29, #96
	mov	x0, x19
	mov	w3, #0
	mov	w6, #10
	mov	x7, #0
	bl	_clnt_call
Lloh50:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.5:
	ldur	x8, [x29, #-96]
	stur	x27, [x29, #-160]               ; 8-byte Folded Spill
	mov	w0, #0
	cbz	x8, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	w0, w0, #8
	cbnz	x8, LBB0_6
LBB0_7:
	bl	_xmalloc
	mov	x20, x0
	ldur	x27, [x29, #-96]
Lloh53:
	adrp	x25, _TRUE@GOTPAGE
Lloh54:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	cbz	x27, LBB0_16
; %bb.8:
	stur	wzr, [x29, #-148]               ; 4-byte Folded Spill
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	str	x27, [x20, w8, sxtw #3]
	add	w8, w8, #1
	stur	w8, [x29, #-148]                ; 4-byte Folded Spill
	ldr	x27, [x27, #8]
	cbz	x27, LBB0_17
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x21, #16]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x27
	bl	_make_mntpt
	mov	x0, x28
	mov	x1, x24
	bl	_already_mounted
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w26, [x25]
	ldr	x27, [x27, #8]
	cbnz	x27, LBB0_10
	b	LBB0_17
LBB0_12:
Lloh55:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	str	x19, [sp, #-16]!
Lloh58:
	adrp	x1, l_.str.2@PAGE
Lloh59:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plog
	add	sp, sp, #16
	mov	x23, #0
	mov	x21, #0
Lloh60:
	adrp	x8, _EIO@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh62:
	ldr	w27, [x8]
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	b	LBB0_41
LBB0_13:
	bl	_clnt_sperrno
Lloh63:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	str	x0, [sp, #-16]!
Lloh66:
	adrp	x1, l_.str.4@PAGE
Lloh67:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_plog
	add	sp, sp, #16
	mov	x23, #0
	mov	x21, #0
Lloh68:
	adrp	x8, _EIO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh70:
	ldr	w27, [x8]
	b	LBB0_41
LBB0_14:
	stur	x27, [x29, #-160]               ; 8-byte Folded Spill
	bl	_make_nfs_auth
	cbz	w0, LBB0_37
; %bb.15:
	mov	x27, x0
	mov	x23, #0
	mov	x21, #0
Lloh71:
	adrp	x20, _xdr_exports@GOTPAGE
Lloh72:
	ldr	x20, [x20, _xdr_exports@GOTPAGEOFF]
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	b	LBB0_41
LBB0_16:
	stur	wzr, [x29, #-148]               ; 4-byte Folded Spill
LBB0_17:
	stp	x22, x28, [x29, #-192]          ; 16-byte Folded Spill
	stur	w26, [x29, #-196]               ; 4-byte Folded Spill
Lloh73:
	adrp	x8, _sortfun@GOTPAGE
Lloh74:
	ldr	x8, [x8, _sortfun@GOTPAGEOFF]
Lloh75:
	ldr	w3, [x8]
	mov	x0, x20
	ldur	w25, [x29, #-148]               ; 4-byte Folded Reload
	mov	x1, x25
	mov	w2, #8
	bl	_qsort
	lsl	w0, w25, #3
	bl	_xmalloc
	mov	w22, w25
	cmp	w25, #1
	stur	x20, [x29, #-136]               ; 8-byte Folded Spill
	stur	x0, [x29, #-168]                ; 8-byte Folded Spill
	b.lt	LBB0_28
; %bb.18:
	mov	x26, x20
	mov	x20, #0
	mov	w25, #0
	mov	w27, #0
	mov	x28, x0
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x25, x20
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x20, x20, #1
	add	x28, x28, #8
	add	x26, x26, #8
	cmp	x22, x20
	b.eq	LBB0_29
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w25
	cmp	x20, x8
	b.le	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x26]
	ldr	x0, [x9]
	ldr	x1, [x8]
	bl	_STREQ
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x19, x8, x20, lsl #3
	ldr	x8, [x26]
	ldr	x1, [x8]
Lloh76:
	adrp	x0, l_.str.5@PAGE
Lloh77:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dlog
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x26]
	ldr	x1, [x8]
	ldr	x8, [x21, #24]
	ldr	x3, [x8, #8]
	mov	x0, x19
	mov	x2, x28
	bl	_fetch_fhandle
	mov	x27, x0
	cbz	w0, LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x19, x26
	mov	x25, x20
LBB0_27:                                ;   in Loop: Header=BB0_21 Depth=1
	str	xzr, [x19]
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	b	LBB0_20
LBB0_28:
	mov	w27, #0
LBB0_29:
	ldr	x1, [x21, #8]
	ldur	x20, [x29, #-160]               ; 8-byte Folded Reload
	mov	x0, x20
	ldur	x2, [x29, #-176]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_xstrlcpy
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	ldur	x28, [x29, #-184]               ; 8-byte Folded Reload
	cbz	x0, LBB0_36
; %bb.30:
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	cmp	w8, #1
	ldur	w26, [x29, #-196]               ; 4-byte Folded Reload
	b.lt	LBB0_38
; %bb.31:
	mov	x25, #0
	add	x19, x0, #1
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	sub	w8, w8, w19
	ldur	x9, [x29, #-176]                ; 8-byte Folded Reload
	add	w20, w9, w8
	lsl	x22, x22, #3
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x25, x25, #8
	cmp	x22, x25
	b.eq	LBB0_35
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x28, [x8, x25]
	cbz	x28, LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x1, [x28]
	mov	x0, x19
	mov	x2, x20
	bl	_xstrlcpy
	ldr	w3, [x21, #16]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x28
	bl	_make_mntpt
	ldp	x8, x2, [x29, #-168]            ; 16-byte Folded Reload
	add	x0, x8, x25
	mov	x1, x24
	mov	x3, x21
	bl	_do_mount
Lloh78:
	adrp	x8, _TRUE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w26, w8, w26, eq
	b	LBB0_32
LBB0_35:
	ldp	x22, x28, [x29, #-192]          ; 16-byte Folded Reload
Lloh81:
	adrp	x25, _RPC_ANYSOCK@GOTPAGE
Lloh82:
	ldr	x25, [x25, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh83:
	adrp	x20, _xdr_exports@GOTPAGE
Lloh84:
	ldr	x20, [x20, _xdr_exports@GOTPAGEOFF]
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	b	LBB0_40
LBB0_36:
Lloh85:
	adrp	x8, _XLOG_FATAL@GOTPAGE
Lloh86:
	ldr	x8, [x8, _XLOG_FATAL@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
Lloh88:
	adrp	x1, l_.str.6@PAGE
Lloh89:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_plog
Lloh90:
	adrp	x8, _EINVAL@GOTPAGE
Lloh91:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh92:
	ldr	w27, [x8]
	ldur	x22, [x29, #-192]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-196]               ; 4-byte Folded Reload
	b	LBB0_39
LBB0_37:
	ldr	x8, [x20]
	ldur	x27, [x29, #-160]               ; 8-byte Folded Reload
	b	LBB0_4
LBB0_38:
	ldur	x22, [x29, #-192]               ; 8-byte Folded Reload
LBB0_39:
Lloh93:
	adrp	x25, _RPC_ANYSOCK@GOTPAGE
Lloh94:
	ldr	x25, [x25, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh95:
	adrp	x20, _xdr_exports@GOTPAGE
Lloh96:
	ldr	x20, [x20, _xdr_exports@GOTPAGEOFF]
LBB0_40:
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	ldur	x23, [x29, #-168]               ; 8-byte Folded Reload
LBB0_41:
	mov	x0, x28
	bl	_discard_mntlist
	mov	x0, x21
	bl	_XFREE
	mov	x0, x23
	bl	_XFREE
	ldur	w0, [x29, #-108]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_43
; %bb.42:
	bl	_amu_close
LBB0_43:
	cbz	x19, LBB0_45
; %bb.44:
	mov	x0, x19
	bl	_clnt_destroy
LBB0_45:
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_47
; %bb.46:
	ldr	w0, [x20]
	sub	x1, x29, #96
	bl	_xdr_pri_free
LBB0_47:
	cmp	w26, #0
	csel	w0, w27, wzr, eq
LBB0_48:
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh97:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh98:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh99:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.49:
	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_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_ANYSOCK,4,2                ; @RPC_ANYSOCK
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_MFF_WEBNFS,4,2                 ; @MFF_WEBNFS
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"amfs_host_mount: cannot support WebNFS"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_mnttab_file_name,4,2           ; @mnttab_file_name
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"amfs_host_mount: NFS version %d"

	.comm	_MOUNTVERS,4,2                  ; @MOUNTVERS
l_.str.2:                               ; @.str.2
	.asciz	"get_mount_client failed for %s"

	.comm	_nfs_auth,8,3                   ; @nfs_auth
l_.str.3:                               ; @.str.3
	.asciz	"Fetching export list from %s"

	.comm	_MOUNTPROC_EXPORT,4,2           ; @MOUNTPROC_EXPORT
	.comm	_xdr_void,8,3                   ; @xdr_void
	.comm	_xdr_exports,8,3                ; @xdr_exports
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
l_.str.4:                               ; @.str.4
	.asciz	"host_mount rpc failed: %s"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_sortfun,4,2                    ; @sortfun
l_.str.5:                               ; @.str.5
	.asciz	"avoiding dup fhandle requested for %s"

	.comm	_XLOG_FATAL,4,2                 ; @XLOG_FATAL
l_.str.6:                               ; @.str.6
	.asciz	"amfs_host_mount: mf_info has no colon"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AM_MOUNTVERS3,4,2              ; @AM_MOUNTVERS3
	.comm	_NFS_VERSION3,8,3               ; @NFS_VERSION3
	.no_dead_strip	_amfs_host_mount
.subsections_via_symbols
