	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSelectionTextLength         ## -- Begin function GetSelectionTextLength
	.p2align	4, 0x90
_GetSelectionTextLength:                ## @GetSelectionTextLength
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	movl	$0, -4(%rbp)
	movq	_EM_GETSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %rcx
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessage
	movl	-4(%rbp), %eax
	subl	-8(%rbp), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EM_GETSEL,4,2                  ## @EM_GETSEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSelectionTextLength         ; -- Begin function GetSelectionTextLength
	.p2align	2
_GetSelectionTextLength:                ; @GetSelectionTextLength
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	wzr, [x29, #-4]
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _EM_GETSEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EM_GETSEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	add	x3, sp, #8
	bl	_SendMessage
	ldr	w8, [sp, #8]
	ldur	w9, [x29, #-4]
	sub	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EM_GETSEL,4,2                  ; @EM_GETSEL
.subsections_via_symbols
