	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_count_backing_io_errors    ## -- Begin function bch_count_backing_io_errors
	.p2align	4, 0x90
_bch_count_backing_io_errors:           ## @bch_count_backing_io_errors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	movq	_REQ_RAHEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_1
## %bb.3:
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_warn_ratelimited            ## TAILCALL
LBB0_1:
	leaq	8(%rbx), %rsi
	movl	$1, %edi
	callq	_atomic_add_return
	cmpl	(%rbx), %eax
	jae	LBB0_2
## %bb.4:
	movl	4(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bch_cached_dev_error           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL pointer of struct cached_dev"

	.comm	_REQ_RAHEAD,4,2                 ## @REQ_RAHEAD
L_.str.1:                               ## @.str.1
	.asciz	"%s: Read-ahead I/O failed on backing device, ignore"

L_.str.2:                               ## @.str.2
	.asciz	"%s: IO error on backing device, unrecoverable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_count_backing_io_errors    ; -- Begin function bch_count_backing_io_errors
	.p2align	2
_bch_count_backing_io_errors:           ; @bch_count_backing_io_errors
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _REQ_RAHEAD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REQ_RAHEAD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_warn_ratelimited
LBB0_2:
	add	x1, x19, #8
	mov	w0, #1
	bl	_atomic_add_return
	ldr	w8, [x19]
	cmp	w0, w8
	b.hs	LBB0_4
; %bb.3:
	ldr	w1, [x19, #4]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_err
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bch_cached_dev_error
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL pointer of struct cached_dev"

	.comm	_REQ_RAHEAD,4,2                 ; @REQ_RAHEAD
l_.str.1:                               ; @.str.1
	.asciz	"%s: Read-ahead I/O failed on backing device, ignore"

l_.str.2:                               ; @.str.2
	.asciz	"%s: IO error on backing device, unrecoverable"

.subsections_via_symbols
