	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_mp_read                  ## -- Begin function cache_mp_read
	.p2align	4, 0x90
_cache_mp_read:                         ## @cache_mp_read
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	_cache_mp_read(%rip), %rdi
	callq	_TRACE_IN
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	movq	%rcx, (%r15)
	jbe	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	sete	%bl
	leaq	_cache_mp_read(%rip), %rdi
	callq	_TRACE_OUT
	leal	(%rbx,%rbx), %eax
	addl	$-2, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	_cache_mp_read(%rip), %rdi
	callq	_TRACE_OUT
	movl	$-1, %eax
	jmp	LBB0_5
LBB0_4:
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%rbx), %rdi
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TAILQ_NEXT
	movq	%rax, (%rbx)
	leaq	_cache_mp_read(%rip), %rdi
	callq	_TRACE_OUT
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_mp_read                  ; -- Begin function cache_mp_read
	.p2align	2
_cache_mp_read:                         ; @cache_mp_read
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _cache_mp_read@PAGE
Lloh1:
	add	x0, x0, _cache_mp_read@PAGEOFF
	bl	_TRACE_IN
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	ldr	x10, [x21]
	str	x9, [x21]
	cmp	x9, x10
	b.ls	LBB0_4
; %bb.2:
Lloh2:
	adrp	x0, _cache_mp_read@PAGE
Lloh3:
	add	x0, x0, _cache_mp_read@PAGEOFF
	bl	_TRACE_OUT
	cmp	x20, #0
	mov	w8, #-2
	csel	w0, wzr, w8, eq
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x0, _cache_mp_read@PAGE
Lloh5:
	add	x0, x0, _cache_mp_read@PAGEOFF
	bl	_TRACE_OUT
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	mov	x0, x20
	bl	_memcpy
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _entries@GOTPAGE
Lloh7:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_TAILQ_NEXT
	str	x0, [x19]
Lloh9:
	adrp	x0, _cache_mp_read@PAGE
Lloh10:
	add	x0, x0, _cache_mp_read@PAGEOFF
	bl	_TRACE_OUT
	mov	w0, #0
LBB0_5:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
.subsections_via_symbols
