	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_ML_InvalidateText
_EDIT_ML_InvalidateText:                ## @EDIT_ML_InvalidateText
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_get_vertical_line_count
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_EDIT_EM_LineFromChar
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_EDIT_EM_LineFromChar
	movq	%rax, %r14
	movq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_17
## %bb.1:
	addq	%r12, %rax
	cmpq	%rax, %rbx
	jg	LBB0_17
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_EDIT_EM_LineIndex
	subq	%rax, %r13
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EDIT_EM_LineIndex
	movq	(%r15), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %rbx
	cmovleq	%rcx, %rbx
	cmovgeq	%r13, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	addq	%rcx, %r12
	cmpq	%r12, %r14
	jle	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_EDIT_EM_LineIndex
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_EDIT_EM_LineLength
	movq	%rax, %r13
	movq	%r12, %r14
	jmp	LBB0_5
LBB0_3:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	subq	%rax, %r13
LBB0_5:
	movl	12(%r15), %edi
	leaq	-76(%rbp), %r12
	movq	%r12, %rsi
	callq	_GetClientRect
	leaq	8(%r15), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_IntersectRect
	cmpq	%r14, %rbx
	jne	LBB0_7
## %bb.6:
	leaq	-52(%rbp), %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_EDIT_GetLineRect
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	jmp	LBB0_15
LBB0_7:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_EDIT_EM_LineIndex
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_EDIT_EM_LineLength
	leaq	-52(%rbp), %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	movq	%r12, %r8
	callq	_EDIT_GetLineRect
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdx
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_EDIT_UpdateText
LBB0_9:
	incq	%rbx
	cmpq	%r14, %rbx
	jge	LBB0_14
## %bb.10:
	leaq	-52(%rbp), %r12
	leaq	-44(%rbp), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_EDIT_EM_LineIndex
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_EDIT_EM_LineLength
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%rax, %rcx
	movq	%r12, %r8
	callq	_EDIT_GetLineRect
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdx
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_EDIT_UpdateText
	jmp	LBB0_13
LBB0_14:
	leaq	-52(%rbp), %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_EDIT_GetLineRect
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
LBB0_15:
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_EDIT_UpdateText
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_EDIT_ML_InvalidateText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_ML_InvalidateText
_EDIT_ML_InvalidateText:                ; @EDIT_ML_InvalidateText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_get_vertical_line_count
	mov	x24, x0
	mov	x0, x19
	mov	x1, x22
	bl	_EDIT_EM_LineFromChar
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_EDIT_EM_LineFromChar
	ldr	x8, [x19]
	add	x9, x8, x24
	cmp	x0, x8
	ccmp	x23, x9, #0, ge
	b.gt	LBB0_13
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x23
	bl	_EDIT_EM_LineIndex
	sub	x25, x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_EDIT_EM_LineIndex
	ldr	x8, [x19]
	cmp	x23, x8
	csel	x22, x23, x8, gt
	csel	x23, xzr, x25, lt
	add	x24, x8, x24
	cmp	x20, x24
	b.le	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x24
	bl	_EDIT_EM_LineIndex
	mov	x1, x0
	mov	x0, x19
	bl	_EDIT_EM_LineLength
	mov	x21, x0
	mov	x20, x24
	b	LBB0_4
LBB0_3:
	sub	x21, x21, x0
LBB0_4:
	ldr	w0, [x19, #12]
	add	x1, sp, #12
	bl	_GetClientRect
	add	x2, x19, #8
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_IntersectRect
	cmp	x22, x20
	b.ne	LBB0_7
; %bb.5:
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_EDIT_GetLineRect
	mov	x0, sp
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_IntersectRect
	cbz	x0, LBB0_13
; %bb.6:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	bl	_EDIT_EM_LineIndex
	mov	x1, x0
	mov	x0, x19
	bl	_EDIT_EM_LineLength
	mov	x3, x0
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_EDIT_GetLineRect
	mov	x0, sp
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_IntersectRect
Lloh3:
	adrp	x23, _TRUE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w2, [x23]
	mov	x1, sp
	mov	x0, x19
	bl	_EDIT_UpdateText
LBB0_9:
	add	x22, x22, #1
	cmp	x22, x20
	b.lt	LBB0_15
LBB0_10:
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, x21
	bl	_EDIT_GetLineRect
	mov	x0, sp
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_IntersectRect
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w2, [x23]
LBB0_12:
	mov	x1, sp
	mov	x0, x19
	bl	_EDIT_UpdateText
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x22, x22, #1
	cmp	x20, x22
	b.eq	LBB0_10
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_EDIT_EM_LineIndex
	mov	x1, x0
	mov	x0, x19
	bl	_EDIT_EM_LineLength
	mov	x3, x0
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_EDIT_GetLineRect
	mov	x0, sp
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_IntersectRect
	cbz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w2, [x23]
	mov	x1, sp
	mov	x0, x19
	bl	_EDIT_UpdateText
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_EDIT_ML_InvalidateText
.subsections_via_symbols
