	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v_csearch_back
_v_csearch_back:                        ## @v_csearch_back
	.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), %rcx
	movq	_InputBuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	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:
	movq	_CC_ERROR@GOTPCREL(%rip), %rsi
	cmpq	%rax, %rcx
	jb	LBB0_24
## %bb.18:
	je	LBB0_20
## %bb.19:
	movq	(%rcx), %r9
	jmp	LBB0_21
	.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, (%rcx)
	sete	%sil
	shlq	$3, %rsi
	subq	%rsi, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, (%rcx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	addq	$-8, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	$-2, %r9d
	xorl	%esi, %esi
	cmpq	%rdi, (%rcx)
	sete	%sil
	shlq	$3, %rsi
	subq	%rsi, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, (%rcx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	addq	$-8, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_14
	jmp	LBB0_16
LBB0_8:
	leal	-1(%rsi), %r9d
	xorl	%r10d, %r10d
	cmpq	%rdi, (%rcx)
	sete	%r10b
	shlq	$3, %r10
	subq	%r10, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rcx)
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$-8, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_10
	jmp	LBB0_3
LBB0_20:
	movq	%rdi, %r9
	cmpq	%rdi, (%rax)
	jne	LBB0_24
LBB0_21:
	cmpq	%rdi, %r9
	sete	%al
	testl	%edx, %edx
	setne	%dl
	andb	%al, %dl
	movzbl	%dl, %eax
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, (%r8)
	movq	_ActionFlag@GOTPCREL(%rip), %rcx
	movq	_TCSHOP_DELETE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_23
## %bb.22:
	addq	$8, %rax
	movq	%rax, (%r8)
	xorl	%eax, %eax
	callq	_c_delfini
	movq	_CC_REFRESH@GOTPCREL(%rip), %rsi
	jmp	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	callq	_RefCursor
	movq	_CC_NORM@GOTPCREL(%rip), %rsi
LBB0_24:
	movl	(%rsi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_InputBuf,8,3                   ## @InputBuf
	.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_back
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_csearch_back
_v_csearch_back:                        ; @v_csearch_back
	.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, _InputBuf@GOTPAGE
Lloh3:
	ldr	x10, [x10, _InputBuf@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cbz	w1, LBB0_6
; %bb.1:
	mov	x11, #-8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w1, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	sub	w1, w1, #1
	ldr	x12, [x9]
	cmp	x12, x0
	csel	x12, x11, xzr, eq
	add	x9, x9, x12
	cmp	x9, x10
	b.ls	LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x9]
	cmp	x12, x0
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	x9, x9, #8
	cmp	x9, x10
	b.hi	LBB0_4
	b	LBB0_2
LBB0_6:
	cmp	x9, x10
	b.hs	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _CC_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CC_ERROR@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	b.eq	LBB0_10
; %bb.9:
	ldr	x10, [x9]
	b	LBB0_11
LBB0_10:
	ldr	x11, [x10]
	mov	x10, x0
	cmp	x11, x0
	b.ne	LBB0_7
LBB0_11:
	cmp	w2, #0
	ccmp	x10, x0, #0, ne
	cset	w10, eq
	add	x9, x9, w10, uxtw #3
Lloh7:
	adrp	x10, _ActionFlag@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ActionFlag@GOTPAGEOFF]
	str	x9, [x8]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	adrp	x11, _TCSHOP_DELETE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _TCSHOP_DELETE@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_13
; %bb.12:
	add	x9, x9, #8
	str	x9, [x8]
	bl	_c_delfini
Lloh13:
	adrp	x8, _CC_REFRESH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CC_REFRESH@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	bl	_RefCursor
Lloh15:
	adrp	x8, _CC_NORM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CC_NORM@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_InputBuf,8,3                   ; @InputBuf
	.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_back
.subsections_via_symbols
