	.file	"extr_edit.c_EDIT_ML_InvalidateText.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	EDIT_ML_InvalidateText, @function
EDIT_ML_InvalidateText:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	get_vertical_line_count@PLT
	mov	rsi, r15
	mov	rdi, r14
	mov	rbx, rax
	call	EDIT_EM_LineFromChar@PLT
	mov	rsi, r13
	mov	rdi, r14
	mov	rbp, rax
	call	EDIT_EM_LineFromChar@PLT
	mov	r12, rax
	mov	rax, QWORD PTR [r14]
	cmp	rax, r12
	jg	.L1
	add	rax, rbx
	cmp	rax, rbp
	jge	.L31
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r14
	call	EDIT_EM_LineIndex@PLT
	mov	rsi, r12
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rax
	call	EDIT_EM_LineIndex@PLT
	mov	rdx, QWORD PTR [r14]
	cmp	rdx, rbp
	jg	.L15
	add	rbx, rdx
	sub	r15, QWORD PTR 8[rsp]
	cmp	rbx, r12
	jl	.L7
.L35:
	sub	r13, rax
	mov	QWORD PTR 8[rsp], r13
.L8:
	mov	edi, DWORD PTR 12[r14]
	lea	r13, 24[rsp]
	lea	rbx, 28[rsp]
	mov	rsi, r13
	call	GetClientRect@PLT
	lea	rdx, 8[r14]
	mov	rsi, r13
	mov	rdi, rbx
	call	IntersectRect@PLT
	cmp	rbp, r12
	je	.L33
	mov	rsi, rbp
	mov	rdi, r14
	lea	r13, 32[rsp]
	call	EDIT_EM_LineIndex@PLT
	mov	rdi, r14
	mov	rsi, rax
	call	EDIT_EM_LineLength@PLT
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	mov	rcx, rax
	mov	r8, r13
	lea	r15, 36[rsp]
	call	EDIT_GetLineRect@PLT
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, r15
	call	IntersectRect@PLT
	test	rax, rax
	jne	.L34
.L10:
	add	rbp, 1
	cmp	r12, rbp
	jg	.L13
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	add	rbp, 1
	cmp	r12, rbp
	je	.L11
.L13:
	mov	rsi, rbp
	mov	rdi, r14
	call	EDIT_EM_LineIndex@PLT
	mov	rdi, r14
	mov	rsi, rax
	call	EDIT_EM_LineLength@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r14
	mov	rcx, rax
	mov	r8, r13
	call	EDIT_GetLineRect@PLT
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, r15
	call	IntersectRect@PLT
	test	rax, rax
	je	.L12
	mov	edx, DWORD PTR TRUE[rip]
	mov	rsi, r15
	mov	rdi, r14
	add	rbp, 1
	call	EDIT_UpdateText@PLT
	cmp	r12, rbp
	jne	.L13
.L11:
	mov	rcx, QWORD PTR 8[rsp]
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, r14
	mov	r8, r13
	call	EDIT_GetLineRect@PLT
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, r15
	call	IntersectRect@PLT
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR TRUE[rip]
	mov	rsi, r15
	mov	rdi, r14
	call	EDIT_UpdateText@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	add	rbx, rdx
	mov	rbp, rdx
	xor	r15d, r15d
	cmp	rbx, r12
	jge	.L35
