	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_prop_inherit               ## -- Begin function zfs_prop_inherit
	.p2align	4, 0x90
_zfs_prop_inherit:                      ## @zfs_prop_inherit
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -1088(%rbp)
	movq	8(%rdi), %r14
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	movq	(%r15), %r8
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	movl	%r12d, -1080(%rbp)
	movq	%rbx, %rdi
	callq	_zfs_name_to_prop
	movq	%rax, %r13
	movq	_ZPROP_INVAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_zfs_prop_user
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	(%r15), %rsi
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	8(%r15), %rdi
	movq	_ZFS_IOC_INHERIT_PROP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1088(%rbp), %rdx
	callq	_zfs_ioctl
	testl	%eax, %eax
	je	LBB0_21
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_standard_error
	jmp	LBB0_20
LBB0_4:
	movq	%r13, %rdi
	callq	_zfs_prop_readonly
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_EZFS_PROPREADONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dgettext
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_zfs_error_aux
	movq	_EZFS_BADPROP@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_7:
	movq	%r13, %rdi
	callq	_zfs_prop_inheritable
	orl	%r12d, %eax
	je	LBB0_13
## %bb.8:
	movl	16(%r15), %esi
	movq	%r13, %rdi
	callq	_zfs_prop_valid_for_type
	testl	%eax, %eax
	je	LBB0_18
## %bb.9:
	movq	%r13, %rdi
	callq	_zfs_prop_to_name
	movq	%rax, %rbx
	movq	(%r15), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_ZFS_PROP_MOUNTPOINT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r13
	jne	LBB0_14
## %bb.10:
	xorl	%eax, %eax
	callq	_getzoneid
	movq	_GLOBAL_ZONEID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.11:
	movq	_ZFS_PROP_ZONED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_zfs_prop_get_int
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dgettext
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_zfs_error_aux
	movq	_EZFS_ZONED@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_13:
	movq	_EZFS_PROPNONINHERIT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_14:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_changelist_gather
	testq	%rax, %rax
	je	LBB0_25
## %bb.15:
	movq	%rax, %r12
	cmpq	(%rbx), %r13
	jne	LBB0_23
## %bb.16:
	movq	%r12, %rdi
	callq	_changelist_haszonedchild
	testq	%rax, %rax
	je	LBB0_23
## %bb.17:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dgettext
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_zfs_error_aux
	movq	_EZFS_ZONED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_error
	movl	%eax, %r13d
	jmp	LBB0_24
LBB0_18:
	movq	_EZFS_PROPTYPE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_error
LBB0_20:
	movl	%eax, %r13d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.22:
	movl	%r13d, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r12, %rdi
	callq	_changelist_prefix
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_26
LBB0_24:
	movq	%r12, %rdi
	callq	_changelist_free
	jmp	LBB0_21
LBB0_25:
	movl	$-1, %r13d
	jmp	LBB0_21
LBB0_26:
	movq	8(%r15), %rdi
	movq	_ZFS_IOC_INHERIT_PROP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1088(%rbp), %rdx
	callq	_zfs_ioctl
	testl	%eax, %eax
	jne	LBB0_3
## %bb.27:
	movq	%r12, %rdi
	callq	_changelist_postfix
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.28:
	movq	%r15, %rdi
	callq	_get_stats
	xorl	%r13d, %r13d
	jmp	LBB0_24
LBB0_29:
	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 inherit %s for '%s'"

	.comm	_ZPROP_INVAL,8,3                ## @ZPROP_INVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid property"

	.comm	_EZFS_BADPROP,4,2               ## @EZFS_BADPROP
	.comm	_ZFS_IOC_INHERIT_PROP,4,2       ## @ZFS_IOC_INHERIT_PROP
	.comm	_errno,4,2                      ## @errno
	.comm	_EZFS_PROPREADONLY,4,2          ## @EZFS_PROPREADONLY
	.comm	_EZFS_PROPNONINHERIT,4,2        ## @EZFS_PROPNONINHERIT
	.comm	_EZFS_PROPTYPE,4,2              ## @EZFS_PROPTYPE
	.comm	_ZFS_PROP_MOUNTPOINT,8,3        ## @ZFS_PROP_MOUNTPOINT
	.comm	_GLOBAL_ZONEID,8,3              ## @GLOBAL_ZONEID
	.comm	_ZFS_PROP_ZONED,4,2             ## @ZFS_PROP_ZONED
L_.str.2:                               ## @.str.2
	.asciz	"dataset is used in a non-global zone"

	.comm	_EZFS_ZONED,4,2                 ## @EZFS_ZONED
L_.str.3:                               ## @.str.3
	.asciz	"child dataset with inherited mountpoint is used in a non-global zone"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_prop_inherit               ; -- Begin function zfs_prop_inherit
	.p2align	2
