	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_freq                       ## -- Begin function add_freq
	.p2align	4, 0x90
_add_freq:                              ## @add_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rdi,%rcx,4)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
LBB0_4:
	cltq
	movl	%edx, (%rdi,%rax,4)
	incl	(%rsi)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_freq                       ; -- Begin function add_freq
	.p2align	2
_add_freq:                              ; @add_freq
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x9, x8
	mov	x10, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w11, w2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #4
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	str	w2, [x0, w8, sxtw #2]
	ldr	w8, [x1]
	add	w8, w8, #1
	str	w8, [x1]
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
