	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __shadow_block
___shadow_block:                        ## @__shadow_block
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	leaq	-44(%rbp), %rsi
	callq	_dm_sm_new_block
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movl	4(%r12), %edi
	movl	%r13d, %esi
	callq	_dm_sm_dec_block
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movl	(%r12), %edi
	leaq	-56(%rbp), %rcx
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_dm_bm_read_lock
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	(%r12), %edi
	movl	-44(%rbp), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_dm_bm_write_lock_zero
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	callq	_dm_block_data
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi
	callq	_dm_block_data
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_dm_bm_block_size
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
LBB0_5:
	movq	-56(%rbp), %rdi
	callq	_dm_bm_unlock
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___shadow_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __shadow_block
___shadow_block:                        ; @__shadow_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	add	x1, sp, #12
	bl	_dm_sm_new_block
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w0, [x19, #4]
	mov	x1, x23
	bl	_dm_sm_dec_block
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w0, [x19]
	mov	x3, sp
	mov	x1, x23
	mov	x2, x21
	bl	_dm_bm_read_lock
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [sp, #12]
	mov	x2, x21
	mov	x3, x20
	bl	_dm_bm_write_lock_zero
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x20]
	bl	_dm_block_data
	mov	x20, x0
	ldr	x0, [sp]
	bl	_dm_block_data
	mov	x21, x0
	ldr	w0, [x19]
	bl	_dm_bm_block_size
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
LBB0_5:
	ldr	x0, [sp]
	bl	_dm_bm_unlock
	b	LBB0_7
LBB0_6:
	mov	x22, x0
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___shadow_block
.subsections_via_symbols
