	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_balance
_read_balance:                          ## @read_balance
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rsi), %r14
	movl	8(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r13
	callq	_raid10_find_phys
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	_MaxSector@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_R10BIO_FailFast@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	24(%rbx), %rsi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	callq	_clear_bit
	movq	%r12, %rdx
	movq	24(%r12), %rdi
	movq	(%rdi), %rax
	cmpq	(%r15), %rax
	jge	LBB0_2
## %bb.1:
	leaq	(%r14,%r13), %rax
	cmpq	(%rdx), %rax
	jge	LBB0_6
LBB0_2:
	movq	%rdx, %rbx
	callq	_mddev_is_clustered
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_md_cluster_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rdi
	movq	_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addq	%r14, %r13
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	*(%rax)
	movq	%rbx, %rdx
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movb	$1, %al
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
LBB0_3:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rdx
	jmp	LBB0_7
LBB0_5:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
LBB0_7:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, 8(%rdx)
	jle	LBB0_8
## %bb.9:
	movl	$-1, -52(%rbp)                  ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	_IO_BLOCKED@GOTPCREL(%rip), %rdi
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r14d, %r14d
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	_IO_BLOCKED@GOTPCREL(%rip), %rdi
LBB0_38:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r13
	movslq	8(%rdx), %rax
	addq	$24, %r15
	cmpq	%rax, %r13
	jge	LBB0_39
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15), %rcx
	cmpq	(%rdi), %rcx
	je	LBB0_38
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	8(%rax,%r15), %r12
	movq	16(%rdx), %rax
	shlq	$4, %r12
	movl	12(%rax,%r12), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r14
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rbx), %rax
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	addq	16(%rax,%r15), %rcx
	cmpq	(%r14), %rcx
	jle	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	8(%rax,%r12), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	movq	16(%rcx,%r15), %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	addq	%rbx, %rax
	cmpq	(%r14), %rax
	jg	LBB0_18
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	leaq	-144(%rbp), %rcx
	leaq	-124(%rbp), %r8
	callq	_is_badblock
	testq	%rax, %rax
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_MaxSector@GOTPCREL(%rip), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpq	(%rax), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	_IO_BLOCKED@GOTPCREL(%rip), %rdi
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	12(%r14), %edi
	callq	_bdev_get_queue
	movl	%eax, %edi
	callq	_blk_queue_nonrot
	movl	%eax, %ebx
	leaq	8(%r14), %rdi
	callq	_atomic_read
	movl	-108(%rbp), %edx                ## 4-byte Reload
	cmpl	%eax, %edx
	seta	%sil
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	movl	%eax, %ebx
	setne	%cl
	testb	%cl, %sil
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmovneq	%r14, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	cmovnel	%r13d, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmovnel	%ebx, %edx
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_R10BIO_FailFast@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_set_bit
LBB0_32:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$2, 32(%rdx)
	jl	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-144(%rbp), %rax
	subq	%rbx, %rax
	jle	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movslq	%esi, %rcx
	cmpq	%rcx, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmovgq	%r14, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmovgl	%r13d, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmovgl	%eax, %esi
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_46
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_35:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$1, 36(%rdx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	16(%rax,%r15), %rax
	jg	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rdx), %rcx
	subq	(%rcx,%r12), %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovnsq	%rcx, %rax
LBB0_37:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_IO_BLOCKED@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	%ecx, -68(%rbp)                 ## 4-byte Folded Spill
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	cmovlq	%r14, %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	cmovll	%r13d, %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	cmovlq	%rax, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_38
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	-124(%rbp), %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%eax, %ecx
	cmovlel	%ecx, %eax
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	cmovel	%ecx, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%eax, %ecx
	cmovgel	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_39:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_40:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_41:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_42
LBB0_8:
	movl	$-1, %ecx
	xorl	%r15d, %r15d
                                        ## implicit-def: $ebx
	xorl	%esi, %esi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_42:
	movl	8(%rdx), %eax
	testl	%esi, %esi
	cmovel	%ecx, %ebx
	cmpl	%eax, %r13d
	cmovll	%r13d, %ebx
	testl	%ebx, %ebx
	js	LBB0_43
