	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_snapspec              ## -- Begin function zfs_iter_snapspec
	.p2align	4, 0x90
_zfs_iter_snapspec:                     ## @zfs_iter_snapspec
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	callq	_zfs_strdup
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-80(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strsep
	movq	%rax, %r12
	movl	%r13d, %r15d
	testq	%rax, %rax
	je	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$37, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-136(%rbp), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rcx)
	movups	%xmm0, (%rcx)
	movq	$0, 32(%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -144(%rbp)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -112(%rbp)
	cmpq	%r12, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -136(%rbp)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_zfs_get_name
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rcx
	movq	%r12, %r8
	callq	_snprintf
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_make_dataset_handle
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r13d
	testl	%r15d, %r15d
	cmovnel	%r15d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -116(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, (%rax)
	movq	%rax, %rcx
	incq	%rcx
	movq	%rcx, -128(%rbp)
	cmpb	$0, 1(%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsp, %r14
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_zfs_get_name
	movq	-128(%rbp), %r8
	movq	%r12, %rdi
	movl	%r13d, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	movl	(%rbx), %edi
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_zfs_dataset_exists
	testl	%eax, %eax
	movq	%r14, %rsp
	je	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_snapspec_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-144(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_zfs_iter_snapshots_sorted
	movl	%eax, %r13d
	testl	%r15d, %r15d
	cmovnel	%r15d, %r13d
	testl	%r13d, %r13d
	jne	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -116(%rbp)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rax
	xorl	%r13d, %r13d
	cmpb	$0, (%rax)
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -120(%rbp)
	je	LBB0_13
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_1:
	xorl	%r13d, %r13d
LBB0_19:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
L_.str.1:                               ## @.str.1
	.asciz	"%s@%s"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_snapspec_cb,4,2                ## @snapspec_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_snapspec              ; -- Begin function zfs_iter_snapspec
	.p2align	2
_zfs_iter_snapspec:                     ; @zfs_iter_snapspec
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	stur	x3, [x29, #-152]                ; 8-byte Folded Spill
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0]
	bl	_zfs_strdup
	stur	x0, [x29, #-160]                ; 8-byte Folded Spill
	stur	x0, [x29, #-96]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #96
	bl	_strsep
	cbz	x0, LBB0_18
; %bb.1:
	mov	x26, x0
	mov	w23, #0
	sub	x8, x29, #144
Lloh5:
	adrp	x28, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh6:
	ldr	x28, [x28, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
	add	x22, x8, #8
Lloh7:
	adrp	x19, l_.str@PAGE
Lloh8:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #96
	mov	x1, x19
	bl	_strsep
	mov	x26, x0
	cbz	x0, LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	mov	w1, #37
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x22, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x22]
	stur	x20, [x29, #-144]
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	stur	x8, [x29, #-112]
	cmp	x0, x26
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	stur	x26, [x29, #-136]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, sp
	mov	x25, x28
	ldr	w27, [x28]
	mov	x9, x27
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x28, x8, x9
	mov	sp, x28
	mov	x0, x21
	bl	_zfs_get_name
	mov	x3, x0
	mov	x0, x28
	mov	x1, x27
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x4, x26
	bl	_snprintf
	ldr	w0, [x21]
	mov	x1, x28
	bl	_make_dataset_handle
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x1, [x29, #-152]                ; 8-byte Folded Reload
	blr	x20
	cmp	w23, #0
	csel	w23, w0, w23, eq
	b	LBB0_17
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	stur	w8, [x29, #-116]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x0]
	add	x8, x0, #1
	stur	x8, [x29, #-128]
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, sp
	ldr	w26, [x28]
	mov	x9, x26
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	mov	x0, x21
	bl	_zfs_get_name
	mov	x3, x0
	ldur	x4, [x29, #-128]
	mov	x0, x27
	mov	x1, x26
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	ldr	w0, [x21]
Lloh23:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x1, x27
	bl	_zfs_dataset_exists
	mov	sp, x24
	cbz	w0, LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh26:
	adrp	x8, _snapspec_cb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _snapspec_cb@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	sub	x2, x29, #144
	mov	x0, x21
	mov	w3, #0
	mov	w4, #0
	bl	_zfs_iter_snapshots_sorted
	cmp	w23, #0
	csel	w23, w0, w23, eq
	cbnz	w23, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-116]
	cbz	w8, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-128]
	ldrb	w8, [x8]
	ldur	w9, [x29, #-120]
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh29:
	adrp	x8, _ENOENT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh31:
	ldr	w23, [x8]
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	sp, x24
	mov	x28, x25
	b	LBB0_3
LBB0_18:
	mov	w23, #0
LBB0_19:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	bl	_free
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
l_.str.1:                               ; @.str.1
	.asciz	"%s@%s"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_snapspec_cb,4,2                ; @snapspec_cb
.subsections_via_symbols
