	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_sync_read_error
_fix_sync_read_error:                   ## @fix_sync_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	movq	(%rdi), %rax
	movq	24(%rdi), %rcx
	movq	(%rcx,%rax,8), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_get_resync_pages
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	12(%r14), %ebx
	movq	8(%r15), %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	_FailFast@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_md_error
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_end_sync_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
LBB0_3:
	testl	%ebx, %ebx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_33
## %bb.4:
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_34
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	incl	%edi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	subl	%eax, %ebx
	je	LBB0_33
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	(%rsi), %rcx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	sarl	$9, %r13d
	cmpl	%r13d, %ebx
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	cmovll	%ebx, %r13d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	shll	$9, %r13d
	movl	%edi, %edi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%ebx
	movl	(%r15), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	movl	$0, %eax
	cmovel	%eax, %ebx
	movslq	%ebx, %rax
	cmpq	%rax, %rcx
	je	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rsi), %rax
	movslq	%ebx, %r14
	movq	(%rax,%r14,8), %rax
	movq	8(%rax), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%r14,8), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rcx
	movq	_REQ_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_sync_page_io
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	$16, %rsp
	movq	(%rsi), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r12d
	cmpq	%r14, %rcx
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	jne	LBB0_19
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=2
	decl	%r12d
	cmpq	%r13, (%rsi)
	je	LBB0_25
LBB0_19:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r12d, %r12d
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	(%r15), %r12d
	addl	%r12d, %r12d
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	movslq	%r12d, %r13
	movq	24(%rsi), %rax
	movq	-8(%rax,%r13,8), %rax
	decq	%r13
	movq	8(%rax), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rcx
	movq	_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rdi, %r14
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_r1_sync_page_io
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	24(%rsi), %rax
	movq	(%rax,%r13,8), %rax
	movq	$0, 8(%rax)
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_rdev_dec_pending
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_BDEVNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %r14
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_mdname
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_bio_devname
	movslq	8(%r14), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_pr_crit_ratelimited
	cmpl	$0, (%r15)
	jle	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	_Faulty@GOTPCREL(%rip), %r14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%rbx
	movslq	(%r15), %rax
	addq	%rax, %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r14), %edi
	leaq	4(%r12), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r12, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_rdev_set_badblocks
	testl	%eax, %eax
	movl	$1, %eax
	cmovel	%eax, %r13d
	jmp	LBB0_15
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ebx, %r12d
	jne	LBB0_26
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=2
	decl	%ebx
	cmpq	%r12, (%rsi)
	je	LBB0_32
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	(%r15), %ebx
	addl	%ebx, %ebx
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=2
	movslq	%ebx, %r12
	movq	24(%rsi), %rax
	movq	-8(%rax,%r12,8), %rax
	decq	%r12
	movq	8(%rax), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %r13
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rcx
	movq	_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_r1_sync_page_io
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	callq	_atomic_add
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_33:
	movq	_R1BIO_Uptodate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_set_bit
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	$1, %r15d
LBB0_35:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_37
## %bb.36:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	movl	%eax, 16(%r15)
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	12(%r14), %esi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_md_done_sync
	movq	%r14, %rdi
	callq	_put_buf
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_35
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FailFast,4,2                   ## @FailFast
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_end_sync_write,8,3             ## @end_sync_write
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_end_sync_read,8,3              ## @end_sync_read
	.comm	_REQ_OP_READ,4,2                ## @REQ_OP_READ
	.comm	_BDEVNAME_SIZE,4,2              ## @BDEVNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid1:%s: %s: unrecoverable I/O read error for block %llu\n"

	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_WRITE,4,2                      ## @WRITE
	.comm	_READ,4,2                       ## @READ
	.comm	_R1BIO_Uptodate,4,2             ## @R1BIO_Uptodate
	.no_dead_strip	_fix_sync_read_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_sync_read_error
