	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guid_to_name
_guid_to_name:                          ## @guid_to_name
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	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), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	%r12d, -80(%rbp)
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strrchr
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rcx
	movq	%rbx, %rax
	addq	%rcx, %rax
	je	LBB0_12
LBB0_2:
	movq	_EEXIST@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rax)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_make_dataset_handle
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_zfs_handle_dup
	movl	%eax, %edi
	leaq	-104(%rbp), %rsi
	callq	_guid_to_name_cb
	movl	%eax, %r14d
	cmpl	(%r12), %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	_guid_to_name_cb@GOTPCREL(%rip), %rsi
	leaq	-104(%rbp), %rdx
	callq	_zfs_iter_children
	movl	%eax, %r14d
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r12), %r14d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	_guid_to_name_cb@GOTPCREL(%rip), %rsi
	leaq	-104(%rbp), %rdx
	callq	_zfs_iter_bookmarks
	movl	%eax, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_zfs_close
	cmpl	(%r12), %r14d
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	incq	%rax
	movq	%rax, -96(%rbp)
	jmp	LBB0_11
LBB0_12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_guid_to_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guid_to_name
_guid_to_name:                          ; @guid_to_name
	.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, #48
	mov	x19, x3
	mov	x20, 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	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
	stur	w2, [x29, #-80]
	stp	xzr, x3, [x29, #-96]
	stur	x4, [x29, #-104]
	mov	x0, x21
	mov	x2, x8
	bl	_strlcpy
	mov	x0, x21
	mov	w1, #64
	bl	_strrchr
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_strlen
	adds	x0, x21, x0
	b.eq	LBB0_11
LBB0_2:
Lloh8:
	adrp	x25, _EEXIST@GOTPAGE
Lloh9:
	ldr	x25, [x25, _EEXIST@GOTPAGEOFF]
Lloh10:
	adrp	x22, _guid_to_name_cb@GOTPAGE
Lloh11:
	ldr	x22, [x22, _guid_to_name_cb@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x0]
	mov	x0, x20
	mov	x1, x21
	bl	_make_dataset_handle
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	bl	_zfs_handle_dup
	sub	x1, x29, #104
	bl	_guid_to_name_cb
	mov	x24, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x2, x29, #104
	mov	x0, x23
	mov	x1, x22
	bl	_zfs_iter_children
	mov	x24, x0
	cbz	x19, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	cmp	w24, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x2, x29, #104
	mov	x0, x23
	mov	x1, x22
	bl	_zfs_iter_bookmarks
	mov	x24, x0
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_zfs_close
	ldr	w8, [x25]
	cmp	w24, w8
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	add	x8, x0, #1
	stur	x8, [x29, #-96]
	b	LBB0_3
LBB0_11:
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_guid_to_name
.subsections_via_symbols
