	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_stop
_search_stop:                           ## @search_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_search_find
	movq	%rax, %rbx
	movq	_search_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
	xorl	%eax, %eax
	callq	_search_clear
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_cmdbuf@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_CMD_BUF_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_os_strlcpy
	movl	(%r14), %edi
	callq	_os_strlen
	movq	_cmdbuf_len@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cmdbuf_pos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_edit_redraw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_search_buf,8,3                 ## @search_buf
	.comm	_cmdbuf,4,2                     ## @cmdbuf
	.comm	_CMD_BUF_LEN,4,2                ## @CMD_BUF_LEN
	.comm	_cmdbuf_len,4,2                 ## @cmdbuf_len
	.comm	_cmdbuf_pos,4,2                 ## @cmdbuf_pos
	.no_dead_strip	_search_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_stop
_search_stop:                           ; @search_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_search_find
	mov	x19, x0
Lloh0:
	adrp	x8, _search_buf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _search_buf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	strb	wzr, [x8]
	bl	_search_clear
	cbz	x19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x20, _cmdbuf@GOTPAGE
Lloh4:
	ldr	x20, [x20, _cmdbuf@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _CMD_BUF_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_BUF_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_os_strlcpy
	ldr	w0, [x20]
	bl	_os_strlen
Lloh8:
	adrp	x8, _cmdbuf_len@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cmdbuf_len@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
Lloh11:
	adrp	x8, _cmdbuf_pos@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cmdbuf_pos@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_edit_redraw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_search_buf,8,3                 ; @search_buf
	.comm	_cmdbuf,4,2                     ; @cmdbuf
	.comm	_CMD_BUF_LEN,4,2                ; @CMD_BUF_LEN
	.comm	_cmdbuf_len,4,2                 ; @cmdbuf_len
	.comm	_cmdbuf_pos,4,2                 ; @cmdbuf_pos
	.no_dead_strip	_search_stop
.subsections_via_symbols
