	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_resize
_can_resize:                            ## @can_resize
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_from_cblock
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_from_cblock
	cmpq	%rax, %r15
	jle	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_cache_device_name
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_from_cblock
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_from_cblock
	cmpq	%rax, %r15
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_from_cblock
	leaq	1(%rax), %rdi
	callq	_to_cblock
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_is_dirty
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%r14, %rdi
	callq	_cache_device_name
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_from_cblock
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_7
LBB0_4:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: unable to extend cache due to missing cache table reload"

L_.str.1:                               ## @.str.1
	.asciz	"%s: unable to shrink cache; cache block %llu is dirty"

	.no_dead_strip	_can_resize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_resize
_can_resize:                            ; @can_resize
	.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	x19, x0
	mov	x0, x1
	bl	_from_cblock
	mov	x21, x0
	ldr	w0, [x19]
	bl	_from_cblock
	cmp	x21, x0
	b.le	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_cache_device_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_from_cblock
	mov	x21, x0
	ldr	w0, [x19]
	bl	_from_cblock
	cmp	x21, x0
	b.ge	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_from_cblock
	add	x0, x0, #1
	bl	_to_cblock
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_is_dirty
	cbz	x0, LBB0_3
; %bb.5:
	mov	x0, x19
	bl	_cache_device_name
	mov	x19, x0
	mov	x0, x20
	bl	_from_cblock
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
LBB0_6:
	bl	_DMERR
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: unable to extend cache due to missing cache table reload"

l_.str.1:                               ; @.str.1
	.asciz	"%s: unable to shrink cache; cache block %llu is dirty"

	.no_dead_strip	_can_resize
.subsections_via_symbols
