	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_one_dataset
_get_one_dataset:                       ## @get_one_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_zfs_get_type
	movl	%eax, %r15d
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.1:
	movl	_get_one_dataset.spincheck(%rip), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, _get_one_dataset.spincheck(%rip)
	testl	%eax, %eax
	jg	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	callq	_time
	movq	%rax, %r12
	movq	_SPINNER_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	_get_one_dataset.last_spin_time(%rip), %rax
	cmpq	%r12, %rax
	jge	LBB0_4
## %bb.3:
	movl	_get_one_dataset.spinval(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _get_one_dataset.spinval(%rip)
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	subl	%ecx, %eax
	cltq
	leaq	_reltable.get_one_dataset(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	callq	_update_progress
	movq	%r12, _get_one_dataset.last_spin_time(%rip)
LBB0_4:
	movq	_CHECK_SPINNER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _get_one_dataset.spincheck(%rip)
LBB0_5:
	leaq	_get_one_dataset(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_zfs_iter_filesystems
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_zfs_close
	movl	$1, %eax
	jmp	LBB0_11
LBB0_7:
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.9:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_libzfs_add_handle
	movq	(%r14), %rax
	movq	(%rax), %rcx
	xorl	%edi, %edi
	cmpq	8(%rax), %rcx
	setle	%dil
	callq	_assert
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_zfs_close
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.get_one_dataset
_reltable.get_one_dataset:
	.long	L_.str-_reltable.get_one_dataset
	.long	L_.str.1-_reltable.get_one_dataset
	.long	L_.str.2-_reltable.get_one_dataset
	.long	L_.str.3-_reltable.get_one_dataset

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"\\"

L_.str.2:                               ## @.str.2
	.asciz	"|"

L_.str.3:                               ## @.str.3
	.asciz	"/"

.zerofill __DATA,__bss,_get_one_dataset.spinval,4,2 ## @get_one_dataset.spinval
.zerofill __DATA,__bss,_get_one_dataset.spincheck,4,2 ## @get_one_dataset.spincheck
.zerofill __DATA,__bss,_get_one_dataset.last_spin_time,8,3 ## @get_one_dataset.last_spin_time
	.comm	_SPINNER_TIME,8,3               ## @SPINNER_TIME
	.comm	_CHECK_SPINNER,4,2              ## @CHECK_SPINNER
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.no_dead_strip	_get_one_dataset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_one_dataset
_get_one_dataset:                       ; @get_one_dataset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_zfs_get_type
	mov	x21, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.1:
	adrp	x23, _get_one_dataset.spincheck@PAGE
	ldr	w8, [x23, _get_one_dataset.spincheck@PAGEOFF]
	sub	w9, w8, #1
	str	w9, [x23, _get_one_dataset.spincheck@PAGEOFF]
	cmp	w8, #0
	b.gt	LBB0_5
; %bb.2:
	mov	x0, #0
	bl	_time
	adrp	x24, _get_one_dataset.last_spin_time@PAGE
	ldr	x8, [x24, _get_one_dataset.last_spin_time@PAGEOFF]
Lloh0:
	adrp	x9, _SPINNER_TIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPINNER_TIME@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x9, x8
	cmp	x8, x0
	b.ge	LBB0_4
; %bb.3:
	mov	x22, x0
	adrp	x8, _get_one_dataset.spinval@PAGE
	ldr	w9, [x8, _get_one_dataset.spinval@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _get_one_dataset.spinval@PAGEOFF]
	negs	w8, w9
	and	w8, w8, #0x3
	and	w9, w9, #0x3
	csneg	w8, w9, w8, mi
Lloh3:
	adrp	x9, _get_one_dataset.spin@PAGE
Lloh4:
	add	x9, x9, _get_one_dataset.spin@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	bl	_update_progress
	str	x22, [x24, _get_one_dataset.last_spin_time@PAGEOFF]
LBB0_4:
Lloh5:
	adrp	x8, _CHECK_SPINNER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHECK_SPINNER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x23, _get_one_dataset.spincheck@PAGEOFF]
LBB0_5:
Lloh8:
	adrp	x1, _get_one_dataset@PAGE
Lloh9:
	add	x1, x1, _get_one_dataset@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_zfs_iter_filesystems
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_zfs_close
	mov	w0, #1
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_libzfs_add_handle
	ldr	x8, [x20]
	ldp	x9, x8, [x8]
	cmp	x9, x8
	cset	w0, le
	bl	_assert
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_zfs_close
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @get_one_dataset.spin
_get_one_dataset.spin:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"\\"

l_.str.2:                               ; @.str.2
	.asciz	"|"

l_.str.3:                               ; @.str.3
	.asciz	"/"

.zerofill __DATA,__bss,_get_one_dataset.spinval,4,2 ; @get_one_dataset.spinval
.zerofill __DATA,__bss,_get_one_dataset.spincheck,4,2 ; @get_one_dataset.spincheck
.zerofill __DATA,__bss,_get_one_dataset.last_spin_time,8,3 ; @get_one_dataset.last_spin_time
	.comm	_SPINNER_TIME,8,3               ; @SPINNER_TIME
	.comm	_CHECK_SPINNER,4,2              ; @CHECK_SPINNER
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.no_dead_strip	_get_one_dataset
.subsections_via_symbols
