	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_rh_mark_nosync              ## -- Begin function dm_rh_mark_nosync
	.p2align	4, 0x90
_dm_rh_mark_nosync:                     ## @dm_rh_mark_nosync
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rdi), %r15
	callq	_dm_rh_bio_to_region
	movl	%eax, %r14d
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	$1, (%r12)
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_bio_op
	movq	_REQ_OP_DISCARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	*(%rax)
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_read_lock
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	___rh_find
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_read_unlock
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_BUG_ON
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	(%r14), %r15
	movq	_DM_RH_RECOVERING@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_DM_RH_NOSYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	cmpq	%r13, %r15
	jne	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete_resync_work           ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_REQ_OP_DISCARD,8,3             ## @REQ_OP_DISCARD
	.comm	_DM_RH_RECOVERING,8,3           ## @DM_RH_RECOVERING
	.comm	_DM_RH_NOSYNC,8,3               ## @DM_RH_NOSYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_rh_mark_nosync              ; -- Begin function dm_rh_mark_nosync
	.p2align	2
_dm_rh_mark_nosync:                     ; @dm_rh_mark_nosync
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	bl	_dm_rh_bio_to_region
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _REQ_PREFLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	mov	x0, x22
	bl	_bio_op
Lloh3:
	adrp	x8, _REQ_OP_DISCARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REQ_OP_DISCARD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	blr	x8
	add	x21, x19, #8
	mov	x0, x21
	bl	_read_lock
	mov	x0, x19
	mov	x1, x20
	bl	___rh_find
	mov	x20, x0
	mov	x0, x21
	bl	_read_unlock
	cmp	x20, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x21, x20, #8
	mov	x0, x21
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x19, x19, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh6:
	adrp	x8, _DM_RH_RECOVERING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_RH_RECOVERING@GOTPAGEOFF]
	ldr	x22, [x20]
Lloh8:
	ldr	x23, [x8]
Lloh9:
	adrp	x8, _DM_RH_NOSYNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DM_RH_NOSYNC@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x21
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	cmp	x22, x23
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_complete_resync_work
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	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	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_REQ_OP_DISCARD,8,3             ; @REQ_OP_DISCARD
	.comm	_DM_RH_RECOVERING,8,3           ; @DM_RH_RECOVERING
	.comm	_DM_RH_NOSYNC,8,3               ; @DM_RH_NOSYNC
.subsections_via_symbols
