	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_WM_KillFocus
_EDIT_WM_KillFocus:                     ## @EDIT_WM_KillFocus
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_RDW_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RDW_UPDATENOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EF_FOCUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%rsi)
	xorl	%eax, %eax
	callq	_DestroyCaret
	movq	_ES_NOHIDESEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_EDIT_InvalidateText
LBB0_2:
	orl	%r12d, %r14d
	movq	_EN_KILLFOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EDIT_NOTIFY_PARENT
	movq	$0, 8(%rbx)
	movl	$0, %eax
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	_RDW_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %r14d
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_RedrawWindow
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDW_INVALIDATE,4,2             ## @RDW_INVALIDATE
	.comm	_RDW_UPDATENOW,4,2              ## @RDW_UPDATENOW
	.comm	_EF_FOCUSED,4,2                 ## @EF_FOCUSED
	.comm	_ES_NOHIDESEL,4,2               ## @ES_NOHIDESEL
	.comm	_EN_KILLFOCUS,4,2               ## @EN_KILLFOCUS
	.comm	_RDW_FRAME,4,2                  ## @RDW_FRAME
	.no_dead_strip	_EDIT_WM_KillFocus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_WM_KillFocus
_EDIT_WM_KillFocus:                     ; @EDIT_WM_KillFocus
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RDW_INVALIDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDW_INVALIDATE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _RDW_UPDATENOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDW_UPDATENOW@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _EF_FOCUSED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EF_FOCUSED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x1, #24]
	bic	w8, w9, w8
	str	w8, [x1, #24]
	bl	_DestroyCaret
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _ES_NOHIDESEL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ES_NOHIDESEL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldp	w2, w1, [x19, #16]
	mov	x0, x19
	bl	_EDIT_InvalidateText
LBB0_2:
	orr	w21, w22, w21
Lloh12:
	adrp	x8, _EN_KILLFOCUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EN_KILLFOCUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EDIT_NOTIFY_PARENT
Lloh15:
	adrp	x8, _RDW_FRAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RDW_FRAME@GOTPAGEOFF]
	str	xzr, [x19, #8]
Lloh17:
	ldr	w8, [x8]
	cmp	x20, #0
	csel	w8, wzr, w8, eq
	orr	w3, w21, w8
	ldr	w0, [x19, #4]
	mov	x1, #0
	mov	x2, #0
	bl	_RedrawWindow
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RDW_INVALIDATE,4,2             ; @RDW_INVALIDATE
	.comm	_RDW_UPDATENOW,4,2              ; @RDW_UPDATENOW
	.comm	_EF_FOCUSED,4,2                 ; @EF_FOCUSED
	.comm	_ES_NOHIDESEL,4,2               ; @ES_NOHIDESEL
	.comm	_EN_KILLFOCUS,4,2               ; @EN_KILLFOCUS
	.comm	_RDW_FRAME,4,2                  ; @RDW_FRAME
	.no_dead_strip	_EDIT_WM_KillFocus
.subsections_via_symbols
