	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_le_start                 ## -- Begin function cache_le_start
	.p2align	4, 0x90
_cache_le_start:                        ## @cache_le_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_CACHE_SCHEMA_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	cmpl	$3, 8(%rdi)
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_kprintf
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_5:
	movq	16(%rbx), %rax
	movq	_log_split_min@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	24(%rbx), %rdi
	movq	_log_split_max@GOTPCREL(%rip), %rdx
	movq	%rdi, (%rdx)
	movq	32(%rbx), %rdx
	movq	_log_split_mod@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	testq	%rdx, %rdx
	setg	%sil
	testq	%rax, %rax
	setns	%cl
	andb	%sil, %cl
	incq	%rax
	cmpq	%rdi, %rax
	sete	%al
	andb	%cl, %al
	cmpq	%rdx, %rdi
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	40(%rbx), %esi
	movq	_cache_id@GOTPCREL(%rip), %rdi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_SCHEMA_V1,8,3            ## @CACHE_SCHEMA_V1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LEV_START schema_id isn't to CACHE_SCHEMA_V1.\n"

L_.str.1:                               ## @.str.1
	.asciz	"LEV_START extra_bytes isn't equal to 4.\n"

	.comm	_log_split_min,8,3              ## @log_split_min
	.comm	_log_split_max,8,3              ## @log_split_max
	.comm	_log_split_mod,8,3              ## @log_split_mod
	.comm	_cache_id,4,2                   ## @cache_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_le_start                 ; -- Begin function cache_le_start
	.p2align	2
_cache_le_start:                        ; @cache_le_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CACHE_SCHEMA_V1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CACHE_SCHEMA_V1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #3
	b.gt	LBB0_5
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_kprintf
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _log_split_min@GOTPAGE
Lloh8:
	ldr	x8, [x8, _log_split_min@GOTPAGEOFF]
	ldp	x9, x10, [x19, #16]
Lloh9:
	adrp	x11, _log_split_max@GOTPAGE
Lloh10:
	ldr	x11, [x11, _log_split_max@GOTPAGEOFF]
Lloh11:
	str	x9, [x8]
Lloh12:
	str	x10, [x11]
	ldr	x8, [x19, #32]
Lloh13:
	adrp	x11, _log_split_mod@GOTPAGE
Lloh14:
	ldr	x11, [x11, _log_split_mod@GOTPAGEOFF]
Lloh15:
	str	x8, [x11]
	cmp	x8, #0
	ccmp	x9, #0, #8, gt
	add	x9, x9, #1
	ccmp	x9, x10, #0, ge
	ccmp	x10, x8, #0, eq
	cset	w0, le
	bl	_assert
	ldr	w1, [x19, #40]
Lloh16:
	adrp	x0, _cache_id@GOTPAGE
Lloh17:
	ldr	x0, [x0, _cache_id@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_SCHEMA_V1,8,3            ; @CACHE_SCHEMA_V1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LEV_START schema_id isn't to CACHE_SCHEMA_V1.\n"

l_.str.1:                               ; @.str.1
	.asciz	"LEV_START extra_bytes isn't equal to 4.\n"

	.comm	_log_split_min,8,3              ; @log_split_min
	.comm	_log_split_max,8,3              ; @log_split_max
	.comm	_log_split_mod,8,3              ; @log_split_mod
	.comm	_cache_id,4,2                   ; @cache_id
.subsections_via_symbols
