	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bectl_cmd_destroy
_bectl_cmd_destroy:                     ## @bectl_cmd_destroy
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BE_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	leaq	L_.str(%rip), %r13
	movq	_BE_DESTROY_FORCE@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	orl	(%rcx), %r12d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_getopt
	movq	%r15, %rcx
	cmpl	$70, %eax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$111, %eax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_BE_DESTROY_ORIGIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %ebx
	cmpl	$1, %ebx
	jne	LBB0_8
## %bb.10:
	movq	(%r14,%rax,8), %r14
	movq	_BE_DESTROY_ORIGIN@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_20
## %bb.11:
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_20
## %bb.12:
	movq	_BE_DESTROY_AUTOORIGIN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_be@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_be_root_concat
	testq	%rax, %rax
	jne	LBB0_20
## %bb.13:
	leaq	-56(%rbp), %rdi
	callq	_be_prop_list_alloc
	testq	%rax, %rax
	jne	LBB0_20
## %bb.14:
	movl	(%r15), %edi
	movq	-56(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_be_get_dataset_props
	movq	-56(%rbp), %rdi
	testq	%rax, %rax
	jne	LBB0_19
## %bb.15:
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	movl	(%r15), %edi
	movq	-64(%rbp), %rsi
	callq	_be_is_auto_snapshot_name
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_18:
	movq	-56(%rbp), %rdi
LBB0_19:
	callq	_be_prop_list_free
LBB0_20:
	movq	_be@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_be_destroy
	jmp	LBB0_21
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_optopt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_9
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	xorl	%edi, %edi
	callq	_usage
LBB0_21:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_MAXPATHLEN,4,2              ## @BE_MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fo"

	.comm	_BE_DESTROY_FORCE,4,2           ## @BE_DESTROY_FORCE
	.comm	_BE_DESTROY_ORIGIN,4,2          ## @BE_DESTROY_ORIGIN
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"bectl destroy: unknown option '-%c'\n"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"bectl destroy: wrong number of arguments\n"

	.comm	_BE_DESTROY_AUTOORIGIN,4,2      ## @BE_DESTROY_AUTOORIGIN
	.comm	_be,4,2                         ## @be
L_.str.3:                               ## @.str.3
	.asciz	"origin"

L_.str.4:                               ## @.str.4
	.asciz	"bectl destroy: leaving origin '%s' intact\n"

	.no_dead_strip	_bectl_cmd_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bectl_cmd_destroy
_bectl_cmd_destroy:                     ; @bectl_cmd_destroy
	.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, #32
	mov	x20, x1
	mov	x22, x0
	mov	x24, sp
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, _BE_MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BE_MAXPATHLEN@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	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	w19, #0
Lloh8:
	adrp	x26, _BE_DESTROY_FORCE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _BE_DESTROY_FORCE@GOTPAGEOFF]
Lloh10:
	adrp	x25, _BE_DESTROY_ORIGIN@GOTPAGE
Lloh11:
	ldr	x25, [x25, _BE_DESTROY_ORIGIN@GOTPAGEOFF]
Lloh12:
	adrp	x23, l_.str@PAGE
Lloh13:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_getopt
	mov	x8, x26
	cmp	w0, #70
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #111
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x25
	b	LBB0_1
LBB0_5:
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.6:
Lloh14:
	adrp	x8, _optind@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	sub	w9, w22, w8
	cmp	w9, #1
	b.ne	LBB0_19
; %bb.7:
	ldr	x20, [x20, x8, lsl #3]
	ldr	w8, [x25]
Lloh17:
	adrp	x22, _be@GOTPAGE
Lloh18:
	ldr	x22, [x22, _be@GOTPAGEOFF]
	tst	w8, w19
	b.ne	LBB0_17
; %bb.8:
	mov	x0, x20
	mov	w1, #64
	bl	_strchr
	cbnz	x0, LBB0_17
; %bb.9:
Lloh19:
	adrp	x8, _BE_DESTROY_AUTOORIGIN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BE_DESTROY_AUTOORIGIN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w19, w8, w19
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x21
	bl	_be_root_concat
	cbnz	x0, LBB0_17
; %bb.10:
	sub	x0, x29, #80
	bl	_be_prop_list_alloc
	cbnz	x0, LBB0_17
; %bb.11:
	ldr	w0, [x22]
	ldur	x2, [x29, #-80]
	mov	x1, x21
	bl	_be_get_dataset_props
	mov	x8, x0
	ldur	x0, [x29, #-80]
	cbnz	x8, LBB0_16
; %bb.12:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x2, x29, #88
	bl	_nvlist_lookup_string
	cbnz	x0, LBB0_15
; %bb.13:
	ldr	w0, [x22]
	ldur	x1, [x29, #-88]
	bl	_be_is_auto_snapshot_name
	cbnz	w0, LBB0_15
; %bb.14:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
	str	x8, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
LBB0_15:
	ldur	x0, [x29, #-80]
LBB0_16:
	bl	_be_prop_list_free
LBB0_17:
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x19
	bl	_be_destroy
	b	LBB0_21
LBB0_18:
Lloh29:
	adrp	x8, _stderr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x8, _optopt@GOTPAGE
Lloh33:
	ldr	x8, [x8, _optopt@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_20
LBB0_19:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_20:
	mov	w0, #0
	bl	_usage
LBB0_21:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	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_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	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 AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_MAXPATHLEN,4,2              ; @BE_MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fo"

	.comm	_BE_DESTROY_FORCE,4,2           ; @BE_DESTROY_FORCE
	.comm	_BE_DESTROY_ORIGIN,4,2          ; @BE_DESTROY_ORIGIN
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"bectl destroy: unknown option '-%c'\n"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"bectl destroy: wrong number of arguments\n"

	.comm	_BE_DESTROY_AUTOORIGIN,4,2      ; @BE_DESTROY_AUTOORIGIN
	.comm	_be,4,2                         ; @be
l_.str.3:                               ; @.str.3
	.asciz	"origin"

l_.str.4:                               ; @.str.4
	.asciz	"bectl destroy: leaving origin '%s' intact\n"

	.no_dead_strip	_bectl_cmd_destroy
.subsections_via_symbols
