	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_prepared_discard_passdown_pt2
_process_prepared_discard_passdown_pt2: ## @process_prepared_discard_passdown_pt2
	.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	%rdi, %rbx
	movq	24(%rdi), %rsi
	movq	32(%rdi), %r15
	movq	(%r15), %r14
	movl	4(%r14), %edi
	movq	16(%rbx), %rdx
	addq	%rsi, %rdx
	subq	8(%rbx), %rdx
	callq	_dm_pool_dec_data_range
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_metadata_operation_failed
	movl	4(%rbx), %edi
	callq	_bio_io_error
	jmp	LBB0_3
LBB0_2:
	movl	4(%rbx), %edi
	callq	_bio_endio
LBB0_3:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_cell_defer_no_holder
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mempool_free                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dm_pool_dec_data_range"

	.no_dead_strip	_process_prepared_discard_passdown_pt2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_prepared_discard_passdown_pt2
_process_prepared_discard_passdown_pt2: ; @process_prepared_discard_passdown_pt2
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	x1, x20, [x0, #24]
	ldr	x21, [x20]
	ldr	w0, [x21, #4]
	ldp	x9, x8, [x19, #8]
	add	x8, x8, x1
	sub	x2, x8, x9
	bl	_dm_pool_dec_data_range
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_metadata_operation_failed
	ldr	w0, [x19, #4]
	bl	_bio_io_error
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_bio_endio
LBB0_3:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_cell_defer_no_holder
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mempool_free
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dm_pool_dec_data_range"

	.no_dead_strip	_process_prepared_discard_passdown_pt2
.subsections_via_symbols
