	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_sectors_dirty_init         ## -- Begin function bch_sectors_dirty_init
	.p2align	4, 0x90
_bch_sectors_dirty_init:                ## @bch_sectors_dirty_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	-60(%rbp), %rdi
	movl	$-1, %esi
	callq	_bch_btree_op_init
	movl	4(%r12), %edi
	movl	%edi, -56(%rbp)
	movq	$0, -48(%rbp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_KEY
	movl	%eax, -64(%rbp)
	movq	_sectors_dirty_init_fn@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r15
	movq	_EAGAIN@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_INIT_KEYS_SLEEP_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%eax, %edi
	callq	_schedule_timeout_interruptible
	xorl	%eax, %eax
	subl	(%r14), %eax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, %ebx
	jne	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	(%r13), %ecx
	leaq	-60(%rbp), %rdi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_bch_btree_map_keys
	movl	%eax, %ebx
	xorl	%eax, %eax
	subl	(%r14), %eax
	cmpl	%eax, %ebx
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	jns	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_warn
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sectors_dirty_init_fn,4,2      ## @sectors_dirty_init_fn
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_INIT_KEYS_SLEEP_MS,4,2         ## @INIT_KEYS_SLEEP_MS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sectors dirty init failed, ret=%d!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_sectors_dirty_init         ; -- Begin function bch_sectors_dirty_init
	.p2align	2
_bch_sectors_dirty_init:                ; @bch_sectors_dirty_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	x8, sp, #8
	orr	x20, x8, #0x4
	mov	x0, x20
	mov	w1, #-1
	bl	_bch_btree_op_init
	ldr	w0, [x19, #4]
	str	w0, [sp, #16]
	str	xzr, [sp, #24]
	mov	w1, #0
	mov	w2, #0
	bl	_KEY
	str	w0, [sp, #8]
Lloh0:
	adrp	x22, _sectors_dirty_init_fn@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sectors_dirty_init_fn@GOTPAGEOFF]
Lloh2:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
Lloh4:
	adrp	x24, _INIT_KEYS_SLEEP_MS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _INIT_KEYS_SLEEP_MS@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	bl	_msecs_to_jiffies
	bl	_schedule_timeout_interruptible
	ldr	w8, [x23]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	neg	w8, w8
	cmp	w21, w8
	b.ne	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	ldr	w3, [x22]
	add	x2, sp, #8
	mov	x0, x20
	mov	w4, #0
	bl	_bch_btree_map_keys
	mov	x21, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	tbz	w21, #31, LBB0_2
; %bb.5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_warn
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sectors_dirty_init_fn,4,2      ; @sectors_dirty_init_fn
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_INIT_KEYS_SLEEP_MS,4,2         ; @INIT_KEYS_SLEEP_MS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sectors dirty init failed, ret=%d!"

.subsections_via_symbols
