	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_item_tags
_add_item_tags:                         ## @add_item_tags
	.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
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	movl	$0, %edi
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movl	$0, %edi
	cmpl	$255, %ebx
	ja	LBB0_3
## %bb.2:
	movl	%ebx, %eax
	xorl	%edi, %edi
	cmpb	$0, (%r15,%rax)
	sete	%dil
LBB0_3:
	callq	_assert
	xorl	%edi, %edi
	testq	%r12, %r12
	setg	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_fits
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movq	_import_only_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.5:
	movq	%r12, %rdi
	callq	_get_idx_item
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_get_index_item_words_ptr
	jmp	LBB0_9
LBB0_7:
	movq	_ONLY_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_item_f
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%rax, %r14
LBB0_9:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	_cur_wordlist_head@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_Q@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_tag_owner@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, (%rsp)
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$65536, %r8d                    ## imm = 0x10000
	callq	_extract_words
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	movq	%r14, %rdi
	callq	_item_add_word
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_11
LBB0_12:
	movq	_cur_wordlist_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_13:
	movl	$1, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_import_only_mode,8,3           ## @import_only_mode
	.comm	_ONLY_FIND,4,2                  ## @ONLY_FIND
	.comm	_cur_wordlist_head,8,3          ## @cur_wordlist_head
	.comm	_Q,8,3                          ## @Q
	.comm	_tag_owner,4,2                  ## @tag_owner
	.no_dead_strip	_add_item_tags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_item_tags
_add_item_tags:                         ; @add_item_tags
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #0
	cbz	x21, LBB0_3
; %bb.1:
	cmp	w20, #255
	b.hi	LBB0_3
; %bb.2:
	ldrb	w8, [x21, w20, uxtw]
	cmp	w8, #0
	cset	w0, eq
LBB0_3:
	bl	_assert
	cmp	x19, #0
	cset	w0, gt
	bl	_assert
	mov	x0, x19
	bl	_fits
	cbz	w0, LBB0_14
; %bb.4:
Lloh0:
	adrp	x8, _import_only_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _import_only_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_13
; %bb.5:
	mov	x0, x19
	bl	_get_idx_item
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	mov	w1, #1
	bl	_get_index_item_words_ptr
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _ONLY_FIND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ONLY_FIND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_get_item_f
	cbz	x0, LBB0_14
; %bb.8:
	mov	x22, x0
LBB0_9:
	mov	x23, x0
	ldr	x8, [x23]
Lloh6:
	adrp	x24, _cur_wordlist_head@GOTPAGE
Lloh7:
	ldr	x24, [x24, _cur_wordlist_head@GOTPAGEOFF]
	str	x8, [x24]
Lloh8:
	adrp	x25, _Q@GOTPAGE
Lloh9:
	ldr	x25, [x25, _Q@GOTPAGEOFF]
	ldr	x3, [x25]
Lloh10:
	adrp	x8, _tag_owner@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tag_owner@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w4, #65536
	mov	x6, x19
	bl	_extract_words
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x19, #0
	mov	w8, w0
	lsl	x20, x8, #3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x8, x8, x19
	ldp	w2, w1, [x8]
	mov	x0, x22
	bl	_item_add_word
	add	x19, x19, #8
	cmp	x20, x19
	b.ne	LBB0_11
LBB0_12:
	ldr	x8, [x24]
	str	x8, [x23]
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_import_only_mode,8,3           ; @import_only_mode
	.comm	_ONLY_FIND,4,2                  ; @ONLY_FIND
	.comm	_cur_wordlist_head,8,3          ; @cur_wordlist_head
	.comm	_Q,8,3                          ; @Q
	.comm	_tag_owner,4,2                  ; @tag_owner
	.no_dead_strip	_add_item_tags
.subsections_via_symbols
