	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_item_tags               ## -- Begin function do_add_item_tags
	.p2align	4, 0x90
_do_add_item_tags:                      ## @do_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$255, %esi
	ja	LBB0_13
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_fits
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movl	$1, %edi
	callq	_assert
	movq	_LEV_SEARCH_ITEM_ADD_TAGS@GOTPCREL(%rip), %rax
	movl	%r15d, %r12d
	movq	(%rax), %rdi
	addq	%r12, %rdi
	leal	13(%r15), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_alloc_log_event
	movq	%r14, (%rax)
	movq	8(%rax), %rdi
	testl	%r15d, %r15d
	jne	LBB0_3
LBB0_12:
	movb	$0, (%rdi)
	subq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_item_tags                  ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movb	%cl, (%rdi)
	incq	%rdi
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %ebx
	jge	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movslq	%ebx, %rax
	movb	(%r13,%rax), %cl
	cmpb	$31, %cl
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movb	$31, %cl
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	%cl, (%rdi)
	incq	%rdi
	cmpq	%r12, %rax
	jge	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	(%r13,%rax), %ecx
	incl	%ebx
	incq	%rax
	cmpb	$63, %cl
	ja	LBB0_5
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$9, %cl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$32, (%rdi)
	incq	%rdi
	incl	%ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_SEARCH_ITEM_ADD_TAGS,8,3   ## @LEV_SEARCH_ITEM_ADD_TAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_item_tags               ; -- Begin function do_add_item_tags
	.p2align	2
_do_add_item_tags:                      ; @do_add_item_tags
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	cmp	w1, #255
	b.hi	LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_fits
	cbz	w0, LBB0_13
; %bb.2:
	mov	w0, #1
	bl	_assert
Lloh0:
	adrp	x8, _LEV_SEARCH_ITEM_ADD_TAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_SEARCH_ITEM_ADD_TAGS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w22, w20
	add	x0, x8, x22
	add	w1, w20, #13
	mov	w2, #0
	bl	_alloc_log_event
	str	x19, [x0]
	ldr	x10, [x0, #8]
	cbz	w20, LBB0_15
; %bb.3:
	mov	w8, #0
	mov	w9, #32
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sxtw	x12, w8
	ldrb	w11, [x21, x12]
	cmp	w11, #31
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #1
	mov	w13, #31
	mov	x11, x10
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w13, [x11], #1
	cmp	x12, x22
	b.ge	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w13, [x21, x12]
	add	w8, w8, #1
	add	x12, x12, #1
	mov	x10, x11
	cmp	w13, #63
	b.hi	LBB0_6
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ccmp	w11, #9, #4, ls
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	strb	w11, [x10], #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w9, [x10], #1
	add	w8, w8, #1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x10
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, x11
	cmp	w8, w20
	b.lt	LBB0_4
	b	LBB0_16
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	add	x11, x10, #1
	b	LBB0_16
LBB0_15:
	mov	x11, x10
LBB0_16:
	strb	wzr, [x11]
	sub	x0, x11, x22
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_add_item_tags
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_SEARCH_ITEM_ADD_TAGS,8,3   ; @LEV_SEARCH_ITEM_ADD_TAGS
.subsections_via_symbols
