	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cancel_writeback_rate_update_dwork
_cancel_writeback_rate_update_dwork:    ## @cancel_writeback_rate_update_dwork
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_WRITEBACK_RATE_UPDATE_SECS_MAX@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	imull	(%rax), %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%rdi), %r15
	testl	%ebx, %ebx
	movl	$1, %r12d
	cmovlel	%ebx, %r12d
	decl	%r12d
	movq	_BCACHE_DEV_RATE_DW_RUNNING@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rbx), %r14d
	movl	$1, %edi
	callq	_schedule_timeout_interruptible
	cmpl	$1, %ebx
	movl	%r14d, %ebx
	jg	LBB0_1
## %bb.3:
	movl	%r12d, %ebx
LBB0_4:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cancel_delayed_work_sync       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITEBACK_RATE_UPDATE_SECS_MAX,4,2 ## @WRITEBACK_RATE_UPDATE_SECS_MAX
	.comm	_HZ,4,2                         ## @HZ
	.comm	_BCACHE_DEV_RATE_DW_RUNNING,4,2 ## @BCACHE_DEV_RATE_DW_RUNNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"give up waiting for dc->writeback_write_update to quit"

	.no_dead_strip	_cancel_writeback_rate_update_dwork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cancel_writeback_rate_update_dwork
_cancel_writeback_rate_update_dwork:    ; @cancel_writeback_rate_update_dwork
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _WRITEBACK_RATE_UPDATE_SECS_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRITEBACK_RATE_UPDATE_SECS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w21, w9, w8
	add	x20, x0, #4
	cmp	w21, #1
	csinc	w8, w21, wzr, lt
	sub	w22, w8, #1
Lloh6:
	adrp	x23, _BCACHE_DEV_RATE_DW_RUNNING@GOTPAGE
Lloh7:
	ldr	x23, [x23, _BCACHE_DEV_RATE_DW_RUNNING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_schedule_timeout_interruptible
	subs	w21, w21, #1
	b.gt	LBB0_1
; %bb.3:
	mov	x21, x22
LBB0_4:
	cbnz	w21, LBB0_6
; %bb.5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cancel_delayed_work_sync
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITEBACK_RATE_UPDATE_SECS_MAX,4,2 ; @WRITEBACK_RATE_UPDATE_SECS_MAX
	.comm	_HZ,4,2                         ; @HZ
	.comm	_BCACHE_DEV_RATE_DW_RUNNING,4,2 ; @BCACHE_DEV_RATE_DW_RUNNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"give up waiting for dc->writeback_write_update to quit"

	.no_dead_strip	_cancel_writeback_rate_update_dwork
.subsections_via_symbols