.L7:
	mov	rsi, rbx
	mov	rdi, r14
	mov	r12, rbx
	call	EDIT_EM_LineIndex@PLT
	mov	rdi, r14
	mov	rsi, rax
	call	EDIT_EM_LineLength@PLT
	mov	QWORD PTR 8[rsp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	lea	r12, 32[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdx, r15
	mov	rdi, r14
	mov	r8, r12
	lea	rbp, 36[rsp]
	call	EDIT_GetLineRect@PLT
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, rbp
	call	IntersectRect@PLT
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR TRUE[rip]
	mov	rsi, rbp
	mov	rdi, r14
	call	EDIT_UpdateText@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edx, DWORD PTR TRUE[rip]
	mov	rsi, r15
	mov	rdi, r14
	call	EDIT_UpdateText@PLT
	jmp	.L10
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	EDIT_ML_InvalidateText, .-EDIT_ML_InvalidateText
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_edit.c_EDIT_ML_InvalidateText.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	EDIT_ML_InvalidateText, %function
EDIT_ML_InvalidateText:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L39
	sub	sp, sp, #36
	mov	r4, r0
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r9, r1
	bl	get_vertical_line_count
	mov	r1, r9
	mov	r10, r0
	mov	r0, r4
	bl	EDIT_EM_LineFromChar
	mov	r1, r8
	mov	r5, r0
	mov	r0, r4
	bl	EDIT_EM_LineFromChar
	ldr	r3, [r4]
	cmp	r3, r0
	bgt	.L1
	add	r3, r3, r10
	cmp	r3, r5
	bge	.L34
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	mov	r6, r0
	mov	r1, r5
	mov	r0, r4
	bl	EDIT_EM_LineIndex
	mov	r1, r6
	mov	fp, r0
	mov	r0, r4
	bl	EDIT_EM_LineIndex
	ldr	r1, [r4]
	cmp	r1, r5
	add	r10, r1, r10
	movgt	r5, r1
	movgt	r9, #0
	suble	r9, r9, fp
	cmp	r10, r6
	subge	r8, r8, r0
	blt	.L36
.L8:
	add	r1, sp, #12
	ldr	r0, [r4, #8]
	bl	GetClientRect
	add	r1, sp, #12
	add	r0, sp, #16
	add	r2, r4, #4
	bl	IntersectRect
	cmp	r5, r6
	beq	.L37
	mov	r1, r5
	mov	r0, r4
	bl	EDIT_EM_LineIndex
	mov	r1, r0
	mov	r0, r4
	bl	EDIT_EM_LineLength
	add	r7, sp, #20
	mov	r3, r0
	mov	r2, r9
	mov	r1, r5
	mov	r0, r4
	str	r7, [sp]
	bl	EDIT_GetLineRect
	mov	r2, r7
	add	r0, sp, #24
	add	r1, sp, #16
	bl	IntersectRect
	cmp	r0, #0
	bne	.L38
.L10:
	add	r5, r5, #1
	cmp	r6, r5
	ble	.L11
	ldr	r9, .L39+4
	b	.L13
.L12:
	add	r5, r5, #1
	cmp	r6, r5
	beq	.L11
.L13:
	mov	r1, r5
	mov	r0, r4
	bl	EDIT_EM_LineIndex
	mov	r1, r0
	mov	r0, r4
	bl	EDIT_EM_LineLength
	mov	r2, #0
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	str	r7, [sp]
	bl	EDIT_GetLineRect
	mov	r2, r7
	add	r1, sp, #16
	add	r0, sp, #24
	bl	IntersectRect
	cmp	r0, #0
	beq	.L12
	mov	r0, r4
	ldr	r2, [r9]
	add	r1, sp, #24
	add	r5, r5, #1
	bl	EDIT_UpdateText
	cmp	r6, r5
	bne	.L13
.L11:
	mov	r2, #0
	mov	r3, r8
	mov	r1, r6
	mov	r0, r4
	str	r7, [sp]
	bl	EDIT_GetLineRect
	mov	r2, r7
.L32:
	add	r1, sp, #16
	add	r0, sp, #24
	bl	IntersectRect
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L39+4
	mov	r0, r4
	ldr	r2, [r3]
	add	r1, sp, #24
	bl	EDIT_UpdateText
	b	.L1
.L38:
	ldr	r3, .L39+4
	mov	r0, r4
	ldr	r2, [r3]
	add	r1, sp, #24
	bl	EDIT_UpdateText
	b	.L10
.L37:
	add	r6, sp, #20
	mov	r2, r9
	mov	r3, r8
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	bl	EDIT_GetLineRect
	mov	r2, r6
	b	.L32
.L36:
	mov	r1, r10
	mov	r0, r4
	bl	EDIT_EM_LineIndex
	mov	r1, r0
	mov	r0, r4
	bl	EDIT_EM_LineLength
	mov	r6, r10
	mov	r8, r0
	b	.L8
.L35:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	TRUE
	.size	EDIT_ML_InvalidateText, .-EDIT_ML_InvalidateText
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
