	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_rare_words               ## -- Begin function count_rare_words
	.p2align	4, 0x90
_count_rare_words:                      ## @count_rare_words
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %r10
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%eax, %eax
LBB0_12:
	testb	$1, %r8b
	jne	LBB0_13
LBB0_16:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdi
	cmpq	%r9, %rdi
	je	LBB0_12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%r10,%rdi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edx, %edx
	cmpl	%esi, (%rcx)
	setle	%dl
	addl	%edx, %eax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%rdi,8), %rcx
	orq	$8, %rcx
	movq	(%r10,%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edx, %edx
	cmpl	%esi, (%rcx)
	setle	%dl
	addl	%edx, %eax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_13:
	movq	(%r10,%rdi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	cmpl	%esi, (%rcx)
	setle	%dl
	addl	%edx, %eax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_14
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_PRIME,4,2                      ## @PRIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_rare_words               ; -- Begin function count_rare_words
	.p2align	2
_count_rare_words:                      ; @count_rare_words
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _PRIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PRIME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, x0
	mov	x10, #0
	mov	w0, #0
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x11, [x8, x10, lsl #3]
	cbz	x11, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x11]
	cmp	w12, w1
	cinc	w0, w0, le
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_4
	b	LBB0_2
LBB0_5:
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PRIME,4,2                      ; @PRIME
.subsections_via_symbols
