	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_setup_snapshot_name
_be_setup_snapshot_name:                ## @be_setup_snapshot_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	callq	_time
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %r13
	leaq	(%r14,%r13), %rbx
	movq	%r15, %r12
	subq	%r13, %r12
	leaq	-44(%rbp), %rdi
	callq	_localtime
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %ecx
	callq	_strftime
	addl	%eax, %r13d
	movslq	%r13d, %r13
	subq	%r13, %r15
	cmpq	$2, %r15
	jb	LBB0_5
## %bb.1:
	movq	_BE_SNAP_SERIAL_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.2:
	addq	%r14, %r13
	xorl	%ebx, %ebx
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_zfs_dataset_exists
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	_BE_SNAP_SERIAL_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"@%F-%T"

	.comm	_BE_SNAP_SERIAL_MAX,4,2         ## @BE_SNAP_SERIAL_MAX
L_.str.1:                               ## @.str.1
	.asciz	"-%d"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_be_setup_snapshot_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_setup_snapshot_name
_be_setup_snapshot_name:                ; @be_setup_snapshot_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #12
	bl	_time
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	sxtw	x8, w22
	add	x23, x19, x8
	sub	x24, x21, x8
	add	x0, sp, #12
	bl	_localtime
	mov	x3, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x24
	bl	_strftime
	add	w8, w22, w0
	sxtw	x8, w8
	sub	x21, x21, x8
	cmp	x21, #2
	b.lo	LBB0_5
; %bb.1:
Lloh2:
	adrp	x25, _BE_SNAP_SERIAL_MAX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BE_SNAP_SERIAL_MAX@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w22, #0
	add	x23, x19, x8
Lloh4:
	adrp	x26, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_snprintf
	ldr	w0, [x20]
	ldr	w2, [x26]
	mov	x1, x19
	bl	_zfs_dataset_exists
	cbz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x25]
	cmp	w22, w8
	b.lt	LBB0_3
LBB0_5:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"@%F-%T"

	.comm	_BE_SNAP_SERIAL_MAX,4,2         ; @BE_SNAP_SERIAL_MAX
l_.str.1:                               ; @.str.1
	.asciz	"-%d"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_be_setup_snapshot_name
.subsections_via_symbols
