	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function block_dec
_block_dec:                             ## @block_dec
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-24(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-24(%rbp), %edi
	callq	_le64_to_cpu
	movq	%rax, %rbx
	movl	(%r14), %edi
	leaq	-20(%rbp), %rdx
	movq	%rax, %rsi
	callq	_dm_tm_ref
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movq	%rbx, %rsi
	callq	_DMERR_LIMIT
	jmp	LBB0_8
LBB0_3:
	cmpl	$1, -20(%rbp)
	jne	LBB0_7
## %bb.4:
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_get_ablock
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_6:
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dec_ablock_entries
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_unlock_ablock
LBB0_7:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_dm_tm_dec
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't get reference count for block %llu"

L_.str.1:                               ## @.str.1
	.asciz	"couldn't get array block %llu"

	.no_dead_strip	_block_dec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_dec
_block_dec:                             ; @block_dec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	sub	x0, x29, #20
	mov	w2, #4
	bl	_memcpy
	ldur	w0, [x29, #-20]
	bl	_le64_to_cpu
	mov	x20, x0
	ldr	w0, [x19]
	add	x2, sp, #24
	mov	x1, x20
	bl	_dm_tm_ref
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	mov	x1, x20
	bl	_DMERR_LIMIT
	b	LBB0_8
LBB0_3:
	ldr	w8, [sp, #24]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_get_ablock
	cbz	w0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_6:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_dec_ablock_entries
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_unlock_ablock
LBB0_7:
	ldr	w0, [x19]
	mov	x1, x20
	bl	_dm_tm_dec
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't get reference count for block %llu"

l_.str.1:                               ; @.str.1
	.asciz	"couldn't get array block %llu"

	.no_dead_strip	_block_dec
.subsections_via_symbols
