	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_unshare_proto              ## -- Begin function zfs_unshare_proto
	.p2align	4, 0x90
_zfs_unshare_proto:                     ## @zfs_unshare_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	(%r15), %edi
	callq	_rewind
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_zfs_strdup
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
LBB0_2:
	movq	%r14, %rdi
	callq	_zfs_get_type
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.3:
	movq	%r14, %rdi
	callq	_zfs_get_name
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_libzfs_mnttab_find
	testq	%rax, %rax
	jne	LBB0_14
## %bb.4:
	movq	8(%r14), %rdi
	movq	-48(%rbp), %rsi
	callq	_zfs_strdup
	movq	%rax, %r12
LBB0_5:
	movq	(%rbx), %rdx
	movq	_PROTO_END@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdx
	jne	LBB0_6
LBB0_11:
	xorl	%r13d, %r13d
	testq	%r12, %r12
	je	LBB0_14
LBB0_13:
	movq	%r12, %rdi
	callq	_free
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	addq	$8, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rdx
	addq	$8, %rbx
	cmpq	(%r13), %rdx
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_is_shared
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %esi
	movq	-8(%rbx), %rcx
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_unshare_one
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	$-1, %r13d
	testq	%r12, %r12
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ## @ZFS_TYPE_FILESYSTEM
	.comm	_PROTO_END,8,3                  ## @PROTO_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_unshare_proto              ; -- Begin function zfs_unshare_proto
	.p2align	2
_zfs_unshare_proto:                     ; @zfs_unshare_proto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x20]
	bl	_rewind
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_zfs_strdup
	mov	x21, x0
	cbnz	x0, LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_zfs_get_type
Lloh0:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_zfs_get_name
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_libzfs_mnttab_find
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #8]
	ldr	x1, [sp, #8]
	bl	_zfs_strdup
	mov	x21, x0
LBB0_6:
	ldr	x2, [x22]
Lloh3:
	adrp	x23, _PROTO_END@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PROTO_END@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x2, x8
	b.ne	LBB0_10
LBB0_7:
	mov	w19, #0
	mov	w0, #0
	cbz	x21, LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_free
	mov	x0, x19
LBB0_9:
	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
	add	sp, sp, #80
	ret
LBB0_10:
	add	x22, x22, #8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x2, [x22], #8
	ldr	x8, [x23]
	cmp	x2, x8
	b.eq	LBB0_7
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_is_shared
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x19]
	ldur	x3, [x22, #-8]
	mov	x0, x20
	mov	x2, x21
	bl	_unshare_one
	cbz	x0, LBB0_11
; %bb.14:
	mov	w19, #-1
	mov	w0, #-1
	cbnz	x21, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ; @ZFS_TYPE_FILESYSTEM
	.comm	_PROTO_END,8,3                  ; @PROTO_END
.subsections_via_symbols