## %bb.44:
	testl	%esi, %esi
	cmoveq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	cmpl	%eax, %r13d
	cmovlq	%r14, %r15
	leaq	8(%r15), %rdi
	callq	_atomic_inc
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 12(%rax)
	jmp	LBB0_45
LBB0_43:
	xorl	%r15d, %r15d
LBB0_45:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movq	%r15, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_46:
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_MaxSector,8,3                  ## @MaxSector
	.comm	_R10BIO_FailFast,4,2            ## @R10BIO_FailFast
	.comm	_md_cluster_ops,8,3             ## @md_cluster_ops
	.comm	_READ,4,2                       ## @READ
	.comm	_IO_BLOCKED,8,3                 ## @IO_BLOCKED
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_In_sync,4,2                    ## @In_sync
	.no_dead_strip	_read_balance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_balance
_read_balance:                          ; @read_balance
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x24, [x1]
	ldr	w8, [x1, #8]
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	sxtw	x19, w8
	bl	_raid10_find_phys
	bl	_rcu_read_lock
Lloh0:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MaxSector@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MaxSector@GOTPAGEOFF]
Lloh4:
	ldr	w26, [x8]
	ldr	x8, [x25]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x8, _R10BIO_FailFast@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R10BIO_FailFast@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x20, #24
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	bl	_clear_bit
	ldr	x0, [x22, #24]
	ldr	x8, [x0]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	add	x9, x24, x19
	cmp	x9, x8
	b.ge	LBB0_4
LBB0_2:
	bl	_mddev_is_clustered
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _md_cluster_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _md_cluster_ops@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x22, #24]
Lloh11:
	adrp	x9, _READ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	add	x3, x24, x19
	mov	x2, x24
	blr	x8
	cbz	x0, LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:
	str	wzr, [sp, #32]                  ; 4-byte Folded Spill
LBB0_6:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:
	str	w26, [sp, #24]                  ; 4-byte Folded Spill
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	x19, #0
	mov	x27, #0
	mov	w26, #0
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	mov	x24, #0
	stp	xzr, xzr, [sp, #40]             ; 16-byte Folded Spill
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	mov	w8, #-1
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
Lloh14:
	adrp	x28, _IO_BLOCKED@GOTPAGE
Lloh15:
	ldr	x28, [x28, _IO_BLOCKED@GOTPAGEOFF]
Lloh16:
	adrp	x25, _Faulty@GOTPAGE
Lloh17:
	ldr	x25, [x25, _Faulty@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
	mov	x10, #0
	mov	w11, #0
	mov	w27, #0
	mov	x12, #0
	mov	x24, #0
	str	xzr, [sp, #72]                  ; 8-byte Folded Spill
                                        ; implicit-def: $w9
	mov	w13, #-1
	b	LBB0_35
LBB0_9:                                 ;   in Loop: Header=BB0_13 Depth=1
	mov	x8, #0
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w13, [sp, #68]                  ; 4-byte Folded Reload
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	orr	w11, w25, w11
	str	w11, [sp, #36]                  ; 4-byte Folded Spill
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x8, x9
	csel	x12, x24, x12, lt
	csel	w13, w27, w13, lt
	str	w13, [sp, #68]                  ; 4-byte Folded Spill
	csel	x9, x8, x9, lt
	stp	x12, x9, [sp, #48]              ; 16-byte Folded Spill
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	mov	x26, x8
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x25, x21
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x22, #8]
	add	x19, x19, #24
	cmp	x27, x8
	b.ge	LBB0_33
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x9, [x8, x19]
	ldr	x10, [x28]
	cmp	x9, x10
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, x19
	ldrsw	x23, [x8, #8]
	ldr	x8, [x22, #16]
	add	x8, x8, x23, lsl #4
	ldr	w0, [x8, #12]
	bl	_rcu_dereference
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x0
	ldr	w0, [x25]
	add	x1, x24, #16
	bl	_test_bit
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x19
	ldr	x8, [x8, #16]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, w9, sxtw
	ldr	x9, [x24]
	cmp	x8, x9
	b.le	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22, #16]
	add	x8, x8, x23, lsl #4
	ldr	w0, [x8, #8]
	bl	_rcu_dereference
	mov	x24, x0
	cbz	x0, LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x21, x25
	ldr	w0, [x25]
	add	x25, x24, #16
	mov	x1, x25
	bl	_test_bit
	cbnz	x0, LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh18:
	adrp	x8, _In_sync@GOTPAGE
Lloh19:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	ldr	x8, [x20, #16]
	add	x8, x8, x19
	ldr	x25, [x8, #16]
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x25, w8, sxtw
	ldr	x9, [x24]
	cmp	x8, x9
	b.gt	LBB0_11
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x3, sp, #88
	add	x4, sp, #84
	mov	x0, x24
	mov	x1, x25
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_is_badblock
	cbz	x0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh21:
	adrp	x8, _MaxSector@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x9, x8
	b.lt	LBB0_11
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #88]
	subs	x8, x8, x25
	b.le	LBB0_32
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x8, w26, sxtw
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	csel	x9, x24, x9, gt
	str	x9, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	csel	w9, w27, w9, gt
	str	w9, [sp, #68]                   ; 4-byte Folded Spill
	csel	w26, w8, w26, gt
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	tbz	w8, #0, LBB0_11
	b	LBB0_33
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_34
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x24, #12]
	bl	_bdev_get_queue
	bl	_blk_queue_nonrot
	mov	x25, x0
	add	x0, x24, #8
	bl	_atomic_read
	mov	x26, x0
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	cmp	w10, w0
	cset	w8, hi
	cmp	w25, #0
	cset	w9, ne
	tst	w8, w9
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	csel	x8, x24, x8, ne
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	csel	w8, w27, w8, ne
	csel	w10, w0, w10, ne
	stp	w10, w8, [sp, #24]              ; 8-byte Folded Spill
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh24:
	adrp	x8, _R10BIO_FailFast@GOTPAGE
Lloh25:
	ldr	x8, [x8, _R10BIO_FailFast@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_set_bit
LBB0_28:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x22, #32]
	cmp	w8, #2
	b.lt	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w26, LBB0_9
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x22, #36]
	ldr	x8, [x20, #16]
	add	x8, x8, x19
	ldr	x8, [x8, #16]
	cmp	w9, #1
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w13, [sp, #68]                  ; 4-byte Folded Reload
	b.gt	LBB0_10
; %bb.31:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x22, #16]
	lsl	x10, x23, #4
	ldr	x9, [x9, x10]
	subs	x8, x8, x9
	cneg	x8, x8, mi
	b	LBB0_10
LBB0_32:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [sp, #84]
	add	w8, w9, w8
	ldr	x11, [sp, #72]                  ; 8-byte Folded Reload
	cmp	w11, w8
	cset	w9, gt
	ldr	w10, [sp, #32]                  ; 4-byte Folded Reload
	tst	w10, w9
	csel	w11, w8, w11, ne
	cmp	w26, w11
	str	x11, [sp, #72]                  ; 8-byte Folded Spill
	csel	w26, w26, w11, lt
	b	LBB0_11
LBB0_33:
	mov	x8, x26
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
LBB0_34:
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldp	x10, x12, [sp, #40]             ; 16-byte Folded Reload
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w13, [sp, #68]                  ; 4-byte Folded Reload
LBB0_35:
	ldr	w8, [x22, #8]
	cmp	w11, #0
	csel	w9, w13, w9, eq
	cmp	w27, w8
	csel	w19, w27, w9, lt
	tbnz	w19, #31, LBB0_37
; %bb.36:
	cmp	w11, #0
	csel	x9, x12, x10, eq
	cmp	w27, w8
	csel	x22, x24, x9, lt
	add	x0, x22, #8
	bl	_atomic_inc
	str	w19, [x20, #12]
	b	LBB0_38
LBB0_37:
	mov	x22, #0
LBB0_38:
	bl	_rcu_read_unlock
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	w8, [x23]
	mov	x0, x22
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_MaxSector,8,3                  ; @MaxSector
	.comm	_R10BIO_FailFast,4,2            ; @R10BIO_FailFast
	.comm	_md_cluster_ops,8,3             ; @md_cluster_ops
	.comm	_READ,4,2                       ; @READ
	.comm	_IO_BLOCKED,8,3                 ; @IO_BLOCKED
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_In_sync,4,2                    ; @In_sync
	.no_dead_strip	_read_balance
.subsections_via_symbols
