	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_request
_sync_request:                          ## @sync_request
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rdi, %r15
	movq	64(%rdi), %r13
	movq	_RESYNC_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	cmpl	$0, 32(%r13)
	je	LBB0_40
LBB0_1:
	movq	(%r15), %rbx
	movq	%rbx, %rax
	subq	%rsi, %rax
	jle	LBB0_38
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 40(%r15)
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_6
## %bb.3:
	movq	16(%r15), %rax
	movq	_MaxSector@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r15), %rsi
	callq	_test_bit
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	cmpq	$0, (%r13)
	je	LBB0_97
LBB0_6:
	movq	40(%r15), %rdi
	leaq	-88(%rbp), %rdx
	movl	$1, %ecx
	callq	_bitmap_start_sync
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	cmpq	$0, (%r13)
	jne	LBB0_9
## %bb.8:
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_95
LBB0_9:
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.10:
	cmpq	$0, 40(%r13)
	je	LBB0_12
## %bb.11:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msleep_interruptible
LBB0_12:
	movq	40(%r15), %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_bitmap_cond_end_sync
	movl	32(%r13), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mempool_alloc
	movq	%rax, %rbx
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_raise_barrier
	movq	%r14, 24(%r13)
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r15, 48(%rbx)
	movq	%r14, 40(%rbx)
	leaq	32(%rbx), %rsi
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	$0, 32(%rbx)
	movq	_R1BIO_IsSync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_bit
	cmpl	$0, 8(%r13)
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_45
## %bb.13:
	leaq	32(%r15), %rcx
	movl	$-1, -104(%rbp)                 ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$-1, -112(%rbp)                 ## 4-byte Folded Spill
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	8(%r13), %rax
	addq	%rax, %rax
	cmpq	%rax, %rbx
	jge	LBB0_42
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %r15
	movq	$0, 88(%r15)
	xorl	%eax, %eax
	movq	_BIO_POOL_MASK@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	andl	(%r15), %eax
	movl	%eax, (%r15)
	movq	_BIO_UPTODATE@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	btsl	%ecx, %eax
	movl	%eax, (%r15)
	movl	$-1, 4(%r15)
	movq	_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	$0, 32(%r15)
	movq	$0, 48(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15)
	movups	%xmm0, 72(%r15)
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_rcu_dereference
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movslq	8(%r13), %rax
	cmpq	%rax, %rbx
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovll	%ecx, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	addq	$12, %rdi
	callq	_atomic_inc
	movq	(%r14), %rax
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, 56(%r15)
	movl	8(%r14), %eax
	movl	%eax, 24(%r15)
	movq	%r12, 48(%r15)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_MaxSector@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -168(%rbp)
	movq	%r14, %rdi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	leaq	-168(%rbp), %rcx
	leaq	-124(%rbp), %r8
	callq	_is_badblock
	movq	-168(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rcx, %rax
	subq	%r13, %rax
	jle	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	jmp	LBB0_27
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	_end_sync_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	incl	-56(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_18
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	-124(%rbp), %eax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	%eax, %esi
	movl	%esi, %edx
	cmovgl	%eax, %edx
	movl	%eax, -124(%rbp)
	testl	%esi, %esi
	cmovel	%eax, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	jle	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_WriteMostly@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	movl	%ebx, %edx
	movl	%ebx, %r8d
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	testl	%ecx, %ecx
	js	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ecx, %r8d
LBB0_30:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-112(%rbp), %edi                ## 4-byte Reload
	testl	%edi, %edi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	js	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%edi, %edx
LBB0_32:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%rax, %rax
	cmovel	%edx, %edi
	movl	%edi, -112(%rbp)                ## 4-byte Spill
	cmovnel	%r8d, %ecx
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	movq	_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	_end_sync_read@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	incl	%esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_19
LBB0_33:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_WriteErrorSeen@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_18
## %bb.35:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_19
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_MD_RECOVERY_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_19
## %bb.37:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	_end_sync_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	incl	-56(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_19
LBB0_38:
	movq	8(%r15), %rsi
	cmpq	%rbx, %rsi
	jge	LBB0_43
## %bb.39:
	movq	40(%r15), %rdi
	leaq	-88(%rbp), %rdx
	movl	$1, %ecx
	callq	_bitmap_end_sync
	jmp	LBB0_44
LBB0_40:
	movq	%r13, %rdi
	movq	%rsi, %rbx
	callq	_init_resync
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_1
## %bb.41:
	xorl	%eax, %eax
	jmp	LBB0_93
LBB0_42:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	testl	%ebx, %ebx
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-104(%rbp), %eax                ## 4-byte Reload
	jns	LBB0_47
	jmp	LBB0_46
LBB0_43:
	movq	$0, (%r13)
LBB0_44:
	movq	40(%r15), %rdi
	callq	_bitmap_close_sync
	movq	%r13, %rdi
	callq	_close_sync
	xorl	%eax, %eax
	jmp	LBB0_93
LBB0_45:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	$-1, %eax
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%edx, %edx
LBB0_46:
	movl	%eax, %ebx
LBB0_47:
	movl	%ebx, (%r12)
	testl	%ecx, %ecx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_54
## %bb.48:
	testl	%edx, %edx
	jle	LBB0_54
## %bb.49:
	movl	8(%r13), %eax
	movl	$1, %r14d
	testl	%eax, %eax
	jle	LBB0_57
## %bb.50:
	xorl	%ebx, %ebx
	movq	_end_sync_write@GOTPCREL(%rip), %r15
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_52 Depth=1
	incq	%rbx
	leal	(%rax,%rax), %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_57
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	16(%rcx), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_51
## %bb.53:                              ##   in Loop: Header=BB0_52 Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_rdev_set_badblocks
	testq	%rax, %rax
	setne	%al
	testl	%r14d, %r14d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %r14d
	movl	8(%r13), %eax
	jmp	LBB0_51
LBB0_54:
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r15), %rsi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	callq	_test_bit
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %ecx
	subl	%esi, %ecx
	xorl	%edx, %edx
	testl	%esi, %esi
	cmovlel	%edx, %ecx
	testq	%rax, %rax
	cmovel	%edx, %ecx
	cmpl	%ecx, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_75
## %bb.55:
	testl	%esi, %esi
	je	LBB0_75
## %bb.56:
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	%ecx, %edx
	movl	%ecx, %eax
	cmovll	%edx, %eax
	testl	%edx, %edx
	cmovlel	%ecx, %eax
	movq	24(%r15), %rcx
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	cmpq	%rcx, %rdx
	cmovlq	%rdx, %rcx
	cltq
	movq	%r14, %rsi
	addq	%r14, %rax
	cmpq	%rax, %rcx
	cmovlq	%rcx, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	$0, -88(%rbp)
	movslq	%ebx, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_61
LBB0_57:
	movq	_MD_CHANGE_DEVS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	leaq	56(%rbx), %rsi
	callq	_set_bit
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	%r12, %rdi
	callq	_put_buf
	testl	%r14d, %r14d
	je	LBB0_81
## %bb.58:
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	jmp	LBB0_93
LBB0_59:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	-88(%rbp), %rax
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r13, %rsi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_60:                                ##   in Loop: Header=BB0_61 Depth=1
	sarl	$9, %r14d
	movslq	%r14d, %rcx
	addq	%rcx, -48(%rbp)                 ## 8-byte Folded Spill
	addq	%rcx, %rsi
	subq	%rcx, %rax
	movq	%rax, -88(%rbp)
	movq	8(%r12), %rcx
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%rcx), %rcx
	movq	_RESYNC_PAGES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jae	LBB0_83
