	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __md_stop_writes
___md_stop_writes:                      ## @__md_stop_writes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	28(%rbx), %r14
	movq	%r14, %rsi
	callq	_set_bit
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_md_reap_sync_thread
LBB0_2:
	leaq	24(%rbx), %rdi
	callq	_del_timer_sync
	movq	%rbx, %rdi
	callq	_bitmap_flush
	movq	%rbx, %rdi
	callq	_md_super_wait
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
LBB0_6:
	movl	$1, 8(%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_md_update_sb                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MD_RECOVERY_FROZEN,4,2         ## @MD_RECOVERY_FROZEN
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.no_dead_strip	___md_stop_writes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __md_stop_writes
___md_stop_writes:                      ; @__md_stop_writes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #28
	mov	x1, x20
	bl	_set_bit
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x19
	bl	_md_reap_sync_thread
LBB0_2:
	add	x0, x19, #24
	bl	_del_timer_sync
	mov	x0, x19
	bl	_bitmap_flush
	mov	x0, x19
	bl	_md_super_wait
	ldr	x8, [x19]
	cbz	x8, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #8]
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_md_update_sb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MD_RECOVERY_FROZEN,4,2         ; @MD_RECOVERY_FROZEN
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.no_dead_strip	___md_stop_writes
.subsections_via_symbols
