	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function min_sync_store
_min_sync_store:                        ## @min_sync_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdx
	movq	%rsi, %rdi
	movl	$10, %esi
	callq	_kstrtoull
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_8
LBB0_2:
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	-40(%rbp), %rax
	cmpq	(%r14), %rax
	jbe	LBB0_6
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_4
LBB0_6:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MD_RECOVERY_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%r15, %rdi
	callq	_spin_unlock
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.5:
	negl	%r12d
	movslq	%r12d, %rbx
	jmp	LBB0_8
LBB0_7:
	movq	-40(%rbp), %rdi
	movl	$8, %esi
	callq	_round_down
	movl	%eax, 12(%r14)
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MD_RECOVERY_RUNNING,4,2        ## @MD_RECOVERY_RUNNING
	.no_dead_strip	_min_sync_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function min_sync_store
_min_sync_store:                        ; @min_sync_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, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	w1, #10
	bl	_kstrtoull
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_8
LBB0_2:
	add	x20, x21, #8
	mov	x0, x20
	bl	_spin_lock
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ls	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _MD_RECOVERY_RUNNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MD_RECOVERY_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_spin_unlock
	cbz	w22, LBB0_8
; %bb.6:
	neg	w8, w22
	sxtw	x19, w8
	b	LBB0_8
LBB0_7:
	ldr	x0, [sp, #8]
	mov	w1, #8
	bl	_round_down
	str	w0, [x21, #12]
	mov	x0, x20
	bl	_spin_unlock
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MD_RECOVERY_RUNNING,4,2        ; @MD_RECOVERY_RUNNING
	.no_dead_strip	_min_sync_store
.subsections_via_symbols
