	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bectl_cmd_unjail               ## -- Begin function bectl_cmd_unjail
	.p2align	4, 0x90
_bectl_cmd_unjail:                      ## @bectl_cmd_unjail
	.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	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%rbx), %r15
	cmpl	$2, %r14d
	jne	LBB0_1
## %bb.3:
	movq	8(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_bectl_locate_jail
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_bzero
	movl	%r14d, %edi
	callq	_jail_getname
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	xorl	%edi, %edi
	movq	%rax, %rdx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_jail_getv
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_free
	cmpl	%r14d, %r13d
	jne	LBB0_6
## %bb.9:
	movq	_be@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%r13d, %r13d
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_be_mounted_at
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.2:
	xorl	%edi, %edi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usage                          ## TAILCALL
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	jmp	LBB0_8
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_7:
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_8:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r13d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_bectl_jail_cleanup
	movl	(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_be_unmount
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bectl %s: wrong number of arguments\n"

L_.str.1:                               ## @.str.1
	.asciz	"bectl %s: failed to locate BE by '%s'\n"

L_.str.2:                               ## @.str.2
	.asciz	"name"

L_.str.3:                               ## @.str.3
	.asciz	"path"

L_.str.4:                               ## @.str.4
	.asciz	"bectl %s: failed to get path for jail requested by '%s'\n"

	.comm	_be,4,2                         ## @be
L_.str.5:                               ## @.str.5
	.asciz	"bectl %s: jail requested by '%s' not a BE\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bectl_cmd_unjail               ; -- Begin function bectl_cmd_unjail
	.p2align	2
_bectl_cmd_unjail:                      ; @bectl_cmd_unjail
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	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
	ldr	x19, [x1]
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.1:
	ldr	x20, [x1, #8]
	mov	x0, x20
	bl	_bectl_locate_jail
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x21
	bl	_bzero
	mov	x0, x22
	bl	_jail_getname
	mov	x23, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh9:
	adrp	x3, l_.str.3@PAGE
Lloh10:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	w0, #0
	mov	x2, x23
	mov	x4, x21
	mov	x5, #0
	bl	_jail_getv
	mov	x24, x0
	mov	x0, x23
	bl	_free
	cmp	w24, w22
	b.ne	LBB0_8
; %bb.3:
Lloh11:
	adrp	x23, _be@GOTPAGE
Lloh12:
	ldr	x23, [x23, _be@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, #0
	bl	_be_mounted_at
	cbz	x0, LBB0_12
; %bb.4:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x20, [sp, #-16]!
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.6:
	mov	w0, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_usage
LBB0_7:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	str	x20, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	str	x20, [sp, #-16]!
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_9:
	mov	x2, x19
	bl	_fprintf
	add	sp, sp, #16
	mov	w0, #1
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	bl	_bectl_jail_cleanup
	ldr	w0, [x23]
	mov	x1, x20
	mov	w2, #0
	bl	_be_unmount
	mov	w0, #0
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bectl %s: wrong number of arguments\n"

l_.str.1:                               ; @.str.1
	.asciz	"bectl %s: failed to locate BE by '%s'\n"

l_.str.2:                               ; @.str.2
	.asciz	"name"

l_.str.3:                               ; @.str.3
	.asciz	"path"

l_.str.4:                               ; @.str.4
	.asciz	"bectl %s: failed to get path for jail requested by '%s'\n"

	.comm	_be,4,2                         ; @be
l_.str.5:                               ; @.str.5
	.asciz	"bectl %s: jail requested by '%s' not a BE\n"

.subsections_via_symbols
