	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_words
_count_words:                           ## @count_words
	.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
	movq	_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testq	%r8, %r8
	je	LBB0_1
## %bb.2:
	cmpl	$2, %r8d
	jl	LBB0_3
## %bb.4:
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%r8d, %eax
	movq	(%rdx), %rbx
	decq	%r8
	cmpl	$2, %eax
	jne	LBB0_6
## %bb.5:
	movl	$1, %r14d
	xorl	%ecx, %ecx
	movl	$1, %edi
	xorl	%esi, %esi
LBB0_14:
	testb	$1, %r8b
	je	LBB0_18
## %bb.15:
	cmpq	(%rdx,%rdi,8), %rbx
	jne	LBB0_16
## %bb.17:
	incl	%esi
	jmp	LBB0_18
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_3:
	xorl	%esi, %esi
	movl	$1, %r14d
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_6:
	movq	%r8, %r9
	andq	$-2, %r9
	negq	%r9
	movl	$1, %r14d
	xorl	%ecx, %ecx
	movl	$1, %edi
	xorl	%esi, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%esi
	movq	%rax, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r9,%rdi), %rax
	addq	$2, %rax
	addq	$2, %rdi
	cmpq	$1, %rax
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	cmpq	%rax, %rbx
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%esi
	movq	%rbx, %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1, %esi
	adcl	$0, %ecx
	incl	%r14d
	xorl	%esi, %esi
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rdx,%rdi,8), %rbx
	cmpq	%rbx, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1, %esi
	adcl	$0, %ecx
	incl	%r14d
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_16:
	cmpl	$1, %esi
	adcl	$0, %ecx
	incl	%r14d
	xorl	%esi, %esi
LBB0_18:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_20
## %bb.19:
	cmpl	$1, %esi
	adcl	$0, %ecx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_fprintf
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PC,4,2                         ## @PC
	.comm	_P,8,3                          ## @P
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d distinct words, %d hapax legomena\n"

	.no_dead_strip	_count_words
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_words
_count_words:                           ; @count_words
	.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
Lloh0:
	adrp	x8, _PC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PC@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x8]
	cbz	w12, LBB0_4
; %bb.1:
	cmp	w12, #2
	b.lt	LBB0_5
; %bb.2:
	mov	w8, #0
	mov	w9, #0
Lloh3:
	adrp	x10, _P@GOTPAGE
Lloh4:
	ldr	x10, [x10, _P@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x11, [x10], #8
	sub	x12, x12, #1
	mov	w19, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #0
	ldr	x13, [x10], #8
	cinc	w14, w8, eq
	cmp	x11, x13
	csel	x11, x11, x13, eq
	cinc	w19, w19, ne
	csinc	w9, wzr, w9, ne
	csel	w8, w8, w14, eq
	subs	x12, x12, #1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w19, #0
	b	LBB0_8
LBB0_5:
	mov	w9, #0
	mov	w8, #0
	mov	w19, #1
LBB0_6:
Lloh6:
	adrp	x10, _verbosity@GOTPAGE
Lloh7:
	ldr	x10, [x10, _verbosity@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x10, #1
	b.lt	LBB0_8
; %bb.7:
	cmp	w9, #0
	cinc	w3, w8, eq
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PC,4,2                         ; @PC
	.comm	_P,8,3                          ; @P
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d distinct words, %d hapax legomena\n"

	.no_dead_strip	_count_words
.subsections_via_symbols
