	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findPrevWord
_findPrevWord:                          ## @findPrevWord
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movl	(%rax), %ebx
	cmpl	$2, %ebx
	jge	LBB0_3
LBB0_6:
	testl	%ebx, %ebx
	jns	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%ecx, %ebx
	cmpl	$1, %ebx
	jle	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_isSpace
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rax
	leal	-1(%rbx), %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_isSpace
	movl	$-2, %ecx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %ebx
	incq	%rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	-4(%rax,%rbx,4), %edi
	callq	_isSpace
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	decq	%rbx
	jg	LBB0_8
	jmp	LBB0_12
LBB0_9:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.10:
	movl	%ebx, (%rax)
	movl	$-1, 4(%rax)
	movq	%r14, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_r_core_visual_showcursor       ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_findPrevWord
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findPrevWord
_findPrevWord:                          ; @findPrevWord
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.1:
	ldr	w20, [x8]
	cmp	w20, #2
	b.ge	LBB0_5
LBB0_2:
	tbz	w20, #31, LBB0_9
	b	LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #-1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, w8
	cmp	w20, #1
	b.le	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, w20, uxtw #2]
	bl	_isSpace
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	sub	w9, w20, #1
	ldr	w0, [x8, w9, uxtw #2]
	bl	_isSpace
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #-2
	b	LBB0_4
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	w20, w20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_isSpace
	cbnz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x8, x20, #1
	cmp	x20, #0
	mov	x20, x8
	b.gt	LBB0_10
	b	LBB0_14
LBB0_12:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
; %bb.13:
	add	w9, w20, #1
	mov	w10, #-1
	stp	w9, w10, [x8]
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_r_core_visual_showcursor
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_findPrevWord
.subsections_via_symbols