_fix_sync_read_error:                   ; @fix_sync_read_error
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x8, x9, [x0, #24]
	stur	x9, [x29, #-112]                ; 8-byte Folded Spill
	ldr	x27, [x9, #8]
	ldr	x9, [x0]
	ldr	x0, [x8, x9, lsl #3]
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	bl	_get_resync_pages
	ldr	x21, [x0]
	ldp	w22, w20, [x19, #8]
	ldr	x8, [x27, #8]
	ldr	x9, [x19]
	ldr	x24, [x8, x9, lsl #3]
Lloh3:
	adrp	x8, _FailFast@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FailFast@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x23, x24, #4
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_md_error
Lloh6:
	adrp	x8, _Faulty@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _end_sync_write@GOTPAGE
Lloh10:
	ldr	x8, [x8, _end_sync_write@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [x9, #8]
LBB0_3:
	cbz	w20, LBB0_32
; %bb.4:
	mov	w9, #0
Lloh12:
	adrp	x23, _end_sync_read@GOTPAGE
Lloh13:
	ldr	x23, [x23, _end_sync_read@GOTPAGEOFF]
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w21, LBB0_35
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	sp, x28
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w9, w20, #1
	add	w22, w24, w22
	ldur	w20, [x29, #-100]               ; 4-byte Folded Reload
	subs	w20, w20, w24
	ldur	x21, [x29, #-96]                ; 8-byte Folded Reload
	b.eq	LBB0_32
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	ldr	x8, [x19]
Lloh14:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	asr	w10, w10, #9
	cmp	w20, w10
	stur	w20, [x29, #-100]               ; 4-byte Folded Spill
	csel	w24, w20, w10, lt
	lsl	w25, w24, #9
	mov	w20, w9
	mov	x26, x8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w9, w26, #1
	ldr	w10, [x27]
	cmp	w9, w10, lsl #1
	csinc	w26, wzr, w26, eq
	cmp	x8, w26, sxtw
	b.eq	LBB0_19
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #24]
	ldr	x9, [x9, w26, sxtw #3]
	ldr	x9, [x9, #8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	sxtw	x28, w26
	ldr	x8, [x27, #8]
	ldr	x0, [x8, x28, lsl #3]
	ldr	x3, [x21, x20, lsl #3]
Lloh17:
	adrp	x8, _REQ_OP_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REQ_OP_READ@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x25
	mov	w5, #0
	mov	w6, #0
	bl	_sync_page_io
	ldr	x8, [x19]
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x26
	cmp	x8, x28
	b.ne	LBB0_14
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x19]
	cmp	x8, x21
	b.eq	LBB0_25
LBB0_14:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	w21, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w8, [x27]
	lsl	w21, w8, #1
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=2
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x8, w21
	sub	x21, x8, #1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x27, #8]
	ldr	x25, [x8, x21, lsl #3]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x3, [x8, x20, lsl #3]
Lloh20:
	adrp	x8, _WRITE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	mov	x0, x25
	mov	x1, x22
	mov	x2, x24
	bl	_r1_sync_page_io
	cbnz	x0, LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	str	xzr, [x8, #8]
	mov	x0, x25
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	bl	_rdev_dec_pending
	b	LBB0_13
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, sp
Lloh23:
	adrp	x8, _BDEVNAME_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BDEVNAME_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	mov	x9, x8
Lloh26:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh27:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_mdname
	mov	x26, x0
	ldur	x0, [x29, #-120]                ; 8-byte Folded Reload
	mov	x1, x25
	bl	_bio_devname
	mov	x2, x0
	ldrsw	x3, [x19, #8]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x26
	bl	_pr_crit_ratelimited
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	mov	w21, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x27]
	cmp	x26, x8, lsl #1
	b.ge	LBB0_5
LBB0_22:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27, #8]
	ldr	x25, [x8, x26, lsl #3]
	cbz	x25, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
Lloh30:
	adrp	x8, _Faulty@GOTPAGE
Lloh31:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, x25, #4
	bl	_test_bit
	cbnz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x25
	mov	x1, x22
	mov	x2, x24
	mov	w3, #0
	bl	_rdev_set_badblocks
	cmp	w0, #0
	csinc	w21, w21, wzr, ne
	b	LBB0_21
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, x26
	cmp	w21, w26
	b.ne	LBB0_27
	b	LBB0_7
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	x8, [x19]
	cmp	x8, x28
	b.eq	LBB0_7
LBB0_27:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	w28, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w8, [x27]
	lsl	w28, w8, #1
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=2
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	sxtw	x8, w28
	sub	x28, x8, #1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x28, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	x8, [x27, #8]
	ldr	x25, [x8, x28, lsl #3]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x3, [x8, x20, lsl #3]
Lloh33:
	adrp	x8, _READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	x0, x25
	mov	x1, x22
	mov	x2, x24
	bl	_r1_sync_page_io
	cbz	x0, LBB0_26
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x24
	mov	x1, x25
	bl	_atomic_add
	b	LBB0_26
LBB0_32:
Lloh36:
	adrp	x8, _R1BIO_Uptodate@GOTPAGE
Lloh37:
	ldr	x8, [x8, _R1BIO_Uptodate@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_set_bit
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	xzr, [x8]
	mov	w0, #1
LBB0_33:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.34:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_35:
	ldur	x20, [x29, #-112]               ; 8-byte Folded Reload
	ldr	w8, [x20, #4]
	str	w8, [x27, #16]
Lloh42:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	ldr	w1, [x19, #12]
	mov	x0, x20
	mov	w2, #0
	bl	_md_done_sync
	mov	x0, x19
	bl	_put_buf
	mov	sp, x28
	mov	w0, #0
	b	LBB0_33
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_FailFast,4,2                   ; @FailFast
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_end_sync_write,8,3             ; @end_sync_write
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_end_sync_read,8,3              ; @end_sync_read
	.comm	_REQ_OP_READ,4,2                ; @REQ_OP_READ
	.comm	_BDEVNAME_SIZE,4,2              ; @BDEVNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid1:%s: %s: unrecoverable I/O read error for block %llu\n"

	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_WRITE,4,2                      ; @WRITE
	.comm	_READ,4,2                       ; @READ
	.comm	_R1BIO_Uptodate,4,2             ; @R1BIO_Uptodate
	.no_dead_strip	_fix_sync_read_error
.subsections_via_symbols