LBB0_61:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_72 Depth 2
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	sarl	$9, %edx
	movslq	%edx, %rdx
	addq	%rsi, %rdx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%edi, %r14d
	subl	%esi, %r14d
	shll	$9, %r14d
	cmpq	%rdi, %rdx
	cmovlel	%ecx, %r14d
	testl	%r14d, %r14d
	je	LBB0_83
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=1
	testq	%rax, %rax
	jne	LBB0_69
## %bb.63:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	40(%r15), %rdi
	movq	%rsi, %rbx
	leaq	-88(%rbp), %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_bitmap_start_sync
	testl	%eax, %eax
	jne	LBB0_66
## %bb.64:                              ##   in Loop: Header=BB0_61 Depth=1
	cmpq	$0, (%r13)
	jne	LBB0_66
## %bb.65:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_83
LBB0_66:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$9, %eax
	cltq
	xorl	%edi, %edi
	cmpq	%rax, -88(%rbp)
	setl	%dil
	callq	_BUG_ON
	movl	%r14d, %eax
	sarl	$9, %eax
	movslq	%eax, %rcx
	movq	-88(%rbp), %rax
	cmpq	%rcx, %rax
	jge	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_61 Depth=1
	movl	%eax, %r14d
	shll	$9, %r14d
LBB0_68:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	%rbx, %rsi
LBB0_69:                                ##   in Loop: Header=BB0_61 Depth=1
	movl	8(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_60
## %bb.70:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	%rsi, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_72
	.p2align	4, 0x90
LBB0_71:                                ##   in Loop: Header=BB0_72 Depth=2
	incq	%r15
	leal	(%rcx,%rcx), %eax
	cltq
	cmpq	%rax, %r15
	jge	LBB0_59
LBB0_72:                                ##   Parent Loop BB0_61 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_71
## %bb.73:                              ##   in Loop: Header=BB0_72 Depth=2
	movq	8(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rcx,%rax,8), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_bio_add_page
	testq	%rax, %rax
	je	LBB0_76
## %bb.74:                              ##   in Loop: Header=BB0_72 Depth=2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %ecx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_71
LBB0_75:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %rax
	addq	%r14, %rax
	testl	%ecx, %ecx
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	cmovgq	%rax, %rbx
	subq	%r14, %rbx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	%r12, %rdi
	callq	_put_buf
	jmp	LBB0_92
LBB0_76:
	movq	8(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	%r12, (%rcx,%rax,8)
	testl	%r15d, %r15d
	je	LBB0_82
## %bb.77:
	incq	%r15
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	movslq	%r14d, %rdx
	movq	_BIO_SEG_VALID@GOTPCREL(%rip), %rsi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_79
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_79 Depth=1
	decq	%r15
	cmpq	$1, %r15
	jle	LBB0_83
LBB0_79:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rax,%r15,8), %rdi
	cmpq	$0, 16(%rdi)
	je	LBB0_78
## %bb.80:                              ##   in Loop: Header=BB0_79 Depth=1
	decq	8(%rdi)
	subq	%rdx, 32(%rdi)
	movzbl	(%rsi), %ecx
	movl	$-2, %ebx
	roll	%cl, %ebx
	andl	%ebx, (%rdi)
	jmp	LBB0_78
LBB0_81:
	movl	48(%rbx), %eax
	movl	%eax, 12(%r13)
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$32, %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	xorl	%eax, %eax
	jmp	LBB0_93
LBB0_82:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_83:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 24(%r12)
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	addq	$16, %rdi
	testq	%rax, %rax
	je	LBB0_91
## %bb.84:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_atomic_set
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_94
## %bb.85:
	movl	$1, %ebx
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_86:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	-8(%rcx,%rbx,8), %r14
	movq	16(%r14), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_88
## %bb.87:                              ##   in Loop: Header=BB0_86 Depth=1
	decl	%r15d
	movl	24(%r14), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_md_sync_acct
	movq	%r14, %rdi
	callq	_generic_make_request
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movl	8(%r13), %eax
LBB0_88:                                ##   in Loop: Header=BB0_86 Depth=1
	leal	(%rax,%rax), %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_94
## %bb.89:                              ##   in Loop: Header=BB0_86 Depth=1
	incq	%rbx
	testl	%r15d, %r15d
	jne	LBB0_86
LBB0_94:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_93
LBB0_91:
	movl	$1, %esi
	callq	_atomic_set
	movq	8(%r12), %rax
	movslq	(%r12), %rcx
	movq	(%rax,%rcx,8), %r14
	movl	24(%r14), %edi
	movq	%rbx, %rsi
	callq	_md_sync_acct
	movq	%r14, %rdi
	callq	_generic_make_request
LBB0_92:
	movq	%rbx, %rax
LBB0_93:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_95:
	movl	$1, (%r12)
	movq	-88(%rbp), %rax
	jmp	LBB0_93
LBB0_97:
	movl	$1, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_93
	.cfi_endproc
                                        ## -- End function
	.comm	_RESYNC_SECTORS,4,2             ## @RESYNC_SECTORS
	.comm	_MaxSector,8,3                  ## @MaxSector
	.comm	_MD_RECOVERY_REQUESTED,4,2      ## @MD_RECOVERY_REQUESTED
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_R1BIO_IsSync,4,2               ## @R1BIO_IsSync
	.comm	_BIO_POOL_MASK,4,2              ## @BIO_POOL_MASK
	.comm	_BIO_UPTODATE,4,2               ## @BIO_UPTODATE
	.comm	_READ,8,3                       ## @READ
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_In_sync,4,2                    ## @In_sync
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_end_sync_write,8,3             ## @end_sync_write
	.comm	_WriteMostly,4,2                ## @WriteMostly
	.comm	_end_sync_read,8,3              ## @end_sync_read
	.comm	_WriteErrorSeen,4,2             ## @WriteErrorSeen
	.comm	_MD_RECOVERY_SYNC,4,2           ## @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_CHECK,4,2          ## @MD_RECOVERY_CHECK
	.comm	_MD_CHANGE_DEVS,4,2             ## @MD_CHANGE_DEVS
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BIO_SEG_VALID,4,2              ## @BIO_SEG_VALID
	.comm	_RESYNC_PAGES,8,3               ## @RESYNC_PAGES
	.no_dead_strip	_sync_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_request
_sync_request:                          ; @sync_request
	.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	x20, x3
	mov	x27, x2
	mov	x22, x1
	mov	x26, x0
	ldr	x19, [x0, #64]
Lloh0:
	adrp	x8, _RESYNC_SECTORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESYNC_SECTORS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #64]                   ; 4-byte Folded Spill
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_33
LBB0_1:
	ldr	x21, [x26]
	subs	x28, x21, x22
	b.le	LBB0_31
; %bb.2:
	ldr	x8, [x26, #40]
	cbnz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x26, #16]
Lloh3:
	adrp	x9, _MaxSector@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MaxSector@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x26, #32
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	cbz	x8, LBB0_83
LBB0_6:
	ldr	x0, [x26, #40]
	add	x2, sp, #88
	mov	x1, x22
	mov	w3, #1
	bl	_bitmap_start_sync
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x26, #32
	bl	_test_bit
	cbz	x0, LBB0_82
LBB0_9:
	cbnz	w20, LBB0_12
; %bb.10:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_12
; %bb.11:
	mov	w0, #1000
	bl	_msleep_interruptible
LBB0_12:
	ldr	x0, [x26, #40]
	mov	x1, x22
	bl	_bitmap_cond_end_sync
	ldr	w0, [x19, #32]
Lloh12:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_mempool_alloc
	mov	x20, x0
	mov	x0, x19
	bl	_raise_barrier
	str	x22, [x19, #24]
	bl	_rcu_read_lock
	stp	x22, x26, [x20, #40]
	mov	x1, x20
	str	xzr, [x1, #32]!
Lloh15:
	adrp	x8, _R1BIO_IsSync@GOTPAGE
Lloh16:
	ldr	x8, [x8, _R1BIO_IsSync@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_set_bit
	ldr	w8, [x19, #8]
	cmp	w8, #0
	b.le	LBB0_38
; %bb.13:
	stp	x21, x27, [sp]                  ; 16-byte Folded Spill
	mov	x8, x26
	mov	x26, #0
	stp	x8, xzr, [sp, #16]              ; 16-byte Folded Spill
	mov	w25, #0
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	str	wzr, [sp, #48]                  ; 4-byte Folded Spill
	add	x27, x8, #32
Lloh18:
	adrp	x23, _READ@GOTPAGE
Lloh19:
	ldr	x23, [x23, _READ@GOTPAGEOFF]
	mov	w8, #-1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	mov	w8, #-1
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x19, #8]
	cmp	x26, x8, lsl #1
	b.ge	LBB0_35
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x9, x26, #3
	ldr	x21, [x8, x9]
Lloh20:
	adrp	x8, _BIO_POOL_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BIO_POOL_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w10, [x21]
	neg	w8, w8
	and	w8, w10, w8
	str	w8, [x21]
Lloh23:
	adrp	x10, _BIO_UPTODATE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _BIO_UPTODATE@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	orr	w8, w10, w8
	str	w8, [x21]
	mov	w8, #-1
	str	w8, [x21, #4]
	ldr	x8, [x23]
	str	xzr, [x21, #32]
	str	xzr, [x21, #48]
	stp	xzr, xzr, [x21, #8]
	stp	xzr, xzr, [x21, #80]
	stp	x8, xzr, [x21, #64]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x9]
	bl	_rcu_dereference
	mov	x28, x0
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh26:
	adrp	x8, _Faulty@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	add	x24, x28, #16
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x8, [x19, #8]
	cmp	x26, x8
	csinc	w25, w25, wzr, ge
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, x28, #12
	bl	_atomic_inc
	ldr	x8, [x28]
	add	x8, x8, x22
	str	x8, [x21, #56]
	ldr	w8, [x28, #8]
	str	w8, [x21, #24]
	str	x20, [x21, #48]
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh29:
	adrp	x8, _In_sync@GOTPAGE
Lloh30:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh32:
	adrp	x8, _MaxSector@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	str	x8, [sp, #80]
	add	x3, sp, #80
	add	x4, sp, #76
	mov	x0, x28
	mov	x1, x22
	ldr	w2, [sp, #64]                   ; 4-byte Folded Reload
	bl	_is_badblock
	ldr	x8, [sp, #80]
	cbz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	subs	x9, x8, x22
	b.le	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9
	str	w9, [sp, #64]                   ; 4-byte Folded Spill
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	x8, x22
	b.le	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh35:
	adrp	x8, _WriteMostly@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WriteMostly@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	ldr	w10, [sp, #36]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	w8, w26, w10, lt
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	cmp	w9, #0
	ccmp	x0, #0, #0, lt
	csel	w9, w26, w9, eq
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	cmp	x0, #0
	csel	w10, w10, w8, eq
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	ldr	x8, [x23]
	str	x8, [x21, #64]
Lloh38:
	adrp	x8, _end_sync_read@GOTPAGE
Lloh39:
	ldr	x8, [x8, _end_sync_read@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x21, #16]
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	b	LBB0_18
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w10, [sp, #76]
	add	w9, w10, w9
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	cmp	w10, w9
	str	w9, [sp, #76]
	ccmp	w10, #0, #4, le
	csel	w10, w9, w10, eq
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	cmp	x8, x22
	b.gt	LBB0_25
LBB0_27:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh41:
	adrp	x8, _WriteErrorSeen@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WriteErrorSeen@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_18
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh44:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_test_bit
	cbz	x0, LBB0_18
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh47:
	adrp	x8, _MD_RECOVERY_CHECK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MD_RECOVERY_CHECK@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_test_bit
	cbnz	x0, LBB0_18
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh50:
	adrp	x8, _WRITE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	str	x8, [x21, #64]
Lloh53:
	adrp	x8, _end_sync_write@GOTPAGE
Lloh54:
	ldr	x8, [x8, _end_sync_write@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [x21, #16]
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	b	LBB0_18
LBB0_31:
	ldr	x1, [x26, #8]
	cmp	x1, x21
	b.ge	LBB0_36
; %bb.32:
	ldr	x0, [x26, #40]
	add	x2, sp, #88
	mov	w3, #1
	bl	_bitmap_end_sync
	b	LBB0_37
LBB0_33:
	mov	x0, x19
	bl	_init_resync
	cbz	x0, LBB0_1
; %bb.34:
	mov	x28, #0
	b	LBB0_84
LBB0_35:
	bl	_rcu_read_unlock
	ldp	x27, x26, [sp, #8]              ; 16-byte Folded Reload
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #48]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	tbz	w24, #31, LBB0_40
	b	LBB0_39
LBB0_36:
	str	xzr, [x19]
LBB0_37:
	ldr	x0, [x26, #40]
	bl	_bitmap_close_sync
	mov	x0, x19
	bl	_close_sync
	mov	x28, #0
	b	LBB0_84
LBB0_38:
	bl	_rcu_read_unlock
	mov	w28, #0
	mov	w25, #0
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w23, #0
	mov	w8, #-1
LBB0_39:
	mov	x24, x8
LBB0_40:
	str	w24, [x20]
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_47
; %bb.41:
	cmp	w28, #1
	b.lt	LBB0_47
; %bb.42:
	ldr	w8, [x19, #8]
	mov	w21, #1
	cmp	w8, #1
	b.lt	LBB0_77
; %bb.43:
	mov	x24, #0
	mov	w23, #1
Lloh56:
	adrp	x25, _end_sync_write@GOTPAGE
Lloh57:
	ldr	x25, [x25, _end_sync_write@GOTPAGEOFF]
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	add	x24, x24, #1
	lsl	w9, w8, #1
	cmp	x24, w9, sxtw
	b.ge	LBB0_78
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x9, [x9, x24, lsl #3]
	ldr	x9, [x9, #16]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x24, lsl #3]
	mov	x1, x22
	mov	x2, x28
	mov	w3, #0
	bl	_rdev_set_badblocks
	cmp	x0, #0
	ccmp	w23, #0, #4, ne
	cset	w23, ne
	ldr	w8, [x19, #8]
	b	LBB0_44
LBB0_47:
Lloh58:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	add	x1, x26, #32
	str	x1, [sp, #48]                   ; 8-byte Folded Spill
	bl	_test_bit
	mov	w8, #1
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	sub	w9, w8, w10
	cmp	w10, #0
	ccmp	x0, #0, #4, gt
	csel	w9, w9, wzr, ne
	cmp	w23, w9
	b.eq	LBB0_64
; %bb.48:
	cbz	w10, LBB0_64
; %bb.49:
	mov	x8, #0
	mov	x10, x28
	mov	x28, #0
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	cmp	w10, w9
	ccmp	w10, #0, #4, lt
	csel	w9, w10, w9, gt
	ldr	x10, [x26, #24]
	cmp	x21, x10
	csel	x10, x21, x10, lt
	add	x9, x22, w9, sxtw
	cmp	x10, x9
	csel	x21, x10, x9, lt
	str	xzr, [sp, #88]
	sxtw	x23, w24
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	x8, [sp, #88]
	mov	x26, x23
	ldr	x21, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	sbfx	x9, x24, #9, #23
	add	x28, x28, x9
	add	x22, x22, x9
	sub	x8, x8, x9
	str	x8, [sp, #88]
	ldr	x9, [x20, #8]
	ldr	x9, [x9, x23, lsl #3]
	ldr	x9, [x9, #8]
Lloh61:
	adrp	x10, _RESYNC_PAGES@GOTPAGE
Lloh62:
	ldr	x10, [x10, _RESYNC_PAGES@GOTPAGEOFF]
Lloh63:
	ldr	x10, [x10]
	cmp	x9, x10
	b.hs	LBB0_70
LBB0_52:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_61 Depth 2
Lloh64:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh65:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	asr	w10, w9, #9
	add	x10, x22, w10, sxtw
	sub	w11, w21, w22
	lsl	w11, w11, #9
	cmp	x10, x21
	csel	w24, w11, w9, gt
	cbz	w24, LBB0_70
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	cbnz	x8, LBB0_58
; %bb.54:                               ;   in Loop: Header=BB0_52 Depth=1
	ldr	x0, [x26, #40]
	add	x2, sp, #88
	mov	x1, x22
	mov	x3, x25
	bl	_bitmap_start_sync
	cbnz	w0, LBB0_57
; %bb.55:                               ;   in Loop: Header=BB0_52 Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_52 Depth=1
Lloh67:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_test_bit
	cbz	x0, LBB0_70
LBB0_57:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	x8, [sp, #88]
Lloh70:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh71:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	asr	w9, w9, #9
	cmp	x8, w9, sxtw
	cset	w0, lt
	bl	_BUG_ON
	asr	w9, w24, #9
	ldr	x8, [sp, #88]
	cmp	x8, w9, sxtw
	lsl	w9, w8, #9
	csel	w24, w24, w9, ge
LBB0_58:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_51
; %bb.59:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x23, x26
	mov	x21, #0
	b	LBB0_61
LBB0_60:                                ;   in Loop: Header=BB0_61 Depth=2
	add	x21, x21, #1
	lsl	w8, w9, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_50
LBB0_61:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x26, [x8, x21, lsl #3]
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_60
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=2
	ldr	x8, [x26, #40]
	ldr	x9, [x26, #8]
	ldr	x27, [x8, x9, lsl #3]
	mov	x0, x26
	mov	x1, x27
	mov	x2, x24
	mov	w3, #0
	bl	_bio_add_page
	cbz	x0, LBB0_65
; %bb.63:                               ;   in Loop: Header=BB0_61 Depth=2
	ldr	w9, [x19, #8]
	b	LBB0_60
LBB0_64:
	add	x9, x22, w28, sxtw
	cmp	w28, #0
	csel	x9, x9, x21, gt
	sub	x28, x9, x22
	str	w8, [x27]
	mov	x0, x20
	bl	_put_buf
	b	LBB0_84
LBB0_65:
	ldr	x8, [x26, #40]
	ldr	x9, [x26, #8]
	str	x27, [x8, x9, lsl #3]
	cbz	w21, LBB0_70
; %bb.66:
	sub	x8, x21, #1
	ldr	x9, [x20, #8]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x10, w24
Lloh73:
	adrp	x11, _BIO_SEG_VALID@GOTPAGE
Lloh74:
	ldr	x11, [x11, _BIO_SEG_VALID@GOTPAGEOFF]
	mov	w12, #1
	b	LBB0_68
LBB0_67:                                ;   in Loop: Header=BB0_68 Depth=1
	add	x13, x8, #1
	sub	x8, x8, #1
	cmp	x13, #1
	b.le	LBB0_70
LBB0_68:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9, x8, lsl #3]
	ldr	x14, [x13, #16]
	cbz	x14, LBB0_67
; %bb.69:                               ;   in Loop: Header=BB0_68 Depth=1
	ldr	x14, [x13, #8]
	sub	x14, x14, #1
	str	x14, [x13, #8]
	ldr	x14, [x13, #32]
	sub	x14, x14, x10
	str	x14, [x13, #32]
	ldr	w14, [x11]
	lsl	w14, w12, w14
	ldr	w15, [x13]
	bic	w14, w15, w14
	str	w14, [x13]
	b	LBB0_67
LBB0_70:
	str	x28, [x20, #24]
Lloh75:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_test_bit
	mov	x8, x0
	add	x0, x20, #16
	cbz	x8, LBB0_81
; %bb.71:
	ldr	w24, [sp, #60]                  ; 4-byte Folded Reload
	mov	x1, x24
	bl	_atomic_set
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_84
; %bb.72:
	mov	x22, #0
Lloh78:
	adrp	x23, _end_sync_read@GOTPAGE
Lloh79:
	ldr	x23, [x23, _end_sync_read@GOTPAGEOFF]
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x21, [x9, x22, lsl #3]
	ldr	x9, [x21, #16]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_75
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=1
	sub	w24, w24, #1
	ldr	w0, [x21, #24]
	mov	x1, x28
	bl	_md_sync_acct
	mov	x0, x21
	bl	_generic_make_request
	ldr	w8, [x19, #8]
LBB0_75:                                ;   in Loop: Header=BB0_73 Depth=1
	add	x22, x22, #1
	lsl	w9, w8, #1
	cmp	x22, w9, sxtw
	b.ge	LBB0_84
; %bb.76:                               ;   in Loop: Header=BB0_73 Depth=1
	cbnz	w24, LBB0_73
	b	LBB0_84
LBB0_77:
	mov	w23, #1
LBB0_78:
Lloh80:
	adrp	x8, _MD_CHANGE_DEVS@GOTPAGE
Lloh81:
	ldr	x8, [x8, _MD_CHANGE_DEVS@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	add	x1, x26, #56
	bl	_set_bit
	str	w21, [x27]
	mov	x0, x20
	bl	_put_buf
	cbz	w23, LBB0_80
; %bb.79:
	sxtw	x28, w28
	b	LBB0_84
LBB0_80:
	ldr	w8, [x26, #48]
	str	w8, [x19, #12]
Lloh83:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	add	x1, x26, #32
	bl	_set_bit
	mov	x28, #0
	b	LBB0_84
LBB0_81:
	mov	w1, #1
	bl	_atomic_set
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	ldr	x19, [x8, x9, lsl #3]
	ldr	w0, [x19, #24]
	mov	x1, x28
	bl	_md_sync_acct
	mov	x0, x19
	bl	_generic_make_request
	b	LBB0_84
LBB0_82:
	mov	w8, #1
	str	w8, [x27]
	ldr	x28, [sp, #88]
	b	LBB0_84
LBB0_83:
	mov	w8, #1
	str	w8, [x27]
LBB0_84:
	mov	x0, x28
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_RESYNC_SECTORS,4,2             ; @RESYNC_SECTORS
	.comm	_MaxSector,8,3                  ; @MaxSector
	.comm	_MD_RECOVERY_REQUESTED,4,2      ; @MD_RECOVERY_REQUESTED
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_R1BIO_IsSync,4,2               ; @R1BIO_IsSync
	.comm	_BIO_POOL_MASK,4,2              ; @BIO_POOL_MASK
	.comm	_BIO_UPTODATE,4,2               ; @BIO_UPTODATE
	.comm	_READ,8,3                       ; @READ
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_In_sync,4,2                    ; @In_sync
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_end_sync_write,8,3             ; @end_sync_write
	.comm	_WriteMostly,4,2                ; @WriteMostly
	.comm	_end_sync_read,8,3              ; @end_sync_read
	.comm	_WriteErrorSeen,4,2             ; @WriteErrorSeen
	.comm	_MD_RECOVERY_SYNC,4,2           ; @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_CHECK,4,2          ; @MD_RECOVERY_CHECK
	.comm	_MD_CHANGE_DEVS,4,2             ; @MD_CHANGE_DEVS
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BIO_SEG_VALID,4,2              ; @BIO_SEG_VALID
	.comm	_RESYNC_PAGES,8,3               ; @RESYNC_PAGES
	.no_dead_strip	_sync_request
.subsections_via_symbols
