	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __load_mapping_v1
___load_mapping_v1:                     ## @__load_mapping_v1
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)
	leaq	-96(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_dm_array_cursor_get_value
	movq	-96(%rbp), %rsi
	leaq	-60(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-60(%rbp), %edi
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_unpack_value
	movl	-44(%rbp), %eax
	movq	_M_VALID@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r12d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.2:
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dm_array_cursor_get_value
	movq	-88(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-44(%rbp), %eax
LBB0_3:
	movq	_M_DIRTY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx)
	movl	$1, %ebx
	cmovnel	%eax, %ebx
	movl	-56(%rbp), %r14d
	movl	%r12d, %edi
	callq	_to_cblock
	movl	%eax, %r13d
	movl	-48(%rbp), %edi
	callq	_le32_to_cpu
	movq	16(%rbp), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_to_cblock
	movl	%eax, %edi
	callq	_from_cblock
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_DMERR
	movl	%ebx, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_VALID,4,2                    ## @M_VALID
	.comm	_M_DIRTY,4,2                    ## @M_DIRTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"policy couldn't load cache block %llu"

	.no_dead_strip	___load_mapping_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __load_mapping_v1
___load_mapping_v1:                     ; @__load_mapping_v1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x6
	mov	x20, x5
	mov	x24, x4
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	str	wzr, [sp, #24]
	add	x1, sp, #16
	mov	x0, x3
	bl	_dm_array_cursor_get_value
	ldr	x1, [sp, #16]
	add	x0, sp, #28
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [sp, #28]
	add	x1, sp, #4
	mov	x2, sp
	bl	_unpack_value
	ldr	w8, [sp]
Lloh0:
	adrp	x9, _M_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	x0, x24
	bl	_dm_array_cursor_get_value
	ldr	x1, [sp, #8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [sp]
LBB0_3:
Lloh3:
	adrp	x9, _M_DIRTY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _M_DIRTY@GOTPAGEOFF]
	ldr	x10, [x23]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	x10, #0
	csinc	w23, w8, wzr, ne
	ldr	w24, [sp, #4]
	mov	x0, x19
	bl	_to_cblock
	mov	x25, x0
	ldr	w0, [sp, #24]
	bl	_le32_to_cpu
	mov	x4, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	mov	x3, x23
	mov	x5, x21
	blr	x20
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_to_cblock
	bl	_from_cblock
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_M_VALID,4,2                    ; @M_VALID
	.comm	_M_DIRTY,4,2                    ; @M_DIRTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"policy couldn't load cache block %llu"

	.no_dead_strip	___load_mapping_v1
.subsections_via_symbols
