	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_item                 ## -- Begin function do_change_item
	.p2align	4, 0x90
_do_change_item:                        ## @do_change_item
	.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	$65535, %esi                    ## imm = 0xFFFF
	ja	LBB0_17
## %bb.1:
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_fits
	testl	%eax, %eax
	je	LBB0_17
## %bb.2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %r14d
	cmpl	$256, %r13d                     ## imm = 0x100
	jae	LBB0_3
## %bb.9:
	movq	_LEV_SEARCH_TEXT_SHORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r14, %rdi
	leal	21(%r13), %esi
	movl	%r15d, %edx
	callq	_alloc_log_event
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	%r12, 8(%rax)
	movq	16(%rax), %rdi
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.10:
	xorl	%r14d, %r14d
LBB0_16:
	movb	$0, (%rdi)
	subq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_change_item                    ## TAILCALL
LBB0_17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_LEV_SEARCH_TEXT_LONG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leal	23(%r13), %esi
	movl	%r15d, %edx
	callq	_alloc_log_event
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	%r12, 8(%rax)
	movl	%r13d, 16(%rax)
	movq	24(%rax), %rdi
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%eax
	movb	%dl, (%rdi)
	incq	%rdi
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r13d, %eax
	jge	LBB0_16
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movslq	%eax, %rcx
	movb	(%rbx,%rcx), %dl
	cmpb	$31, %dl
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	movb	$31, %dl
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	%dl, (%rdi)
	incq	%rdi
	cmpq	%r14, %rcx
	jge	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movzbl	(%rbx,%rcx), %edx
	incl	%eax
	incq	%rcx
	cmpb	$63, %dl
	ja	LBB0_7
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	ja	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$9, %dl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$32, (%rdi)
	incq	%rdi
	incl	%eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_SEARCH_TEXT_SHORT,8,3      ## @LEV_SEARCH_TEXT_SHORT
	.comm	_LEV_SEARCH_TEXT_LONG,8,3       ## @LEV_SEARCH_TEXT_LONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_item                 ; -- Begin function do_change_item
	.p2align	2
_do_change_item:                        ; @do_change_item
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	lsr	w8, w1, #16
	cbnz	w8, LBB0_5
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x2
	bl	_fits
	cbz	w0, LBB0_5
; %bb.2:
	cmp	w22, #256
	b.hs	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _LEV_SEARCH_TEXT_SHORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_SEARCH_TEXT_SHORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, w22, uxtw
	add	w1, w22, #21
	mov	x2, x20
	bl	_alloc_log_event
	str	w19, [x0]
	str	x21, [x0, #8]
	ldr	x8, [x0, #16]
	cbnz	w22, LBB0_7
; %bb.4:
	mov	x9, #0
	b	LBB0_17
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh3:
	adrp	x8, _LEV_SEARCH_TEXT_LONG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LEV_SEARCH_TEXT_LONG@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	add	w1, w22, #23
	mov	x2, x20
	bl	_alloc_log_event
	str	w19, [x0]
	str	x21, [x0, #8]
	str	w22, [x0, #16]
	ldr	x8, [x0, #24]
LBB0_7:
	mov	w10, #0
	mov	w9, w22
	mov	w11, #32
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w10, w10, #1
	strb	w12, [x8], #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	w10, w22
	b.ge	LBB0_17
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	sxtw	x13, w10
	ldrb	w12, [x23, x13]
	cmp	w12, #31
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x12, x13, #1
	mov	w13, #31
	mov	x14, x8
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w13, [x8], #1
	cmp	x12, x9
	b.ge	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldrb	w13, [x23, x12]
	add	w10, w10, #1
	add	x12, x12, #1
	mov	x14, x8
	cmp	w13, #63
	b.hi	LBB0_12
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ccmp	w12, #9, #4, ls
	b.eq	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	w11, [x8], #1
	add	w10, w10, #1
	b	LBB0_9
LBB0_16:
	add	x8, x14, #1
LBB0_17:
	strb	wzr, [x8]
	sub	x0, x8, x9
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_change_item
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_SEARCH_TEXT_SHORT,8,3      ; @LEV_SEARCH_TEXT_SHORT
	.comm	_LEV_SEARCH_TEXT_LONG,8,3       ; @LEV_SEARCH_TEXT_LONG
.subsections_via_symbols
