	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_mount
_zfs_mount:                             ## @zfs_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, -24(%rbp)
	movq	%rdi, 16(%rdx)
	testq	%rsi, %rsi
	je	LBB0_1
LBB0_3:
	leaq	8(%r14), %rdx
	movq	%rbx, %rdi
	callq	_zfs_mount_dataset
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	leaq	L_str(%rip), %rdi
	jmp	LBB0_6
LBB0_1:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_zfs_get_root
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	leaq	L_str.2(%rip), %rdi
LBB0_6:
	callq	_puts
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_7:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	-24(%rbp), %rsi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"ZFS: can't open root filesystem"

L_str.2:                                ## @str.2
	.asciz	"ZFS: can't find root filesystem"

	.no_dead_strip	_zfs_mount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_mount
_zfs_mount:                             ; @zfs_mount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	str	x1, [sp, #8]
	str	x0, [x2, #16]
	cbz	x1, LBB0_3
LBB0_1:
	add	x2, x19, #8
	mov	x0, x20
	bl	_zfs_mount_dataset
	cbz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_5
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_zfs_get_root
	cbz	x0, LBB0_8
; %bb.4:
Lloh2:
	adrp	x0, l_str.2@PAGE
Lloh3:
	add	x0, x0, l_str.2@PAGEOFF
LBB0_5:
	bl	_puts
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	ldr	x1, [sp, #8]
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"ZFS: can't open root filesystem"

l_str.2:                                ; @str.2
	.asciz	"ZFS: can't find root filesystem"

	.no_dead_strip	_zfs_mount
.subsections_via_symbols
