	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_jail                       ## -- Begin function zfs_jail
	.p2align	4, 0x90
_zfs_jail:                              ## @zfs_jail
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r14
	movq	$0, -1080(%rbp)
	testl	%edx, %edx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_dgettext
	movl	4(%rbx), %ecx
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	callq	_snprintf
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	callq	_dgettext
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_zfs_error_aux
	movq	_EZFS_BADTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_error
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_5:
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movl	4(%rbx), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	movq	_DMU_OST_ZFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1084(%rbp)
	movl	%r15d, -1088(%rbp)
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.7:
	movq	_ZFS_IOC_UNJAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_ZFS_IOC_JAIL@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rsi
	movl	(%r14), %edi
	leaq	-1088(%rbp), %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_standard_error
	movl	%r15d, %ebx
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot jail '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"cannot unjail '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"volumes can not be jailed"

	.comm	_EZFS_BADTYPE,4,2               ## @EZFS_BADTYPE
L_.str.3:                               ## @.str.3
	.asciz	"snapshots can not be jailed"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_DMU_OST_ZFS,4,2                ## @DMU_OST_ZFS
	.comm	_ZFS_IOC_JAIL,8,3               ## @ZFS_IOC_JAIL
	.comm	_ZFS_IOC_UNJAIL,8,3             ## @ZFS_IOC_UNJAIL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_jail                       ; -- Begin function zfs_jail
	.p2align	2
_zfs_jail:                              ; @zfs_jail
	.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, #1056
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x19, [x0, #8]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x23, _TEXT_DOMAIN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TEXT_DOMAIN@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w2, #0
	csel	x1, x9, x8, eq
	bl	_dgettext
	mov	x2, x0
	ldr	w3, [x22, #4]
	add	x0, sp, #24
	mov	w1, #1024
	bl	_snprintf
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
	ldr	w0, [x23]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	w0, [x23]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	bl	_dgettext
	mov	x1, x0
	mov	x0, x19
	bl	_zfs_error_aux
Lloh13:
	adrp	x8, _EZFS_BADTYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EZFS_BADTYPE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_zfs_error
	mov	x20, x0
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x9, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w1, [x22, #4]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
Lloh19:
	adrp	x8, _DMU_OST_ZFS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMU_OST_ZFS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #8]
Lloh22:
	adrp	x8, _ZFS_IOC_JAIL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZFS_IOC_JAIL@GOTPAGEOFF]
Lloh24:
	adrp	x9, _ZFS_IOC_UNJAIL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ZFS_IOC_UNJAIL@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	x1, [x8]
	ldr	w0, [x19]
	add	x2, sp, #8
	bl	_ioctl
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.6:
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_zfs_standard_error
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	add	sp, sp, #1056
	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_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot jail '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"cannot unjail '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"volumes can not be jailed"

	.comm	_EZFS_BADTYPE,4,2               ; @EZFS_BADTYPE
l_.str.3:                               ; @.str.3
	.asciz	"snapshots can not be jailed"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_DMU_OST_ZFS,4,2                ; @DMU_OST_ZFS
	.comm	_ZFS_IOC_JAIL,8,3               ; @ZFS_IOC_JAIL
	.comm	_ZFS_IOC_UNJAIL,8,3             ; @ZFS_IOC_UNJAIL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
