	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_mount
_do_mount:                              ## @do_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	movq	%rbx, %rdx
	callq	_dlog
	movq	%rbx, %rdi
	movl	$365, %esi                      ## imm = 0x16D
	callq	_mkdirs
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-40(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_mount_nfs_fh
	jmp	LBB0_4
LBB0_2:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_plog
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"amfs_host: mounting fs %s on %s\n"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"No mount point for %s - skipping"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_do_mount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_mount
_do_mount:                              ; @do_mount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	mov	x2, x19
	bl	_dlog
	mov	x0, x19
	mov	w1, #365
	bl	_mkdirs
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w8, [sp, #8]
Lloh2:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh5:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_mount_nfs_fh
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_plog
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"amfs_host: mounting fs %s on %s\n"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"No mount point for %s - skipping"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_do_mount
.subsections_via_symbols
