	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_new_word_directory        ## -- Begin function init_new_word_directory
	.p2align	4, 0x90
_init_new_word_directory:               ## @init_new_word_directory
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HASH_BUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	movl	$0, %r13d
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	movq	_Hash@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_HASH_BUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r12), %rcx
	movq	(%rcx,%r14,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	incl	%r13d
	xorl	%edi, %edi
	cmpl	$536870910, %r13d               ## imm = 0x1FFFFFFE
	setb	%dil
	callq	_assert
	jmp	LBB0_5
LBB0_8:
	movq	_new_idx_words@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_idx_words@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	leal	4(,%r13,4), %edi
	movq	_new_worddir_size@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	callq	_malloc
	movq	_NewWordDir@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_HASH_BUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.9:
	movq	_INFTY@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_HASH_BUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_18
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	_Hash@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	4(%rbx), %eax
	movq	_NewWordDir@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r15d, %r15
	movl	%eax, (%rcx,%r15,8)
	movl	(%rbx), %eax
	movl	%eax, 4(%rcx,%r15,8)
	incl	%r15d
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rbx)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%eax, %eax
	callq	_clear_tmp_word_data
	movl	4(%rbx), %edi
	callq	_get_idx_word_list_len
	cmpl	8(%rbx), %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%edi, %edi
	callq	_dyn_mark
	movl	4(%rbx), %edi
	callq	_build_word_iterator
	movl	(%rax), %r13d
	xorl	%edi, %edi
	callq	_dyn_release
	cmpl	(%r12), %r13d
	jne	LBB0_14
	jmp	LBB0_15
LBB0_18:
	xorl	%edi, %edi
	movq	_new_idx_words@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r15d
	setle	%dil
	callq	_assert
	movq	_idx_words@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.19:
	xorl	%ebx, %ebx
	movq	_idx_worddir@GOTPCREL(%rip), %r12
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_NewWordDir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %r15
	movl	%r14d, (%rax,%r15,8)
	movl	$0, 4(%rax,%r15,8)
	incl	%r15d
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	movq	_idx_words@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_24
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %r14d
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_get_hash_node
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$0, (%rax)
	jne	LBB0_23
	jmp	LBB0_22
LBB0_24:
	addl	(%r13), %eax
	xorl	%edi, %edi
	cmpl	%eax, %r15d
	setle	%dil
	callq	_assert
	movl	%r15d, (%r13)
	movq	_NewWordDir@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movslq	%r15d, %rsi
	movq	$-1, (%rdi,%rsi,8)
	movl	(%r13), %eax
	leal	4(,%rax,4), %eax
	movq	_new_worddir_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	decl	%esi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sort_word_dictionary           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_BUCKETS,4,2               ## @HASH_BUCKETS
	.comm	_Hash,8,3                       ## @Hash
	.comm	_new_idx_words,4,2              ## @new_idx_words
	.comm	_idx_words,4,2                  ## @idx_words
	.comm	_new_worddir_size,4,2           ## @new_worddir_size
	.comm	_NewWordDir,8,3                 ## @NewWordDir
	.comm	_INFTY,4,2                      ## @INFTY
	.comm	_idx_worddir,8,3                ## @idx_worddir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_new_word_directory        ; -- Begin function init_new_word_directory
	.p2align	2
_init_new_word_directory:               ; @init_new_word_directory
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x19, _HASH_BUCKETS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _HASH_BUCKETS@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x22, _Hash@GOTPAGE
Lloh3:
	ldr	x22, [x22, _Hash@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, #0
	mov	w21, #0
	mov	w23, #536870910
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x9, [x22]
	ldr	x24, [x9, x20, lsl #3]
	cbnz	x24, LBB0_6
	b	LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x24, [x24, #16]
	cbz	x24, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	w21, w21, #1
	cmp	w21, w23
	cset	w0, lo
	bl	_assert
	b	LBB0_5
LBB0_8:
	mov	w21, #0
LBB0_9:
Lloh4:
	adrp	x20, _new_idx_words@GOTPAGE
Lloh5:
	ldr	x20, [x20, _new_idx_words@GOTPAGEOFF]
	str	w21, [x20]
Lloh6:
	adrp	x25, _idx_words@GOTPAGE
Lloh7:
	ldr	x25, [x25, _idx_words@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w8, w8, w21
	lsl	w8, w8, #2
	add	w0, w8, #4
Lloh8:
	adrp	x8, _new_worddir_size@GOTPAGE
Lloh9:
	ldr	x8, [x8, _new_worddir_size@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	bl	_malloc
Lloh11:
	adrp	x23, _NewWordDir@GOTPAGE
Lloh12:
	ldr	x23, [x23, _NewWordDir@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.10:
	mov	x26, #0
	mov	w24, #0
Lloh13:
	adrp	x27, _INFTY@GOTPAGE
Lloh14:
	ldr	x27, [x27, _INFTY@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_20
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x9, [x22]
	ldr	x28, [x9, x26, lsl #3]
	cbnz	x28, LBB0_16
	b	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	ldr	d0, [x28]
	rev64.2s	v0, v0
	str	d0, [x8, w24, sxtw #3]
	add	w24, w24, #1
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x28, [x28, #16]
	cbz	x28, LBB0_11
LBB0_16:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x28]
	cbz	w8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	bl	_clear_tmp_word_data
	ldr	w0, [x28, #4]
	bl	_get_idx_word_list_len
	ldr	w8, [x28, #8]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	w0, #0
	bl	_dyn_mark
	ldr	w0, [x28, #4]
	bl	_build_word_iterator
	ldr	w21, [x0]
	mov	w0, #0
	bl	_dyn_release
	ldr	w8, [x27]
	cmp	w21, w8
	b.ne	LBB0_14
	b	LBB0_15
LBB0_19:
	mov	w24, #0
LBB0_20:
	ldr	w8, [x20]
	cmp	w24, w8
	cset	w0, le
	bl	_assert
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.21:
	mov	x22, #0
Lloh15:
	adrp	x26, _idx_worddir@GOTPAGE
Lloh16:
	ldr	x26, [x26, _idx_worddir@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x23]
	add	x8, x8, w24, sxtw #3
	stp	w19, wzr, [x8]
	add	w24, w24, #1
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.ge	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	w19, [x8, x22, lsl #2]
	mov	x0, x19
	mov	w1, #0
	bl	_get_hash_node
	cbz	x0, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x0]
	cbnz	w8, LBB0_23
	b	LBB0_22
LBB0_26:
	ldr	w9, [x20]
	add	w8, w9, w8
	cmp	w24, w8
	cset	w0, le
	bl	_assert
	str	w24, [x20]
	ldr	x0, [x23]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x0, w24, sxtw #3]
	ldr	w8, [x20]
	lsl	w8, w8, #2
	add	w8, w8, #4
Lloh17:
	adrp	x9, _new_worddir_size@GOTPAGE
Lloh18:
	ldr	x9, [x9, _new_worddir_size@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	sub	w1, w24, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sort_word_dictionary
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_BUCKETS,4,2               ; @HASH_BUCKETS
	.comm	_Hash,8,3                       ; @Hash
	.comm	_new_idx_words,4,2              ; @new_idx_words
	.comm	_idx_words,4,2                  ; @idx_words
	.comm	_new_worddir_size,4,2           ; @new_worddir_size
	.comm	_NewWordDir,8,3                 ; @NewWordDir
	.comm	_INFTY,4,2                      ; @INFTY
	.comm	_idx_worddir,8,3                ; @idx_worddir
.subsections_via_symbols
