	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_list_dataset
_zfs_list_dataset:                      ## @zfs_list_dataset
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-32(%rbp), %rcx
	movq	%rdi, %rsi
	movq	%rbx, %rdx
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_2:
	movq	-32(%rbp), %r14
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	movq	-40(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	movl	%r14d, %esi
LBB0_5:
	callq	_printf
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_zap_list
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ZFS: can't find dataset %ju\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"ZFS: can't find dirobj %ju\n"

L_.str.2:                               ## @.str.2
	.asciz	"ZFS: can't find child zap %ju\n"

	.no_dead_strip	_zfs_list_dataset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_list_dataset
_zfs_list_dataset:                      ; @zfs_list_dataset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	add	x3, sp, #8
	mov	x1, x0
	mov	x2, x20
	bl	_objset_get_dnode
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	x20, [sp, #8]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x19
	mov	x2, x20
	bl	_objset_get_dnode
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	x2, [sp, #16]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x19
	bl	_objset_get_dnode
	cbz	x0, LBB0_8
; %bb.5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	mov	x1, x20
	bl	_printf
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	add	x1, sp, #24
	mov	x0, x19
	bl	_zap_list
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ZFS: can't find dataset %ju\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"ZFS: can't find dirobj %ju\n"

l_.str.2:                               ; @.str.2
	.asciz	"ZFS: can't find child zap %ju\n"

	.no_dead_strip	_zfs_list_dataset
.subsections_via_symbols
