	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dataset_space
_dataset_space:                         ## @dataset_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$0, (%rax)
LBB0_4:
	leaq	-24(%rbp), %rdi
	callq	_be_prop_list_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_6:
	movq	_be@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-24(%rbp), %rdx
	movq	%r14, %rsi
	callq	_be_get_dataset_props
	movq	-24(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_10:
	movq	-32(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoull
	movq	%rax, %rbx
LBB0_11:
	movq	-24(%rbp), %rdi
LBB0_12:
	callq	_nvlist_free
LBB0_13:
	movq	%r14, %rdi
	callq	_free
LBB0_14:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_be,4,2                         ## @be
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"used"

	.no_dead_strip	_dataset_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dataset_space
_dataset_space:                         ; @dataset_space
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	bl	_strdup
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.2:
	strb	wzr, [x0]
LBB0_3:
	mov	x0, sp
	bl	_be_prop_list_alloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, #0
	b	LBB0_13
LBB0_5:
	mov	x20, #0
	b	LBB0_14
LBB0_6:
Lloh0:
	adrp	x8, _be@GOTPAGE
Lloh1:
	ldr	x8, [x8, _be@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [sp]
	mov	x1, x19
	bl	_be_get_dataset_props
	mov	x8, x0
	ldr	x0, [sp]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x20, #0
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_nvlist_lookup_string
	cbz	x0, LBB0_10
; %bb.9:
	mov	x20, #0
	b	LBB0_11
LBB0_10:
	ldr	x0, [sp, #8]
	mov	x1, #0
	mov	w2, #10
	bl	_strtoull
	mov	x20, x0
LBB0_11:
	ldr	x0, [sp]
LBB0_12:
	bl	_nvlist_free
LBB0_13:
	mov	x0, x19
	bl	_free
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_be,4,2                         ; @be
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"used"

	.no_dead_strip	_dataset_space
.subsections_via_symbols
