	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_dsl_dataset_cleanup      ## -- Begin function ztest_dsl_dataset_cleanup
	.p2align	4, 0x90
_ztest_dsl_dataset_cleanup:             ## @ztest_dsl_dataset_cleanup
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_snprintf
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_snprintf
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_snprintf
	leaq	L_.str.3(%rip), %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movq	%r15, %r13
	movl	%ebx, %r8d
	callq	_snprintf
	leaq	L_.str.4(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r15
	movl	%r14d, %esi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	%r12, %rdi
	callq	_dsl_destroy_head
	movq	_ENOENT@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	(%r14), %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_fatal
LBB0_3:
	movq	_B_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_dsl_destroy_snapshot
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	cmpl	(%r14), %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_fatal
LBB0_6:
	movl	(%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dsl_destroy_snapshot
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	cmpl	(%r14), %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.6(%rip), %rsi
	xorl	%edi, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_fatal
LBB0_9:
	movq	%r13, %rdi
	callq	_dsl_destroy_head
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	cmpl	(%r14), %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_fatal
LBB0_12:
	movl	(%rbx), %esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dsl_destroy_snapshot
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	cmpl	(%r14), %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_fatal
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s@s1_%llu"

L_.str.1:                               ## @.str.1
	.asciz	"%s/c1_%llu"

L_.str.2:                               ## @.str.2
	.asciz	"%s@s2_%llu"

L_.str.3:                               ## @.str.3
	.asciz	"%s/c2_%llu"

L_.str.4:                               ## @.str.4
	.asciz	"%s@s3_%llu"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.5:                               ## @.str.5
	.asciz	"dsl_destroy_head(%s) = %d"

	.comm	_B_FALSE,4,2                    ## @B_FALSE
L_.str.6:                               ## @.str.6
	.asciz	"dsl_destroy_snapshot(%s) = %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_dsl_dataset_cleanup      ; -- Begin function ztest_dsl_dataset_cleanup
	.p2align	2
_ztest_dsl_dataset_cleanup:             ; @ztest_dsl_dataset_cleanup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x12, x9, #0x1fffffff0
	sub	x19, x8, x12
	mov	sp, x19
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x24
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x24
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	mov	x9, x24
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x24
	mov	x3, x25
	mov	x4, x23
	bl	_snprintf
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	mov	x3, x25
	mov	x4, x23
	bl	_snprintf
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	mov	x3, x20
	mov	x4, x23
	bl	_snprintf
Lloh22:
	adrp	x2, l_.str.3@PAGE
Lloh23:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x26
	mov	x1, x24
	mov	x3, x25
	mov	x4, x23
	bl	_snprintf
Lloh24:
	adrp	x2, l_.str.4@PAGE
Lloh25:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	mov	x3, x20
	mov	x4, x23
	bl	_snprintf
	mov	x0, x26
	bl	_dsl_destroy_head
Lloh26:
	adrp	x23, _ENOENT@GOTPAGE
Lloh27:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x3, x0
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #0
	mov	x2, x26
	bl	_fatal
LBB0_2:
Lloh30:
	adrp	x24, _B_FALSE@GOTPAGE
Lloh31:
	ldr	x24, [x24, _B_FALSE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_dsl_destroy_snapshot
	ldr	w8, [x23]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_4
; %bb.3:
	mov	x3, x0
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #0
	mov	x2, x22
	bl	_fatal
LBB0_4:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_dsl_destroy_snapshot
	ldr	w8, [x23]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_6
; %bb.5:
	mov	x3, x0
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #0
	mov	x2, x21
	bl	_fatal
LBB0_6:
	mov	x0, x20
	bl	_dsl_destroy_head
	cbz	w0, LBB0_9
; %bb.7:
	mov	x3, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_fatal
LBB0_9:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_dsl_destroy_snapshot
	cbz	w0, LBB0_12
; %bb.10:
	mov	x3, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.11:
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #0
	mov	x2, x19
	bl	_fatal
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s@s1_%llu"

l_.str.1:                               ; @.str.1
	.asciz	"%s/c1_%llu"

l_.str.2:                               ; @.str.2
	.asciz	"%s@s2_%llu"

l_.str.3:                               ; @.str.3
	.asciz	"%s/c2_%llu"

l_.str.4:                               ; @.str.4
	.asciz	"%s@s3_%llu"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.5:                               ; @.str.5
	.asciz	"dsl_destroy_head(%s) = %d"

	.comm	_B_FALSE,4,2                    ; @B_FALSE
l_.str.6:                               ; @.str.6
	.asciz	"dsl_destroy_snapshot(%s) = %d"

.subsections_via_symbols
