	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_word                       ## -- Begin function add_word
	.p2align	4, 0x90
_add_word:                              ## @add_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	movl	$10008, %eax                    ## imm = 0x2718
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	-10016(%rbp), %rsi
	callq	_put_string_utf8
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-10016(%rbp), %rdx
	callq	_fprintf
LBB0_2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_HASH_MUL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addq	$4, %rbx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	imull	%edx, %ecx
	addl	%eax, %ecx
	movl	(%rbx), %eax
	addq	$4, %rbx
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%ecx, %ecx
LBB0_6:
	movslq	%ecx, %rbx
	leaq	L_.str.1(%rip), %rdi
	leaq	-10016(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_debugp
	movq	_words@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_words_len@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movl	%ebx, (%rax,%rdx,4)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$10008, %rsp                    ## imm = 0x2718
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,8,3                      ## @debug
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WORD %s\n"

	.comm	_HASH_MUL,4,2                   ## @HASH_MUL
L_.str.1:                               ## @.str.1
	.asciz	"WORD %s | %lld\n"

	.comm	_words,8,3                      ## @words
	.comm	_words_len,4,2                  ## @words_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_word                       ; -- Begin function add_word
	.p2align	2
_add_word:                              ; @add_word
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	w9, #10016
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #1824
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x1, sp, #8
	bl	_put_string_utf8
Lloh5:
	adrp	x8, _debug@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_fprintf
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	mov	w20, #0
Lloh13:
	adrp	x9, _HASH_MUL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HASH_MUL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	add	x10, x19, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	madd	w20, w9, w20, w8
	ldr	w8, [x10], #4
	cbnz	w8, LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	sxtw	x2, w20
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_debugp
Lloh18:
	adrp	x8, _words@GOTPAGE
Lloh19:
	ldr	x8, [x8, _words@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _words_len@GOTPAGE
Lloh22:
	ldr	x9, [x9, _words_len@GOTPAGEOFF]
	ldrsw	x10, [x9]
	add	w11, w10, #1
	str	w11, [x9]
	str	w20, [x8, x10, lsl #2]
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #1824
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,8,3                      ; @debug
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WORD %s\n"

	.comm	_HASH_MUL,4,2                   ; @HASH_MUL
l_.str.1:                               ; @.str.1
	.asciz	"WORD %s | %lld\n"

	.comm	_words,8,3                      ; @words
	.comm	_words_len,4,2                  ; @words_len
.subsections_via_symbols
