	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unshare_one
_unshare_one:                           ## @unshare_one
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PROTO_NFS@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ZFS_EXPORTS_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, %rsi
	callq	_fsunshare
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_zfs_error_aux
	movq	_EZFS_UNSHARENFSFAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dgettext
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zfs_error_fmt                  ## TAILCALL
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_PROTO_NFS,8,3                  ## @PROTO_NFS
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No SMB support in FreeBSD yet.\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ZFS_EXPORTS_PATH,4,2           ## @ZFS_EXPORTS_PATH
L_.str.1:                               ## @.str.1
	.asciz	"%s"

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

	.comm	_SA_INIT_ONE_SHARE_FROM_NAME,4,2 ## @SA_INIT_ONE_SHARE_FROM_NAME
	.comm	_SA_OK,4,2                      ## @SA_OK
	.comm	_proto_table,8,3                ## @proto_table
	.no_dead_strip	_unshare_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unshare_one
_unshare_one:                           ; @unshare_one
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _PROTO_NFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROTO_NFS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _ZFS_EXPORTS_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_EXPORTS_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_fsunshare
	cbz	w0, LBB0_4
; %bb.2:
	bl	_strerror
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_zfs_error_aux
Lloh8:
	adrp	x8, _EZFS_UNSHARENFSFAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EZFS_UNSHARENFSFAILED@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
Lloh11:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_zfs_error_fmt
LBB0_3:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh21:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_PROTO_NFS,8,3                  ; @PROTO_NFS
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No SMB support in FreeBSD yet.\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ZFS_EXPORTS_PATH,4,2           ; @ZFS_EXPORTS_PATH
l_.str.1:                               ; @.str.1
	.asciz	"%s"

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

	.comm	_SA_INIT_ONE_SHARE_FROM_NAME,4,2 ; @SA_INIT_ONE_SHARE_FROM_NAME
	.comm	_SA_OK,4,2                      ; @SA_OK
	.comm	_proto_table,8,3                ; @proto_table
	.no_dead_strip	_unshare_one
.subsections_via_symbols
