	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_MoveWordForward
_EDIT_MoveWordForward:                  ## @EDIT_MoveWordForward
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	%rbx, %rsi
	callq	_EDIT_EM_LineFromChar
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_EDIT_EM_LineLength
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_EDIT_EM_LineIndex
	movq	%rbx, %rdx
	subq	%rax, %rdx
	cmpq	%r15, %rdx
	jne	LBB0_4
## %bb.1:
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r12)
	je	LBB0_5
## %bb.2:
	movslq	20(%r12), %rax
	decq	%rax
	cmpq	%rax, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_6
## %bb.3:
	incq	%r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_EDIT_EM_LineIndex
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_4:
	movq	%rax, %r14
	incq	%rdx
	movq	_WB_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_EDIT_CallWordBreakProc
	movq	%rax, %rbx
	addq	%r14, %rbx
LBB0_5:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_6:
	testl	%r15d, %r15d
	cmoveq	%rbx, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_EDIT_EM_SetSel
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EDIT_EM_ScrollCaret            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.comm	_WB_RIGHT,4,2                   ## @WB_RIGHT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_EDIT_MoveWordForward
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_MoveWordForward
_EDIT_MoveWordForward:                  ; @EDIT_MoveWordForward
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldp	x25, x21, [x0]
	mov	x1, x21
	bl	_EDIT_EM_LineFromChar
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_EDIT_EM_LineLength
	mov	x23, x0
	mov	x0, x19
	mov	x1, x22
	bl	_EDIT_EM_LineIndex
	sub	x8, x21, x0
	cmp	x8, x23
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19, #16]
Lloh0:
	adrp	x9, _ES_MULTILINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ES_MULTILINE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldrsw	x8, [x19, #20]
	sub	x8, x8, #1
	cmp	x22, x8
	b.eq	LBB0_5
; %bb.3:
	add	x1, x22, #1
	mov	x0, x19
	bl	_EDIT_EM_LineIndex
	mov	x21, x0
	b	LBB0_5
LBB0_4:
	mov	x24, x0
	add	x2, x8, #1
Lloh3:
	adrp	x8, _WB_RIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WB_RIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x24
	mov	x3, x23
	bl	_EDIT_CallWordBreakProc
	add	x21, x0, x24
LBB0_5:
	cmp	w20, #0
	csel	x1, x21, x25, eq
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_EDIT_EM_SetSel
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_EDIT_EM_ScrollCaret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.comm	_WB_RIGHT,4,2                   ; @WB_RIGHT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_EDIT_MoveWordForward
.subsections_via_symbols
