	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amfs_cont
_amfs_cont:                             ## @amfs_cont
	.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
	movq	%rdx, %r14
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	(%rdx), %rbx
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dlog
	movq	_MFF_MOUNTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_new_ttl
	movq	%r15, %rdi
	callq	_get_mntfs_wchan
	movl	%eax, %edi
	callq	_wakeup
	movl	%r12d, %eax
	orl	%r13d, %eax
	je	LBB0_9
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_MFF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_5
LBB0_9:
	movq	(%r14), %rax
	movl	8(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_dlog
	movq	(%r14), %rdi
	callq	_am_mounted
	movq	%r14, %rdi
	callq	_free_continuation
	jmp	LBB0_10
LBB0_3:
	movl	%r13d, 4(%r15)
	movq	_MFF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_STREQ
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_5:
	movq	_MFF_NFS_SCALEDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_7
## %bb.6:
	movq	_amd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	incl	8(%r14)
LBB0_7:
	movq	%r14, %rdi
	callq	_amfs_bgmount
	cmpq	$0, (%rbx)
	jle	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_assign_error_mntfs
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reschedule_timeout_mp          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"amfs_cont: '%s'"

	.comm	_MFF_MOUNTING,4,2               ## @MFF_MOUNTING
	.comm	_EIO,4,2                        ## @EIO
	.comm	_MFF_ERROR,4,2                  ## @MFF_ERROR
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"mount for %s got signal %d"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"linkx"

L_.str.3:                               ## @.str.3
	.asciz	"%s: mount (amfs_cont): %m"

	.comm	_MFF_NFS_SCALEDOWN,4,2          ## @MFF_NFS_SCALEDOWN
	.comm	_amd_stats,4,2                  ## @amd_stats
L_.str.4:                               ## @.str.4
	.asciz	"Mounting %s returned success"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MFF_IS_AUTOFS,4,2              ## @MFF_IS_AUTOFS
	.comm	_MFF_MOUNTED,4,2                ## @MFF_MOUNTED
	.no_dead_strip	_amfs_cont
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amfs_cont
_amfs_cont:                             ; @amfs_cont
	.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, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x20, [x2]
	ldr	x8, [x20, #16]
	ldr	x21, [x8]
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlog
Lloh2:
	adrp	x8, _MFF_MOUNTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MFF_MOUNTING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	mov	x0, x20
	bl	_new_ttl
	mov	x0, x21
	bl	_get_mntfs_wchan
	bl	_wakeup
	orr	w8, w22, w23
	cbz	w8, LBB0_4
; %bb.1:
	cbz	w22, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MFF_ERROR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MFF_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	w10, [x21]
	orr	w9, w10, w9
	stp	w9, w8, [x21]
Lloh11:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w2, [x20, #8]
	str	x22, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
	bl	_plog
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dlog
	ldr	x0, [x19]
	bl	_am_mounted
	mov	x0, x19
	bl	_free_continuation
	b	LBB0_10
LBB0_5:
Lloh18:
	adrp	x8, _MFF_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MFF_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _errno@GOTPAGE
Lloh22:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	stp	w8, w23, [x21]
Lloh23:
	str	w23, [x9]
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_STREQ
	cbz	w0, LBB0_11
LBB0_6:
	ldr	w8, [x21]
Lloh26:
	adrp	x9, _MFF_NFS_SCALEDOWN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MFF_NFS_SCALEDOWN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
Lloh29:
	adrp	x8, _amd_stats@GOTPAGE
Lloh30:
	ldr	x8, [x8, _amd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_8:
	mov	x0, x19
	bl	_amfs_bgmount
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_assign_error_mntfs
LBB0_10:
	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
	b	_reschedule_timeout_mp
LBB0_11:
Lloh31:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	w2, [x20, #8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"amfs_cont: '%s'"

	.comm	_MFF_MOUNTING,4,2               ; @MFF_MOUNTING
	.comm	_EIO,4,2                        ; @EIO
	.comm	_MFF_ERROR,4,2                  ; @MFF_ERROR
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"mount for %s got signal %d"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"linkx"

l_.str.3:                               ; @.str.3
	.asciz	"%s: mount (amfs_cont): %m"

	.comm	_MFF_NFS_SCALEDOWN,4,2          ; @MFF_NFS_SCALEDOWN
	.comm	_amd_stats,4,2                  ; @amd_stats
l_.str.4:                               ; @.str.4
	.asciz	"Mounting %s returned success"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MFF_IS_AUTOFS,4,2              ; @MFF_IS_AUTOFS
	.comm	_MFF_MOUNTED,4,2                ; @MFF_MOUNTED
	.no_dead_strip	_amfs_cont
.subsections_via_symbols
