	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bectl_jail_cleanup
_bectl_jail_cleanup:                    ## @bectl_jail_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movl	%esi, %edi
	callq	_jail_remove
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_11
LBB0_3:
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strnlen
	movq	%rax, %r15
	movq	_MNT_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_getmntinfo
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	_MNTTYPE_ZFS@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rbx
	decq	%r12
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	movq	8(%rax,%rbx), %rcx
	cmpq	(%r13), %rcx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax,%rbx), %rdi
	xorl	%esi, %esi
	callq	_unmount
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to remove jail"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_MNT_NOWAIT,4,2                 ## @MNT_NOWAIT
	.comm	_MNTTYPE_ZFS,8,3                ## @MNTTYPE_ZFS
L_.str.1:                               ## @.str.1
	.asciz	"bectl jail: unable to unmount filesystem %s"

	.no_dead_strip	_bectl_jail_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bectl_jail_cleanup
_bectl_jail_cleanup:                    ; @bectl_jail_cleanup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	tbnz	w1, #31, LBB0_4
; %bb.1:
	mov	x0, x1
	bl	_jail_remove
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	bl	_fprintf
	mov	w0, #1
	b	LBB0_12
LBB0_4:
Lloh5:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strnlen
	mov	x20, x0
Lloh8:
	adrp	x8, _MNT_NOWAIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MNT_NOWAIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_getmntinfo
	cbz	x0, LBB0_12
; %bb.5:
	mov	x21, x0
	mov	x22, #0
Lloh11:
	adrp	x23, _MNTTYPE_ZFS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MNTTYPE_ZFS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #16
	subs	x21, x21, #1
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x1, [x8, x22]
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, x22
	ldr	x9, [x9, #8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x8, x22]
	mov	w1, #0
	bl	_unmount
	cbz	x0, LBB0_6
; %bb.10:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]
	ldr	x8, [x8, x22]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to remove jail"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_MNT_NOWAIT,4,2                 ; @MNT_NOWAIT
	.comm	_MNTTYPE_ZFS,8,3                ; @MNTTYPE_ZFS
l_.str.1:                               ; @.str.1
	.asciz	"bectl jail: unable to unmount filesystem %s"

	.no_dead_strip	_bectl_jail_cleanup
.subsections_via_symbols
