	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract_words                  ## -- Begin function extract_words
	.p2align	4, 0x90
_extract_words:                         ## @extract_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdi, %r13
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	$3, %esi
	callq	_word_hash
	movq	%rax, (%r14)
	movl	$0, 8(%r14)
	movl	$1, %r15d
	testl	%ebx, %ebx
	jne	LBB0_3
	jmp	LBB0_9
LBB0_2:
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	je	LBB0_9
LBB0_3:
	movq	16(%rbp), %rdx
	movq	%rdx, %rax
	shrq	$32, %rax
	je	LBB0_9
## %bb.4:
	testl	%edx, %edx
	je	LBB0_9
## %bb.5:
	jle	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_7:
	negl	%edx
	leaq	L_.str.2(%rip), %rdi
LBB0_8:
	movl	$1, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_make_tag
	movl	%r15d, %ecx
	shlq	$4, %rcx
	movq	%rax, (%r14,%rcx)
	movl	$0, 8(%r14,%rcx)
	incl	%r15d
LBB0_9:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r15d, %r14d
	jge	LBB0_34
## %bb.10:
	movl	$1, %r12d
	movl	$65536, %edi                    ## imm = 0x10000
	xorl	%eax, %eax
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	_extract_words.buff(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_my_lc_str
	movq	%r14, %r15
	movl	%eax, %r14d
	xorl	%edi, %edi
	cmpl	$511, %eax                      ## imm = 0x1FF
	setl	%dil
	callq	_assert
	leaq	_extract_words.buff(%rip), %rdi
	movl	%r14d, %esi
	movq	%r15, %r14
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	callq	_word_hash
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %ecx
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r14d, %r14
	movq	%r14, %rdx
	shlq	$4, %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, (%rsi,%rdx)
	movl	%ecx, 8(%rsi,%rdx)
	incl	%r14d
	movslq	%r12d, %rax
	addq	%rax, %rbx
	movl	-52(%rbp), %edx                 ## 4-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %rax
	subq	%rcx, %rax
	movq	%rbx, %r13
	movl	%edx, %r12d
	cmpl	%r15d, %r14d
	jge	LBB0_34
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	cmpb	$0, (%r13)
	je	LBB0_34
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%rax, %r13
	je	LBB0_45
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	testl	%r12d, %r12d
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	je	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rbx
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$31, (%rbx)
	jne	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$63, 1(%rbx,%r12)
	leaq	1(%r12), %r12
	ja	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, %edx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_get_word
	movl	%eax, %r12d
	xorl	%edx, %edx
	testl	%eax, %eax
	je	LBB0_32
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	leal	-1(%r12), %eax
	xorl	%edi, %edi
	cmpl	$510, %eax                      ## imm = 0x1FE
	setb	%dil
	callq	_assert
	cmpb	$31, (%rbx)
	jne	LBB0_11
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_word_hash
	xorl	%ecx, %ecx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%edi, %ebx
	movq	%r13, %rdi
	callq	_get_notword
	testl	%eax, %eax
	js	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %edi
	je	LBB0_17
## %bb.27:                              ##   in Loop: Header=BB0_14 Depth=1
	incl	%eax
	movq	%r13, %rbx
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_30 Depth=2
	movl	$1, %edi
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=2
	incq	%rbx
	decl	%eax
	cmpl	$1, %eax
	jle	LBB0_18
LBB0_30:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %ecx
	cmpb	$9, %cl
	je	LBB0_28
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	cmpb	$31, %cl
	jne	LBB0_29
	jmp	LBB0_19
LBB0_32:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_34:
	testl	%r14d, %r14d
	jle	LBB0_43
## %bb.35:
	leal	-1(%r14), %edx
	movq	%r14, %rbx
	xorl	%r14d, %r14d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_qsort_q
	movl	%ebx, %r9d
	leaq	8(%r15), %r8
	negq	%r9
	xorl	%edx, %edx
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_38 Depth=1
	subl	%ebx, %edx
LBB0_37:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%r14, %rax
	shlq	$4, %rax
	movq	%rdi, (%r15,%rax)
	movl	%esi, 8(%r15,%rax)
	incq	%r14
	movq	%r10, %rbx
	cmpl	%ebx, %edx
	jge	LBB0_44
LBB0_38:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
	movslq	%edx, %rdx
	movq	%rdx, %rax
	shlq	$4, %rax
	movl	8(%r15,%rax), %esi
	incl	%edx
	movq	(%r15,%rax), %rdi
	movq	%rbx, %r10
	cmpl	%ebx, %edx
	jge	LBB0_37
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movslq	%edx, %rcx
	leaq	(%r9,%rcx), %rax
	shlq	$4, %rcx
	addq	%r8, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, -8(%rcx)
	jne	LBB0_36
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	addl	(%rcx), %esi
	decq	%rbx
	addq	$16, %rcx
	cmpq	%rbx, %rax
	jne	LBB0_40
## %bb.42:
	movq	%r14, %rax
	shlq	$4, %rax
	movq	%rdi, (%r15,%rax)
	movl	%esi, 8(%r15,%rax)
	incq	%r14
	jmp	LBB0_44
LBB0_43:
	xorl	%r14d, %r14d
LBB0_44:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	callq	_kprintf
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_extract_words.buff,512,4 ## @extract_words.buff
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\037@@"

L_.str.1:                               ## @.str.1
	.asciz	"O"

L_.str.2:                               ## @.str.2
	.asciz	"W"

L_.str.3:                               ## @.str.3
	.asciz	"error at %.30s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract_words                  ; -- Begin function extract_words
	.p2align	2
_extract_words:                         ; @extract_words
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x6
	mov	x23, x5
	mov	x20, x4
	mov	x19, x3
	mov	x21, x0
	cbz	w2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #3
	bl	_word_hash
	str	x0, [x19]
	str	wzr, [x19, #8]
	mov	w27, #1
	cbnz	w23, LBB0_3
	b	LBB0_9
LBB0_2:
	mov	w27, #0
	cbz	w23, LBB0_9
LBB0_3:
	lsr	x8, x22, #32
	cbz	x8, LBB0_9
; %bb.4:
	cbz	w22, LBB0_9
; %bb.5:
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #1
	mov	x2, x22
	b	LBB0_8
LBB0_7:
	neg	w2, w22
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #1
LBB0_8:
	bl	_make_tag
	add	x8, x19, w27, uxtw #4
	str	x0, [x8]
	str	wzr, [x8, #8]
	add	w27, w27, #1
LBB0_9:
	cmp	w27, w20
	b.ge	LBB0_32
; %bb.10:
	mov	x8, #0
	mov	w28, #1
	mov	w26, #65536
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	mov	x22, x26
	mov	x26, x19
	mov	x19, x20
Lloh6:
	adrp	x20, _extract_words.buff@PAGE
Lloh7:
	add	x20, x20, _extract_words.buff@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_my_lc_str
	mov	x25, x0
	cmp	w0, #511
	cset	w0, lt
	bl	_assert
	mov	x0, x20
	mov	x20, x19
	mov	x19, x26
	mov	x26, x22
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x25
	bl	_word_hash
	mov	x8, x26
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x19, w27, sxtw #4
	str	x0, [x9]
	str	w8, [x9, #8]
	add	w27, w27, #1
	add	x23, x23, w24, sxtw
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x8, x21, w28, uxtw
	mov	x21, x23
	mov	x28, x22
	cmp	w27, w20
	b.ge	LBB0_32
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	ldrb	w9, [x21]
	cbz	w9, LBB0_32
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	x21, x8
	b.eq	LBB0_42
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	w28, LBB0_25
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x23, x21
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #31
	b.ne	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, #0
LBB0_20:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x23, x24
	ldrb	w8, [x8, #1]
	add	x24, x24, #1
	cmp	w8, #63
	b.hi	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w22, #1
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x23
	bl	_get_word
	mov	x24, x0
	mov	w22, #0
	cbz	w0, LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	w8, w24, #1
	cmp	w8, #510
	cset	w0, lo
	bl	_assert
	ldrb	w8, [x23]
	cmp	w8, #31
	b.ne	LBB0_11
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_word_hash
	mov	w8, #0
	b	LBB0_12
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_get_notword
	tbnz	w0, #31, LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	w0, LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w8, w0, #1
	mov	x23, x21
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	w26, #1
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	add	x23, x23, #1
	sub	w8, w8, #1
	cmp	w8, #1
	b.le	LBB0_18
LBB0_30:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x23]
	cmp	w9, #9
	b.eq	LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	cmp	w9, #31
	b.ne	LBB0_29
	b	LBB0_19
LBB0_32:
	subs	w2, w27, #1
	b.lt	LBB0_40
; %bb.33:
	mov	x0, x19
	mov	w1, #0
	bl	_qsort_q
	mov	x0, #0
	mov	w8, #0
	add	x9, x19, #8
	mov	w10, w27
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x13, x19, x0, lsl #4
	str	x12, [x13]
	str	w11, [x13, #8]
	add	x0, x0, #1
	cmp	w8, w27
	b.ge	LBB0_41
LBB0_35:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
	add	x12, x19, w8, sxtw #4
	ldr	w11, [x12, #8]
	add	w8, w8, #1
	ldr	x12, [x12]
	cmp	w8, w27
	b.ge	LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x13, x9, w8, sxtw #4
	sub	x14, x10, w8, sxtw
LBB0_37:                                ;   Parent Loop BB0_35 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x15, [x13, #-8]
	cmp	x15, x12
	b.ne	LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w15, [x13], #16
	add	w11, w15, w11
	add	w8, w8, #1
	subs	x14, x14, #1
	b.ne	LBB0_37
; %bb.39:
	add	x8, x19, x0, lsl #4
	str	x12, [x8]
	str	w11, [x8, #8]
	add	x0, x0, #1
	b	LBB0_41
LBB0_40:
	mov	w0, #0
LBB0_41:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_42:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_kprintf
	mov	w0, #2
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_extract_words.buff,512,0 ; @extract_words.buff
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\037@@"

l_.str.1:                               ; @.str.1
	.asciz	"O"

l_.str.2:                               ; @.str.2
	.asciz	"W"

l_.str.3:                               ; @.str.3
	.asciz	"error at %.30s\n"

.subsections_via_symbols
