	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_query_word
_add_query_word:                        ## @add_query_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Q_words@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	_QW@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rcx,%rax,8)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%edx, %edx
LBB0_5:
	movq	_MAX_WORDS@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	(%rcx), %edx
	je	LBB0_7
## %bb.6:
	movq	_QW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, %ecx
	movq	%rdi, (%rax,%rcx,8)
	movq	_QT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	%sil, (%rax,%rcx)
	movq	_IHE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-2, (%rax,%rcx,4)
	movl	(%r8), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r8)
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_words,4,2                    ## @Q_words
	.comm	_QW,8,3                         ## @QW
	.comm	_MAX_WORDS,4,2                  ## @MAX_WORDS
	.comm	_QT,8,3                         ## @QT
	.comm	_IHE,8,3                        ## @IHE
	.no_dead_strip	_add_query_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_query_word
_add_query_word:                        ; @add_query_word
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _Q_words@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Q_words@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
Lloh2:
	adrp	x11, _QW@GOTPAGE
Lloh3:
	ldr	x11, [x11, _QW@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x8, lsl #3]
	cmp	x12, x0
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w10, #0
LBB0_5:
Lloh5:
	adrp	x8, _MAX_WORDS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_WORDS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_7
; %bb.6:
	mov	w8, #-1
	mov	x0, x8
	ret
LBB0_7:
Lloh8:
	adrp	x8, _QW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QW@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w11, w10
	str	x0, [x8, w10, uxtw #3]
Lloh11:
	adrp	x8, _QT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	strb	w1, [x8, x11]
Lloh14:
	adrp	x8, _IHE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IHE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	w11, #-2
	str	w11, [x8, w10, uxtw #2]
	ldr	w8, [x9]
	add	w10, w8, #1
	str	w10, [x9]
LBB0_8:
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_words,4,2                    ; @Q_words
	.comm	_QW,8,3                         ; @QW
	.comm	_MAX_WORDS,4,2                  ; @MAX_WORDS
	.comm	_QT,8,3                         ; @QT
	.comm	_IHE,8,3                        ; @IHE
	.no_dead_strip	_add_query_word
.subsections_via_symbols
