	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_word_frequency             ## -- Begin function get_word_frequency
	.p2align	4, 0x90
_get_word_frequency:                    ## @get_word_frequency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_idx_words@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%eax, %eax
	testl	%r10d, %r10d
	jle	LBB0_9
## %bb.1:
	movq	_IndexWords@GOTPCREL(%rip), %r8
	movq	(%r8), %r9
	movl	$-1, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %esi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %ecx
	subl	%esi, %ecx
	cmpl	$1, %ecx
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%rsi), %ecx
	sarl	%ecx
	movslq	%ecx, %rdx
	shlq	$4, %rdx
	cmpq	%rdi, (%r9,%rdx)
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %r10d
	jmp	LBB0_5
LBB0_6:
	testl	%esi, %esi
	js	LBB0_9
## %bb.7:
	movq	(%r8), %rcx
	movl	%esi, %edx
	shlq	$4, %rdx
	cmpq	%rdi, (%rcx,%rdx)
	jne	LBB0_9
## %bb.8:
	movl	8(%rcx,%rdx), %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_words,4,2                  ## @idx_words
	.comm	_IndexWords,8,3                 ## @IndexWords
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_word_frequency             ; -- Begin function get_word_frequency
	.p2align	2
_get_word_frequency:                    ; @get_word_frequency
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _idx_words@GOTPAGE
Lloh1:
	ldr	x8, [x8, _idx_words@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x10, _IndexWords@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IndexWords@GOTPAGEOFF]
	ldr	x11, [x10]
	mov	w8, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w9, w8
	asr	w12, w12, #1
	sbfiz	x13, x12, #4, #32
	ldr	x13, [x11, x13]
	cmp	x13, x0
	csel	w8, w8, w12, gt
	csel	w9, w12, w9, gt
	sub	w12, w9, w8
	cmp	w12, #1
	b.gt	LBB0_2
; %bb.3:
	tbnz	w8, #31, LBB0_6
; %bb.4:
	ldr	x9, [x10]
	lsl	x10, x8, #4
	ldr	x10, [x9, x10]
	cmp	x10, x0
	b.ne	LBB0_6
; %bb.5:
	add	x8, x9, x8, lsl #4
	ldr	w0, [x8, #8]
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_words,4,2                  ; @idx_words
	.comm	_IndexWords,8,3                 ; @IndexWords
.subsections_via_symbols
