	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_dataset_handle_common
_make_dataset_handle_common:            ## @make_dataset_handle_common
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_put_stats_zhdl
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.1:
	movq	16(%rbx), %rax
	movq	_DMU_OST_ZVOL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	_ZFS_TYPE_VOLUME@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_DMU_OST_ZFS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_zpool_handle
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_DMU_OST_ZVOL,8,3               ## @DMU_OST_ZVOL
	.comm	_ZFS_TYPE_VOLUME,8,3            ## @ZFS_TYPE_VOLUME
	.comm	_DMU_OST_ZFS,8,3                ## @DMU_OST_ZFS
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_SNAPSHOT,8,3          ## @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_make_dataset_handle_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_dataset_handle_common
_make_dataset_handle_common:            ; @make_dataset_handle_common
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_put_stats_zhdl
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_9
LBB0_2:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _DMU_OST_ZVOL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMU_OST_ZVOL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _ZFS_TYPE_VOLUME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_TYPE_VOLUME@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x9, _DMU_OST_ZFS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMU_OST_ZFS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
Lloh8:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
LBB0_8:
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_zpool_handle
	str	x0, [x19]
	cmp	x0, #0
	csetm	w0, eq
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DMU_OST_ZVOL,8,3               ; @DMU_OST_ZVOL
	.comm	_ZFS_TYPE_VOLUME,8,3            ; @ZFS_TYPE_VOLUME
	.comm	_DMU_OST_ZFS,8,3                ; @DMU_OST_ZFS
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_SNAPSHOT,8,3          ; @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_make_dataset_handle_common
.subsections_via_symbols
