	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function freq_to_start
_freq_to_start:                         ## @freq_to_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_10
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %rbx
	cmpl	%edx, (%rdi)
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	movb	$1, %al
	testl	%edx, %edx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_3:
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, %esi
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %eax
	incl	%edx
	cmpl	%r14d, (%rbx,%rax,4)
	jne	LBB0_5
## %bb.6:
	decl	%edx
	cmpl	%esi, %edx
	setb	%al
	testl	%edx, %edx
	je	LBB0_10
LBB0_8:
	testb	%al, %al
	je	LBB0_10
## %bb.9:
	leaq	4(%rbx), %rdi
	shll	$2, %edx
	movq	%rbx, %rsi
	callq	_os_memmove
	movl	%r14d, (%rbx)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_freq_to_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function freq_to_start
_freq_to_start:                         ; @freq_to_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
	cbz	w1, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #0
	mov	w9, #1
	cbnz	w8, LBB0_7
	b	LBB0_9
LBB0_3:
	mov	w8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w1, w8
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, w8, uxtw #2]
	add	w8, w8, #1
	cmp	w9, w19
	b.ne	LBB0_4
; %bb.6:
	sub	w8, w8, #1
	cmp	w8, w1
	cset	w9, lo
	cbz	w8, LBB0_9
LBB0_7:
	cbz	w9, LBB0_9
; %bb.8:
	add	x0, x20, #4
	lsl	w2, w8, #2
	mov	x1, x20
	bl	_os_memmove
	str	w19, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_freq_to_start
.subsections_via_symbols
