	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_discard_bio
_process_discard_bio:                   ## @process_discard_bio
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	callq	_bio_region_range
	movq	-32(%rbp), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	seta	%dil
	callq	_BUG_ON
	movq	-40(%rbp), %rax
	xorl	%edi, %edi
	cmpq	-32(%rbp), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	%r14, %rdi
	callq	_bio_endio
	jmp	LBB0_6
LBB0_2:
	movl	16(%rbx), %edi
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	subq	%rsi, %rdx
	callq	_dm_clone_is_range_hydrated
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_complete_discard_bio
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_get_clone_mode
	movq	_CM_READ_ONLY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	12(%rbx), %rdi
	movq	%r14, %rsi
	callq	_bio_list_add
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_wake_worker
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_READ_ONLY,8,3               ## @CM_READ_ONLY
	.no_dead_strip	_process_discard_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_discard_bio
_process_discard_bio:                   ; @process_discard_bio
	.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	x20, x1
	mov	x19, x0
	add	x2, sp, #8
	mov	x3, sp
	bl	_bio_region_range
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, hi
	bl	_BUG_ON
	ldp	x9, x8, [sp]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x20
	bl	_bio_endio
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #16]
	ldp	x8, x1, [sp]
	sub	x2, x8, x1
	bl	_dm_clone_is_range_hydrated
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_complete_discard_bio
LBB0_4:
	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
LBB0_5:
	mov	x0, x19
	bl	_get_clone_mode
Lloh0:
	adrp	x8, _CM_READ_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_READ_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ge
	bl	_unlikely
	cbnz	x0, LBB0_1
; %bb.6:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x0, x19, #12
	mov	x1, x20
	bl	_bio_list_add
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_wake_worker
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_READ_ONLY,8,3               ; @CM_READ_ONLY
	.no_dead_strip	_process_discard_bio
.subsections_via_symbols
