	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_free_block
_find_free_block:                       ## @find_free_block
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	cmpl	$-1, %r14d
	jne	LBB0_2
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	4(%r15)
	movl	%edx, %r14d
LBB0_2:
	movq	_BLOCK_UNUSED@GOTPCREL(%rip), %r12
	movl	%r14d, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, %ebx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	8(%r15), %ebx
	jne	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%rcx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_erase_block
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	4(%r15), %ebx
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_10:
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_BLOCK_UNUSED,8,3               ## @BLOCK_UNUSED
	.no_dead_strip	_find_free_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_free_block
_find_free_block:                       ; @find_free_block
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w21, [x0]
	cmn	w21, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	sdiv	w10, w8, w9
	msub	w21, w10, w9, w8
LBB0_2:
Lloh3:
	adrp	x22, _BLOCK_UNUSED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _BLOCK_UNUSED@GOTPAGEOFF]
	mov	x20, x21
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w20, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	csinc	w20, wzr, w20, ge
	cmp	w20, w21
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x9, x8, w20, sxtw #4
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19, #8]
	cmp	w20, w9
	b.ne	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x9, w20
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_erase_block
	b	LBB0_3
LBB0_8:
	mov	w20, #-1
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_BLOCK_UNUSED,8,3               ; @BLOCK_UNUSED
	.no_dead_strip	_find_free_block
.subsections_via_symbols
