	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_prepared_mapping
_process_prepared_mapping:              ## @process_prepared_mapping
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	movq	40(%rdi), %r12
	movq	8(%r12), %r14
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %eax
	movl	%eax, (%r15)
LBB0_2:
	cmpq	$0, 16(%rbx)
	jne	LBB0_3
## %bb.4:
	movl	(%r12), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_dm_thin_insert_block
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_metadata_operation_failed
LBB0_3:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_cell_error
LBB0_9:
	movq	%rbx, %rdi
	callq	_list_del
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mempool_free                   ## TAILCALL
LBB0_6:
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	callq	_cell_defer_no_holder
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bio_endio
	jmp	LBB0_9
LBB0_8:
	callq	_cell_defer
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dm_thin_insert_block"

	.no_dead_strip	_process_prepared_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_prepared_mapping
_process_prepared_mapping:              ; @process_prepared_mapping
	.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	x21, x22, [x0, #32]
	ldr	x20, [x22, #8]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	w8, [x19, #24]
	str	w8, [x21]
LBB0_2:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	w0, [x22]
	ldp	w2, w1, [x19, #8]
	bl	_dm_thin_insert_block
	cbz	w0, LBB0_7
; %bb.4:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_metadata_operation_failed
LBB0_5:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_cell_error
LBB0_6:
	mov	x0, x19
	bl	_list_del
	ldr	w1, [x20]
	mov	x0, x19
	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
LBB0_7:
	ldr	w1, [x19, #4]
	mov	x0, x22
	cbz	x21, LBB0_9
; %bb.8:
	bl	_cell_defer_no_holder
	mov	x0, x21
	mov	w1, #0
	bl	_bio_endio
	b	LBB0_6
LBB0_9:
	bl	_cell_defer
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dm_thin_insert_block"

	.no_dead_strip	_process_prepared_mapping
.subsections_via_symbols