_zfs_prop_inherit:                      ; @zfs_prop_inherit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1056
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [sp, #8]
	ldr	x19, [x0, #8]
Lloh3:
	adrp	x24, _TEXT_DOMAIN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TEXT_DOMAIN@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	ldr	x4, [x20]
	add	x0, sp, #24
	mov	w1, #1024
	mov	x3, x22
	bl	_snprintf
	str	w23, [sp, #16]
	mov	x0, x22
	bl	_zfs_name_to_prop
Lloh7:
	adrp	x8, _ZPROP_INVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZPROP_INVAL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_zfs_prop_user
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x1, [x20]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	mov	w0, #0
	mov	x1, x22
	mov	w2, #4
	bl	_strlcpy
	ldr	x0, [x20, #8]
Lloh10:
	adrp	x8, _ZFS_IOC_INHERIT_PROP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZFS_IOC_INHERIT_PROP@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_zfs_ioctl
	cbz	w0, LBB0_13
LBB0_3:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_zfs_standard_error
	b	LBB0_21
LBB0_4:
	mov	x21, x0
	bl	_zfs_prop_readonly
	cbz	x0, LBB0_7
; %bb.5:
Lloh16:
	adrp	x8, _EZFS_PROPREADONLY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EZFS_PROPREADONLY@GOTPAGEOFF]
	b	LBB0_20
LBB0_6:
	ldr	w0, [x24]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x19
	bl	_zfs_error_aux
Lloh20:
	adrp	x8, _EZFS_BADPROP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EZFS_BADPROP@GOTPAGEOFF]
	b	LBB0_20
LBB0_7:
	mov	x0, x21
	bl	_zfs_prop_inheritable
	orr	w8, w0, w23
	cbz	w8, LBB0_14
; %bb.8:
	ldr	w1, [x20, #16]
	mov	x0, x21
	bl	_zfs_prop_valid_for_type
	cbz	w0, LBB0_19
; %bb.9:
	mov	x0, x21
	bl	_zfs_prop_to_name
	mov	x22, x0
	ldr	x1, [x20]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	mov	w0, #0
	mov	x1, x22
	mov	w2, #4
	bl	_strlcpy
Lloh22:
	adrp	x23, _ZFS_PROP_MOUNTPOINT@GOTPAGE
Lloh23:
	ldr	x23, [x23, _ZFS_PROP_MOUNTPOINT@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_15
; %bb.10:
	bl	_getzoneid
Lloh24:
	adrp	x8, _GLOBAL_ZONEID@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GLOBAL_ZONEID@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.11:
Lloh27:
	adrp	x8, _ZFS_PROP_ZONED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ZFS_PROP_ZONED@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_zfs_prop_get_int
	cbz	x0, LBB0_15
; %bb.12:
	ldr	w0, [x24]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x19
	bl	_zfs_error_aux
Lloh32:
	adrp	x8, _EZFS_ZONED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EZFS_ZONED@GOTPAGEOFF]
	b	LBB0_20
LBB0_13:
	mov	w21, #0
	b	LBB0_22
LBB0_14:
Lloh34:
	adrp	x8, _EZFS_PROPNONINHERIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EZFS_PROPNONINHERIT@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_changelist_gather
	cbz	x0, LBB0_26
; %bb.16:
	mov	x22, x0
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_24
; %bb.17:
	mov	x0, x22
	bl	_changelist_haszonedchild
	cbz	x0, LBB0_24
; %bb.18:
	ldr	w0, [x24]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x19
	bl	_zfs_error_aux
Lloh38:
	adrp	x8, _EZFS_ZONED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EZFS_ZONED@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_zfs_error
	mov	x21, x0
	b	LBB0_25
LBB0_19:
Lloh41:
	adrp	x8, _EZFS_PROPTYPE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EZFS_PROPTYPE@GOTPAGEOFF]
LBB0_20:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_zfs_error
LBB0_21:
	mov	x21, x0
LBB0_22:
	ldur	x8, [x29, #-72]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.23:
	mov	x0, x21
	add	sp, sp, #1056
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	x0, x22
	bl	_changelist_prefix
	mov	x21, x0
	cbz	w0, LBB0_27
LBB0_25:
	mov	x0, x22
	bl	_changelist_free
	b	LBB0_22
LBB0_26:
	mov	w21, #-1
	b	LBB0_22
LBB0_27:
	ldr	x0, [x20, #8]
Lloh46:
	adrp	x8, _ZFS_IOC_INHERIT_PROP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ZFS_IOC_INHERIT_PROP@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_zfs_ioctl
	cbnz	w0, LBB0_3
; %bb.28:
	mov	x0, x22
	bl	_changelist_postfix
	mov	x21, x0
	cbnz	w0, LBB0_25
; %bb.29:
	mov	x0, x20
	bl	_get_stats
	b	LBB0_25
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot inherit %s for '%s'"

	.comm	_ZPROP_INVAL,8,3                ; @ZPROP_INVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid property"

	.comm	_EZFS_BADPROP,4,2               ; @EZFS_BADPROP
	.comm	_ZFS_IOC_INHERIT_PROP,4,2       ; @ZFS_IOC_INHERIT_PROP
	.comm	_errno,4,2                      ; @errno
	.comm	_EZFS_PROPREADONLY,4,2          ; @EZFS_PROPREADONLY
	.comm	_EZFS_PROPNONINHERIT,4,2        ; @EZFS_PROPNONINHERIT
	.comm	_EZFS_PROPTYPE,4,2              ; @EZFS_PROPTYPE
	.comm	_ZFS_PROP_MOUNTPOINT,8,3        ; @ZFS_PROP_MOUNTPOINT
	.comm	_GLOBAL_ZONEID,8,3              ; @GLOBAL_ZONEID
	.comm	_ZFS_PROP_ZONED,4,2             ; @ZFS_PROP_ZONED
l_.str.2:                               ; @.str.2
	.asciz	"dataset is used in a non-global zone"

	.comm	_EZFS_ZONED,4,2                 ; @EZFS_ZONED
l_.str.3:                               ; @.str.3
	.asciz	"child dataset with inherited mountpoint is used in a non-global zone"

.subsections_via_symbols
