	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __load_mapping_v2
___load_mapping_v2:                     ## @__load_mapping_v2
	.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, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	$0, -44(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_dm_array_cursor_get_value
	movq	-88(%rbp), %rsi
	leaq	-60(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-60(%rbp), %edi
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_unpack_value
	movq	_M_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, -52(%rbp)
	je	LBB0_8
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_dm_array_cursor_get_value
	movq	-80(%rbp), %rsi
	leaq	-44(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_3:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_dm_bitset_cursor_get_value
	movl	%eax, %r13d
	jmp	LBB0_6
LBB0_4:
	movl	$1, %r13d
LBB0_6:
	movl	-56(%rbp), %ebx
	movl	%r15d, %edi
	callq	_to_cblock
	movl	%eax, %r12d
	movl	-44(%rbp), %edi
	callq	_le32_to_cpu
	movq	24(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	*16(%rbp)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_to_cblock
	movl	%eax, %edi
	callq	_from_cblock
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_DMERR
	movl	%ebx, %r14d
LBB0_8:
	movl	%r14d, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"policy couldn't load cache block %llu"

	.no_dead_strip	___load_mapping_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __load_mapping_v2
___load_mapping_v2:                     ; @__load_mapping_v2
	.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, x7
	mov	x20, x6
	mov	x23, x5
	mov	x25, x4
	mov	x21, x2
	mov	x19, x1
	mov	x24, 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, x25
	bl	_dm_array_cursor_get_value
	ldr	x1, [sp, #8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
LBB0_3:
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x23
	bl	_dm_bitset_cursor_get_value
	mov	x23, x0
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	b	LBB0_9
LBB0_6:
	mov	w23, #1
LBB0_7:
	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_9
; %bb.8:
	mov	x0, x19
	bl	_to_cblock
	bl	_from_cblock
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
LBB0_9:
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_VALID,4,2                    ; @M_VALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"policy couldn't load cache block %llu"

	.no_dead_strip	___load_mapping_v2
.subsections_via_symbols
