	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smq_load_mapping
_smq_load_mapping:                      ## @smq_load_mapping
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r13d
	callq	_to_smq_policy
	movq	%rax, %r14
	movl	%r12d, %edi
	callq	_from_cblock
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_alloc_particular_entry
	movq	%rax, %rbx
	movl	%r13d, 12(%rax)
	movl	%r15d, (%rax)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movq	_NR_CACHE_LEVELS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_min
	jmp	LBB0_3
LBB0_2:
	movl	%r12d, %edi
	callq	_random_level
LBB0_3:
	movl	%eax, 8(%rbx)
	movl	$0, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_push_front
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_CACHE_LEVELS,8,3            ## @NR_CACHE_LEVELS
	.no_dead_strip	_smq_load_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smq_load_mapping
_smq_load_mapping:                      ; @smq_load_mapping
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x25, x1
	bl	_to_smq_policy
	mov	x19, x0
	mov	x0, x22
	bl	_from_cblock
	mov	x1, x0
	mov	x0, x19
	bl	_alloc_particular_entry
	mov	x20, x0
	str	w25, [x0, #12]
	str	w24, [x0]
	cbz	w23, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NR_CACHE_LEVELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_CACHE_LEVELS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x1, x8, #1
	mov	x0, x21
	bl	_min
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_random_level
LBB0_3:
	stp	wzr, w0, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_push_front
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_CACHE_LEVELS,8,3            ; @NR_CACHE_LEVELS
	.no_dead_strip	_smq_load_mapping
.subsections_via_symbols
