	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_WM_LButtonDown
_EDIT_WM_LButtonDown:                   ## @EDIT_WM_LButtonDown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%edx, -24(%rbp)
	movl	%ecx, -20(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movl	4(%rdi), %edi
	callq	_SetCapture
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_EDIT_ConfinePoint
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_EDIT_CharFromPos
	movq	_MK_SHIFT@GOTPCREL(%rip), %rcx
	movl	%eax, %esi
	testl	%r14d, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %esi
LBB0_2:
	movl	-28(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_EDIT_EM_SetSel
	movq	%rbx, %rdi
	callq	_EDIT_EM_ScrollCaret
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movl	$100, %edx
	xorl	%ecx, %ecx
	callq	_SetTimer
	movq	_EF_FOCUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	callq	_SetFocus
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MK_SHIFT,4,2                   ## @MK_SHIFT
	.comm	_EF_FOCUSED,4,2                 ## @EF_FOCUSED
	.no_dead_strip	_EDIT_WM_LButtonDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_WM_LButtonDown
_EDIT_WM_LButtonDown:                   ; @EDIT_WM_LButtonDown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	stp	w3, w2, [sp, #8]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #28]
	ldr	w0, [x0, #4]
	bl	_SetCapture
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_EDIT_ConfinePoint
	ldp	w2, w1, [sp, #8]
	add	x3, sp, #4
	mov	x0, x19
	bl	_EDIT_CharFromPos
	mov	x2, x0
Lloh3:
	adrp	x8, _MK_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MK_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x1, x0
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19, #24]
LBB0_2:
	ldr	w3, [sp, #4]
	mov	x0, x19
	bl	_EDIT_EM_SetSel
	mov	x0, x19
	bl	_EDIT_EM_ScrollCaret
	stp	xzr, xzr, [x19, #8]
	ldr	w0, [x19, #4]
	mov	w1, #0
	mov	w2, #100
	mov	x3, #0
	bl	_SetTimer
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _EF_FOCUSED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EF_FOCUSED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_SetFocus
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MK_SHIFT,4,2                   ; @MK_SHIFT
	.comm	_EF_FOCUSED,4,2                 ; @EF_FOCUSED
	.no_dead_strip	_EDIT_WM_LButtonDown
.subsections_via_symbols
