	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_lev_start_alloc          ## -- Begin function cache_lev_start_alloc
	.p2align	4, 0x90
_cache_lev_start_alloc:                 ## @cache_lev_start_alloc
	.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
	movl	%edi, -12(%rbp)
	movl	$28, (%rsi)
	movl	$28, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	_LEV_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_CACHE_SCHEMA_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	$4, (%rbx)
	movq	_log_split_mod@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_log_split_min@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, 16(%rbx)
	leaq	1(%rdx), %rcx
	movq	%rcx, 24(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	jle	LBB0_4
## %bb.1:
	testq	%rdx, %rdx
	js	LBB0_4
## %bb.2:
	cmpq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setge	%dil
LBB0_4:
	callq	_assert
	movl	32(%rbx), %edi
	leaq	-12(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_START,4,2                  ## @LEV_START
	.comm	_CACHE_SCHEMA_V1,4,2            ## @CACHE_SCHEMA_V1
	.comm	_log_split_mod,8,3              ## @log_split_mod
	.comm	_log_split_min,8,3              ## @log_split_min
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_lev_start_alloc          ; -- Begin function cache_lev_start_alloc
	.p2align	2
_cache_lev_start_alloc:                 ; @cache_lev_start_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	w0, [sp, #12]
	mov	w8, #28
	str	w8, [x1]
	mov	w0, #28
	mov	w1, #1
	bl	_calloc
	mov	x19, x0
Lloh0:
	adrp	x8, _LEV_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_START@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CACHE_SCHEMA_V1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CACHE_SCHEMA_V1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #36]
	mov	w8, #4
	str	w8, [x0]
Lloh6:
	adrp	x8, _log_split_mod@GOTPAGE
Lloh7:
	ldr	x8, [x8, _log_split_mod@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _log_split_min@GOTPAGE
Lloh10:
	ldr	x9, [x9, _log_split_min@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x9]
	stp	x8, x10, [x0, #8]
	add	x9, x10, #1
	str	x9, [x0, #24]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w0, #0
	tbnz	x10, #63, LBB0_5
; %bb.2:
	cmp	x9, x9
	b.ne	LBB0_5
; %bb.3:
	cmp	x8, x9
	cset	w0, ge
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
	ldr	w0, [x19, #32]
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_START,4,2                  ; @LEV_START
	.comm	_CACHE_SCHEMA_V1,4,2            ; @CACHE_SCHEMA_V1
	.comm	_log_split_mod,8,3              ; @log_split_mod
	.comm	_log_split_min,8,3              ; @log_split_min
.subsections_via_symbols
