	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v_csearch_fwd
_v_csearch_fwd:                         ## @v_csearch_fwd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_Cursor@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	movq	_LastChar@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%esi, %esi
	je	LBB0_17
## %bb.1:
	testb	$1, %sil
	jne	LBB0_8
## %bb.2:
	movl	%esi, %r9d
LBB0_3:
	cmpl	$1, %esi
	jne	LBB0_4
LBB0_17:
	cmpq	%rcx, %rax
	jae	LBB0_18
## %bb.19:
	cmpq	%rdi, (%rax)
	sete	%cl
	testl	%edx, %edx
	setne	%dl
	andb	%cl, %dl
	movzbl	%dl, %ecx
	shlq	$3, %rcx
	subq	%rcx, %rax
	movq	%rax, (%r8)
	movq	_ActionFlag@GOTPCREL(%rip), %rcx
	movq	_TCSHOP_DELETE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_21
## %bb.20:
	addq	$8, %rax
	movq	%rax, (%r8)
	xorl	%eax, %eax
	callq	_c_delfini
	movq	_CC_REFRESH@GOTPCREL(%rip), %rax
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r9d, %r9d
	je	LBB0_17
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	xorl	%esi, %esi
	cmpq	%rdi, (%rax)
	sete	%sil
	leaq	(%rax,%rsi,8), %rax
	cmpq	%rcx, %rax
	jae	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, (%rax)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	addq	$8, %rax
	cmpq	%rcx, %rax
	jb	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	$-2, %r9d
	xorl	%esi, %esi
	cmpq	%rdi, (%rax)
	sete	%sil
	leaq	(%rax,%rsi,8), %rax
	cmpq	%rcx, %rax
	jae	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	addq	$8, %rax
	cmpq	%rcx, %rax
	jb	LBB0_14
	jmp	LBB0_16
LBB0_18:
	movq	_CC_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_8:
	xorl	%r10d, %r10d
	cmpq	%rdi, (%rax)
	leal	-1(%rsi), %r9d
	sete	%r10b
	leaq	(%rax,%r10,8), %rax
	cmpq	%rcx, %rax
	jae	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rax)
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$8, %rax
	cmpq	%rcx, %rax
	jb	LBB0_10
	jmp	LBB0_3
LBB0_21:
	xorl	%eax, %eax
	callq	_RefCursor
	movq	_CC_NORM@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_CC_ERROR,4,2                   ## @CC_ERROR
	.comm	_ActionFlag,4,2                 ## @ActionFlag
	.comm	_TCSHOP_DELETE,4,2              ## @TCSHOP_DELETE
	.comm	_CC_REFRESH,4,2                 ## @CC_REFRESH
	.comm	_CC_NORM,4,2                    ## @CC_NORM
	.no_dead_strip	_v_csearch_fwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_csearch_fwd
_v_csearch_fwd:                         ; @v_csearch_fwd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _Cursor@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Cursor@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _LastChar@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LastChar@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cbnz	w1, LBB0_5
LBB0_1:
	cmp	x9, x10
	b.hs	LBB0_8
; %bb.2:
	ldr	x10, [x9]
	cmp	w2, #0
	ccmp	x10, x0, #0, ne
	cset	w10, eq
	sbfx	x10, x10, #0, #1
	add	x9, x9, x10, lsl #3
Lloh5:
	adrp	x10, _ActionFlag@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ActionFlag@GOTPAGEOFF]
	str	x9, [x8]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	adrp	x11, _TCSHOP_DELETE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _TCSHOP_DELETE@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_9
; %bb.3:
	add	x9, x9, #8
	str	x9, [x8]
	bl	_c_delfini
Lloh11:
	adrp	x8, _CC_REFRESH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CC_REFRESH@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w1, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w1, w1, #1
	ldr	x11, [x9]
	cmp	x11, x0
	cset	w11, eq
	add	x9, x9, w11, uxtw #3
	cmp	x9, x10
	b.hs	LBB0_4
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9]
	cmp	x11, x0
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x9, x9, #8
	cmp	x9, x10
	b.lo	LBB0_6
	b	LBB0_4
LBB0_8:
Lloh13:
	adrp	x8, _CC_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CC_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	bl	_RefCursor
Lloh15:
	adrp	x8, _CC_NORM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CC_NORM@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_CC_ERROR,4,2                   ; @CC_ERROR
	.comm	_ActionFlag,4,2                 ; @ActionFlag
	.comm	_TCSHOP_DELETE,4,2              ; @TCSHOP_DELETE
	.comm	_CC_REFRESH,4,2                 ; @CC_REFRESH
	.comm	_CC_NORM,4,2                    ; @CC_NORM
	.no_dead_strip	_v_csearch_fwd
.subsections_via_symbols
