	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_WM_SetFocus
_EDIT_WM_SetFocus:                      ## @EDIT_WM_SetFocus
	.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, %r14
	movq	_RDW_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RDW_UPDATENOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_EF_FOCUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rsi)
	movq	_ES_NOHIDESEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rsi)
	jne	LBB0_2
## %bb.1:
	movl	12(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_EDIT_InvalidateText
LBB0_2:
	orl	%r12d, %r15d
	movl	8(%rbx), %edi
	movl	16(%rbx), %ecx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_CreateCaret
	movl	12(%rbx), %esi
	movq	_EF_AFTER_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_EDIT_SetCaretPos
	movl	8(%rbx), %edi
	callq	_ShowCaret
	movq	_EN_SETFOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EDIT_NOTIFY_PARENT
	movq	_RDW_FRAME@GOTPCREL(%rip), %rax
	movq	_RDW_ERASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testq	%r14, %r14
	cmovel	%r12d, %ecx
	orl	%r15d, %ecx
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RedrawWindow                   ## TAILCALL
	.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	_EF_AFTER_WRAP,4,2              ## @EF_AFTER_WRAP
	.comm	_EN_SETFOCUS,4,2                ## @EN_SETFOCUS
	.comm	_RDW_FRAME,4,2                  ## @RDW_FRAME
	.comm	_RDW_ERASE,4,2                  ## @RDW_ERASE
	.no_dead_strip	_EDIT_WM_SetFocus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_WM_SetFocus
_EDIT_WM_SetFocus:                      ; @EDIT_WM_SetFocus
	.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, _EF_FOCUSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EF_FOCUSED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w10, [x1]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _RDW_UPDATENOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDW_UPDATENOW@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x9]
	str	w8, [x1]
Lloh9:
	adrp	x8, _ES_NOHIDESEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ES_NOHIDESEL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w10
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x19, #20]
	ldr	w2, [x19, #12]
	mov	x0, x19
	bl	_EDIT_InvalidateText
LBB0_2:
	orr	w21, w22, w21
	ldr	w0, [x19, #8]
	ldr	w3, [x19, #16]
	mov	w1, #0
	mov	w2, #1
	bl	_CreateCaret
	ldr	w1, [x19, #12]
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _EF_AFTER_WRAP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EF_AFTER_WRAP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x19
	bl	_EDIT_SetCaretPos
	ldr	w0, [x19, #8]
	bl	_ShowCaret
Lloh15:
	adrp	x8, _EN_SETFOCUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EN_SETFOCUS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EDIT_NOTIFY_PARENT
Lloh18:
	adrp	x8, _RDW_FRAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RDW_FRAME@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _RDW_ERASE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RDW_ERASE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	x20, #0
	csel	w8, wzr, w8, eq
	orr	w3, w21, w8
	ldr	w0, [x19, #8]
	mov	x1, #0
	mov	x2, #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
	b	_RedrawWindow
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_EF_AFTER_WRAP,4,2              ; @EF_AFTER_WRAP
	.comm	_EN_SETFOCUS,4,2                ; @EN_SETFOCUS
	.comm	_RDW_FRAME,4,2                  ; @RDW_FRAME
	.comm	_RDW_ERASE,4,2                  ; @RDW_ERASE
	.no_dead_strip	_EDIT_WM_SetFocus
.subsections_via_symbols
