	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_share_proto
_zfs_share_proto:                       ## @zfs_share_proto
	.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, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ZFS_MAXPROPLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_zfs_is_mountable
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	(%r13), %rax
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	addq	$8, %r13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PROTO_END@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_proto_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rax,2), %rax
	movl	8(%rcx,%rax,4), %esi
	movq	_ZFS_MAXPROPLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_B_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	leaq	-76(%rbp), %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_zfs_prop_get
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ZFS_PROP_ZONED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_zfs_prop_get_int
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdx
	movq	_PROTO_NFS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movq	_ZFS_EXPORTS_PATH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rdx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_fsshare
	testl	%eax, %eax
	je	LBB0_8
## %bb.14:
	movq	_proto_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	(%rax,%rcx,4), %r15d
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_dgettext
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_zfs_get_name
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_zfs_error_fmt
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_9:
	xorl	%eax, %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_MAXPROPLEN,4,2             ## @ZFS_MAXPROPLEN
	.comm	_PROTO_END,8,3                  ## @PROTO_END
	.comm	_proto_table,8,3                ## @proto_table
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"off"

	.comm	_ZFS_PROP_ZONED,4,2             ## @ZFS_PROP_ZONED
	.comm	_PROTO_NFS,8,3                  ## @PROTO_NFS
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported share protocol: %d.\n"

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

	.comm	_ZFS_EXPORTS_PATH,4,2           ## @ZFS_EXPORTS_PATH
L_.str.3:                               ## @.str.3
	.space	1

	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
L_.str.4:                               ## @.str.4
	.asciz	"cannot share '%s'"

	.comm	_EZFS_SHARENFSFAILED,4,2        ## @EZFS_SHARENFSFAILED
	.comm	_SA_INIT_ONE_SHARE_FROM_HANDLE,4,2 ## @SA_INIT_ONE_SHARE_FROM_HANDLE
	.comm	_SA_OK,4,2                      ## @SA_OK
	.comm	_share,8,3                      ## @share
	.no_dead_strip	_zfs_share_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_share_proto
_zfs_share_proto:                       ; @zfs_share_proto
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _ZFS_MAXPROPLEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _ZFS_MAXPROPLEN@GOTPAGEOFF]
	ldr	w21, [x27]
	mov	x9, x21
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x12, x9, #0x1fffffff0
	sub	x23, x8, x12
	mov	sp, x23
	mov	x9, x21
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	mov	x9, x21
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
	ldr	x22, [x0, #8]
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	bl	_zfs_is_mountable
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh11:
	adrp	x28, _PROTO_END@GOTPAGE
Lloh12:
	ldr	x28, [x28, _PROTO_END@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.4:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	stp	x22, x23, [x29, #-112]          ; 16-byte Folded Spill
Lloh16:
	adrp	x22, _proto_table@GOTPAGE
Lloh17:
	ldr	x22, [x22, _proto_table@GOTPAGEOFF]
	mov	w26, #12
Lloh18:
	adrp	x23, _B_FALSE@GOTPAGE
Lloh19:
	ldr	x23, [x23, _B_FALSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]!
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	madd	x8, x8, x26, x9
	ldr	w1, [x8, #8]
	ldr	w6, [x27]
	ldr	w7, [x23]
	sub	x4, x29, #92
	mov	x0, x19
	mov	x2, x24
	mov	x3, x21
	mov	x5, x25
	bl	_zfs_prop_get
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh27:
	adrp	x8, _ZFS_PROP_ZONED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ZFS_PROP_ZONED@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zfs_prop_get_int
	cbnz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x20]
Lloh30:
	adrp	x8, _PROTO_NFS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PROTO_NFS@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	mov	x8, x0
Lloh35:
	adrp	x9, _ZFS_EXPORTS_PATH@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ZFS_EXPORTS_PATH@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x9]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x24
	bl	_fsshare
	cbz	w0, LBB0_7
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
Lloh38:
	adrp	x2, l_.str.3@PAGE
Lloh39:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_fsshare
	cbz	w0, LBB0_7
LBB0_15:
	ldr	x8, [x22]
	ldr	x9, [x20]
	mov	w10, #12
	mul	x9, x9, x10
	ldr	w20, [x8, x9]
Lloh40:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dgettext
	mov	x21, x0
	mov	x0, x19
	bl	_zfs_get_name
	mov	x3, x0
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	mov	x1, x20
	mov	x2, x21
	bl	_zfs_error_fmt
	mov	w0, #-1
	b	LBB0_3
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_MAXPROPLEN,4,2             ; @ZFS_MAXPROPLEN
	.comm	_PROTO_END,8,3                  ; @PROTO_END
	.comm	_proto_table,8,3                ; @proto_table
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"off"

	.comm	_ZFS_PROP_ZONED,4,2             ; @ZFS_PROP_ZONED
	.comm	_PROTO_NFS,8,3                  ; @PROTO_NFS
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported share protocol: %d.\n"

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

	.comm	_ZFS_EXPORTS_PATH,4,2           ; @ZFS_EXPORTS_PATH
l_.str.3:                               ; @.str.3
	.space	1

	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
l_.str.4:                               ; @.str.4
	.asciz	"cannot share '%s'"

	.comm	_EZFS_SHARENFSFAILED,4,2        ; @EZFS_SHARENFSFAILED
	.comm	_SA_INIT_ONE_SHARE_FROM_HANDLE,4,2 ; @SA_INIT_ONE_SHARE_FROM_HANDLE
	.comm	_SA_OK,4,2                      ; @SA_OK
	.comm	_share,8,3                      ; @share
	.no_dead_strip	_zfs_share_proto
.subsections_via_symbols
