	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_MoveForward
_EDIT_MoveForward:                      ## @EDIT_MoveForward
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %r8
	movb	(%r8,%rax), %cl
	testb	%cl, %cl
	je	LBB0_6
## %bb.1:
	leaq	1(%rax), %rdx
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, 16(%rbx)
	je	LBB0_8
## %bb.2:
	cmpb	$13, %cl
	jne	LBB0_8
## %bb.3:
	movb	(%r8,%rdx), %cl
	cmpb	$13, %cl
	je	LBB0_7
## %bb.4:
	cmpb	$10, %cl
	jne	LBB0_8
## %bb.5:
	addq	$2, %rax
LBB0_6:
	movq	%rax, %rdx
LBB0_8:
	movq	%rdx, %rax
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	24(%rbx), %rax
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_EDIT_EM_SetSel
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_EDIT_EM_ScrollCaret            ## TAILCALL
LBB0_7:
	leaq	3(%rax), %rcx
	cmpb	$10, 2(%rax,%r8)
	cmoveq	%rcx, %rdx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_EDIT_MoveForward
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_MoveForward
_EDIT_MoveForward:                      ; @EDIT_MoveForward
	.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
	ldp	x8, x9, [x0]
	ldrb	w10, [x9, x8]
	cbz	w10, LBB0_4
; %bb.1:
	add	x2, x8, #1
	ldr	w11, [x19, #16]
Lloh0:
	adrp	x12, _ES_MULTILINE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ES_MULTILINE@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	and	w11, w12, w11
	cmp	w11, #0
	ccmp	w10, #13, #0, ne
	b.ne	LBB0_5
; %bb.2:
	ldrb	w10, [x9, x2]
	cmp	w10, #13
	b.eq	LBB0_8
; %bb.3:
	cmp	w10, #10
	add	x9, x8, #2
	csinc	x2, x9, x8, eq
	mov	x8, x2
	cbnz	x1, LBB0_6
	b	LBB0_7
LBB0_4:
	mov	x2, x8
LBB0_5:
	mov	x8, x2
	cbz	x1, LBB0_7
LBB0_6:
	ldr	x8, [x19, #24]
LBB0_7:
Lloh3:
	adrp	x9, _FALSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x1, x8
	bl	_EDIT_EM_SetSel
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_EDIT_EM_ScrollCaret
LBB0_8:
	add	x9, x8, x9
	ldrb	w9, [x9, #2]
	add	x8, x8, #3
	cmp	w9, #10
	csel	x2, x8, x2, eq
	mov	x8, x2
	cbnz	x1, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_EDIT_MoveForward
.subsections_via_symbols
