	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cached_dev_status_update
_cached_dev_status_update:              ## @cached_dev_status_update
	.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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	xorl	%eax, %eax
	callq	_wait_for_kthread_stop
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_BACKING_DEV_OFFLINE_TIMEOUT@GOTPCREL(%rip), %r14
	movq	_HZ@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %edi
	callq	_bdev_get_queue
	movq	%rax, %rdi
	callq	_blk_queue_dying
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	incq	%rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 8(%rbx)
	movq	(%r14), %rdx
	cmpq	%rdx, %rax
	jge	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	callq	_schedule_timeout_interruptible
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	je	LBB0_2
	jmp	LBB0_9
LBB0_7:
	movl	20(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	16(%rbx), %r14
	movl	16(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movl	$1, (%rbx)
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r14, %rdi
	callq	_bcache_device_stop
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_BACKING_DEV_OFFLINE_TIMEOUT,8,3 ## @BACKING_DEV_OFFLINE_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: device offline for %d seconds"

L_.str.1:                               ## @.str.1
	.asciz	"%s: disable I/O request due to backing device offline"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_cached_dev_status_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cached_dev_status_update
_cached_dev_status_update:              ; @cached_dev_status_update
	.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	x19, x0
	bl	_kthread_should_stop
	cbz	w0, LBB0_2
LBB0_1:
	bl	_wait_for_kthread_stop
	mov	w0, #0
	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
LBB0_2:
Lloh0:
	adrp	x20, _BACKING_DEV_OFFLINE_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BACKING_DEV_OFFLINE_TIMEOUT@GOTPAGEOFF]
Lloh2:
	adrp	x21, _HZ@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HZ@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #24]
	bl	_bdev_get_queue
	bl	_blk_queue_dying
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19, #8]
	ldr	x8, [x20]
	cmp	x9, x8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_schedule_timeout_interruptible
	bl	_kthread_should_stop
	cbz	w0, LBB0_3
	b	LBB0_1
LBB0_9:
	ldr	w1, [x19, #20]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x20, x19
	ldr	w1, [x20, #16]!
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w8, #1
	str	w8, [x19]
	bl	_smp_mb
	mov	x0, x20
	bl	_bcache_device_stop
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BACKING_DEV_OFFLINE_TIMEOUT,8,3 ; @BACKING_DEV_OFFLINE_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: device offline for %d seconds"

l_.str.1:                               ; @.str.1
	.asciz	"%s: disable I/O request due to backing device offline"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_cached_dev_status_update
.subsections_via_symbols
