	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_read_error
_handle_read_error:                     ## @handle_read_error
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	_R1BIO_ReadError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_clear_bit
	movq	(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdi
	callq	_bio_put
	movq	(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	8(%r15), %rcx
	movq	(%rcx,%rax,8), %r12
	cmpq	$0, (%r14)
	je	LBB0_1
LBB0_6:
	movq	_IO_BLOCKED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	40(%rbx), %rdx
	movq	%rax, (%rdx,%rcx,8)
LBB0_7:
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_rdev_dec_pending
	movl	32(%rbx), %esi
	movq	%r15, %rdi
	callq	_allow_barrier
	movq	24(%rbx), %rsi
	movq	$0, 16(%rbx)
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raid1_read_request             ## TAILCALL
LBB0_1:
	movq	_FailFast@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	cmpq	$0, (%r14)
	jne	LBB0_6
## %bb.4:
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_md_error
	jmp	LBB0_7
LBB0_2:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_freeze_array
	movq	(%rbx), %rsi
	movl	32(%rbx), %edx
	movl	8(%rbx), %ecx
	movq	%r15, %rdi
	callq	_fix_read_error
	movq	%r15, %rdi
	callq	_unfreeze_array
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_R1BIO_ReadError,4,2            ## @R1BIO_ReadError
	.comm	_FailFast,4,2                   ## @FailFast
	.comm	_IO_BLOCKED,8,3                 ## @IO_BLOCKED
	.no_dead_strip	_handle_read_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_read_error
_handle_read_error:                     ; @handle_read_error
	.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, x1
	mov	x21, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _R1BIO_ReadError@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R1BIO_ReadError@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x1, #16
	bl	_clear_bit
	ldr	x8, [x19, #40]
	ldr	x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
	bl	_bio_put
	ldr	x8, [x19, #40]
	ldr	x9, [x19]
	lsl	x9, x9, #3
	str	xzr, [x8, x9]
	ldr	x8, [x21, #8]
	ldr	x22, [x8, x9]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _IO_BLOCKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IO_BLOCKED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #40]
	ldr	x10, [x19]
	str	x8, [x9, x10, lsl #3]
LBB0_2:
	ldr	x1, [x21]
	mov	x0, x22
	bl	_rdev_dec_pending
	ldr	w1, [x19, #32]
	mov	x0, x21
	bl	_allow_barrier
	ldr	x1, [x19, #24]
	str	xzr, [x19, #16]
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	x3, 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	_raid1_read_request
LBB0_3:
Lloh6:
	adrp	x23, _FailFast@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FailFast@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x20]
	cbnz	x8, LBB0_1
; %bb.5:
	ldr	w0, [x23]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_1
; %bb.6:
	mov	x0, x20
	mov	x1, x22
	bl	_md_error
	b	LBB0_2
LBB0_7:
	mov	x0, x21
	mov	w1, #1
	bl	_freeze_array
	ldr	x1, [x19]
	ldr	w2, [x19, #32]
	ldr	w3, [x19, #8]
	mov	x0, x21
	bl	_fix_read_error
	mov	x0, x21
	bl	_unfreeze_array
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_R1BIO_ReadError,4,2            ; @R1BIO_ReadError
	.comm	_FailFast,4,2                   ; @FailFast
	.comm	_IO_BLOCKED,8,3                 ; @IO_BLOCKED
	.no_dead_strip	_handle_read_error
.subsections_via_symbols
