	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resync_start_store
_resync_start_store:                    ## @resync_start_store
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MaxSector@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	jmp	LBB0_3
LBB0_2:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtoull
	testl	%eax, %eax
	js	LBB0_12
LBB0_3:
	movq	%r15, %rdi
	callq	_mddev_lock
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.6:
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	-32(%rbp), %rax
	movq	%rax, (%r15)
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.9:
	movq	_MD_SB_CHANGE_CLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_set_bit
	jmp	LBB0_10
LBB0_5:
	movq	-32(%rbp), %rax
	movq	%rax, (%r15)
LBB0_10:
	movq	%r15, %rdi
	callq	_mddev_unlock
LBB0_11:
	movl	%r14d, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.13:
	negl	%ebx
	movq	%r15, %rdi
	callq	_mddev_unlock
	movq	%rbx, %r14
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

	.comm	_MaxSector,8,3                  ## @MaxSector
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MD_RECOVERY_FROZEN,4,2         ## @MD_RECOVERY_FROZEN
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MD_SB_CHANGE_CLEAN,4,2         ## @MD_SB_CHANGE_CLEAN
	.no_dead_strip	_resync_start_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resync_start_store
_resync_start_store:                    ; @resync_start_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _MaxSector@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	b	LBB0_3
LBB0_2:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #10
	bl	_kstrtoull
	tbnz	w0, #31, LBB0_12
LBB0_3:
	mov	x0, x20
	bl	_mddev_lock
	cbnz	w0, LBB0_12
; %bb.4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.5:
Lloh5:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x20, #24
	bl	_test_bit
	cbz	w0, LBB0_9
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	x9, [sp, #8]
	str	x9, [x20]
	cbz	x8, LBB0_11
; %bb.7:
Lloh8:
	adrp	x8, _MD_SB_CHANGE_CLEAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MD_SB_CHANGE_CLEAN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_set_bit
	b	LBB0_11
LBB0_8:
	ldr	x8, [sp, #8]
	str	x8, [x20]
	b	LBB0_11
LBB0_9:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.10:
	neg	w19, w8
LBB0_11:
	mov	x0, x20
	bl	_mddev_unlock
	mov	x0, x19
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

	.comm	_MaxSector,8,3                  ; @MaxSector
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MD_RECOVERY_FROZEN,4,2         ; @MD_RECOVERY_FROZEN
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MD_SB_CHANGE_CLEAN,4,2         ; @MD_SB_CHANGE_CLEAN
	.no_dead_strip	_resync_start_store
.subsections_via_symbols
