	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function metadata_get_stats
_metadata_get_stats:                    ## @metadata_get_stats
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	leaq	-40(%rbp), %rsi
	callq	_dm_sm_get_nr_free
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	8(%r15), %edi
	leaq	-32(%rbp), %rsi
	callq	_dm_sm_get_nr_blocks
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movl	%ebx, %esi
	callq	_DMERR
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-32(%rbp), %rax
	movq	%rax, %rcx
	subq	-40(%rbp), %rcx
	movq	%rcx, 16(%r14)
	movq	%rax, 8(%r14)
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
	movl	(%r15), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dm_sm_get_nr_free returned %d"

L_.str.1:                               ## @.str.1
	.asciz	"dm_pool_get_metadata_dev_size returned %d"

	.no_dead_strip	_metadata_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function metadata_get_stats
_metadata_get_stats:                    ; @metadata_get_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	bl	_dm_sm_get_nr_free
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w0, [x21, #8]
	mov	x1, sp
	bl	_dm_sm_get_nr_blocks
	mov	x19, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	mov	x1, x19
	bl	_DMERR
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldp	x8, x9, [sp]
	sub	x9, x8, x9
	stp	x8, x9, [x20, #8]
	ldr	d0, [x21]
	str	d0, [x20]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dm_sm_get_nr_free returned %d"

l_.str.1:                               ; @.str.1
	.asciz	"dm_pool_get_metadata_dev_size returned %d"

	.no_dead_strip	_metadata_get_stats
.subsections_via_symbols
