	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_mount_ds
_zfs_mount_ds:                          ## @zfs_mount_ds
	.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	%rdi, %rbx
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spa_find_by_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_zfs_spa_init
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	movq	$0, -40(%rbp)
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_zfs_lookup_dataset
	testq	%rax, %rax
	je	LBB0_9
## %bb.14:
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$-1, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_9:
	movq	-40(%rbp), %rsi
LBB0_10:
	movq	_zfsmount@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	callq	_zfs_mount
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_13
LBB0_12:
	movq	_spa@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nCan't find ZFS pool %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"\nCan't find dataset %s in ZFS pool %s\n"

	.comm	_zfsmount,4,2                   ## @zfsmount
	.comm	_spa,8,3                        ## @spa
L_str:                                  ## @str
	.asciz	"\nCan't mount ZFS dataset"

	.no_dead_strip	_zfs_mount_ds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_mount_ds
_zfs_mount_ds:                          ; @zfs_mount_ds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x0
	mov	w1, #47
	bl	_strchr
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	strb	wzr, [x20], #1
LBB0_2:
	mov	x0, x21
	bl	_spa_find_by_name
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
	bl	_zfs_spa_init
	cbnz	x0, LBB0_9
; %bb.4:
	str	xzr, [sp, #24]
	cbz	x20, LBB0_11
; %bb.5:
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_zfs_lookup_dataset
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x8, [x19]
	stp	x20, x8, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	str	x21, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_printf
LBB0_9:
	mov	w0, #-1
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
	add	sp, sp, #80
	ret
LBB0_11:
	mov	x1, #0
	b	LBB0_13
LBB0_12:
	ldr	x1, [sp, #24]
LBB0_13:
Lloh4:
	adrp	x2, _zfsmount@GOTPAGE
Lloh5:
	ldr	x2, [x2, _zfsmount@GOTPAGEOFF]
	mov	x0, x19
	bl	_zfs_mount
	cbz	x0, LBB0_15
; %bb.14:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_9
LBB0_15:
Lloh8:
	adrp	x8, _spa@GOTPAGE
Lloh9:
	ldr	x8, [x8, _spa@GOTPAGEOFF]
Lloh10:
	str	x19, [x8]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nCan't find ZFS pool %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"\nCan't find dataset %s in ZFS pool %s\n"

	.comm	_zfsmount,4,2                   ; @zfsmount
	.comm	_spa,8,3                        ; @spa
l_str:                                  ; @str
	.asciz	"\nCan't mount ZFS dataset"

	.no_dead_strip	_zfs_mount_ds
.subsections_via_symbols
