	.file	"extr_edit.c_EDIT_WM_KillFocus.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	EDIT_WM_KillFocus, @function
EDIT_WM_KillFocus:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR EF_FOCUSED[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	r12d, DWORD PTR RDW_INVALIDATE[rip]
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	not	eax
	mov	rbx, rsi
	or	r12d, DWORD PTR RDW_UPDATENOW[rip]
	and	DWORD PTR 24[rsi], eax
	xor	eax, eax
	call	DestroyCaret@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ES_NOHIDESEL[rip], eax
	je	.L9
.L2:
	mov	esi, DWORD PTR EN_KILLFOCUS[rip]
	mov	rdi, rbx
	call	EDIT_NOTIFY_PARENT@PLT
	mov	QWORD PTR 8[rbx], 0
	test	rbp, rbp
	je	.L3
	or	r12d, DWORD PTR RDW_FRAME[rip]
.L3:
	mov	edi, DWORD PTR 4[rbx]
	mov	ecx, r12d
	xor	edx, edx
	xor	esi, esi
	call	RedrawWindow@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 20[rbx]
	mov	rdi, rbx
	call	EDIT_InvalidateText@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	EDIT_WM_KillFocus, .-EDIT_WM_KillFocus
	.comm	RDW_UPDATENOW,4,4
	.comm	RDW_INVALIDATE,4,4
	.comm	RDW_FRAME,4,4
	.comm	ES_NOHIDESEL,4,4
	.comm	EN_KILLFOCUS,4,4
	.comm	EF_FOCUSED,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_WM_KillFocus.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	EDIT_WM_KillFocus, %function
EDIT_WM_KillFocus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r2, .L10
	ldr	r3, [r1, #20]
	ldr	ip, [r2]
	ldr	r1, .L10+4
	ldr	r2, .L10+8
	bic	r3, r3, ip
	ldr	r2, [r2]
	ldr	r5, [r1]
	str	r3, [r4, #20]
	orr	r5, r5, r2
	mov	r6, r0
	bl	DestroyCaret
	ldr	r3, .L10+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L9
.L2:
	ldr	r3, .L10+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	EDIT_NOTIFY_PARENT
	mov	r3, #0
	mov	r2, #0
	cmp	r6, r3
	str	r3, [r4, #8]
	ldrne	r3, .L10+20
	mov	r1, r2
	ldrne	r3, [r3]
	ldr	r0, [r4, #4]
	orrne	r5, r5, r3
	mov	r3, r5
	bl	RedrawWindow
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r4
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #16]
	bl	EDIT_InvalidateText
	b	.L2
.L11:
	.align	2
.L10:
	.word	EF_FOCUSED
	.word	RDW_INVALIDATE
	.word	RDW_UPDATENOW
	.word	ES_NOHIDESEL
	.word	EN_KILLFOCUS
	.word	RDW_FRAME
	.size	EDIT_WM_KillFocus, .-EDIT_WM_KillFocus
	.comm	RDW_UPDATENOW,4,4
	.comm	RDW_INVALIDATE,4,4
	.comm	RDW_FRAME,4,4
	.comm	ES_NOHIDESEL,4,4
	.comm	EN_KILLFOCUS,4,4
	.comm	EF_FOCUSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
