	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_CheckDigitsInEdit
_CC_CheckDigitsInEdit:                  ## @CC_CheckDigitsInEdit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_GetWindowTextA
	movq	%rbx, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, -80(%rbp,%rdx)
	movl	$1, %r13d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rdx, %rcx
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movb	-80(%rbp,%rcx), %bl
	addb	$-58, %bl
	movslq	%eax, %rdx
	cmpb	$-11, %bl
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rcx
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-79(%rbp,%rax), %ebx
	incq	%rax
	movb	%bl, -80(%rbp,%rcx)
	decq	%rdx
	cmpq	%rdx, %rax
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %eax
	jmp	LBB0_7
LBB0_9:
	leaq	-80(%rbp), %rdi
	callq	_atoi
	movl	%eax, %r12d
	cmpl	%r14d, %eax
	jg	LBB0_12
## %bb.10:
	testl	%r13d, %r13d
	jne	LBB0_13
	jmp	LBB0_14
LBB0_11:
	leaq	-80(%rbp), %rdi
	callq	_atoi
	movl	%eax, %r12d
	cmpl	%r14d, %eax
	jle	LBB0_14
LBB0_12:
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	movl	%r14d, %edx
	callq	_sprintf
LBB0_13:
	movq	_EM_GETSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageA
	movq	%rax, %rbx
	leaq	-80(%rbp), %rsi
	movl	%r15d, %edi
	callq	_SetWindowTextA
	movq	_EM_SETSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_SendMessageA
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_EM_GETSEL,4,2                  ## @EM_GETSEL
	.comm	_EM_SETSEL,4,2                  ## @EM_SETSEL
	.no_dead_strip	_CC_CheckDigitsInEdit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_CheckDigitsInEdit
_CC_CheckDigitsInEdit:                  ; @CC_CheckDigitsInEdit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x21, sp, #10
	add	x0, sp, #10
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #10
	mov	x0, x19
	bl	_GetWindowTextA
	add	x0, sp, #10
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, #0
	mov	w22, #0
	add	x9, x21, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x21, x10]
	mov	w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, x10
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldrb	w10, [x21, x8]
	sub	w11, w10, #58
	sxtw	x10, w0
	cmn	w11, #11
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x10
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x8
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x9, x11]
	add	x13, x11, #1
	strb	w12, [x21, x8]
	sub	x10, x10, #1
	mov	x11, x13
	cmp	x13, x10
	b.lt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x10
	b	LBB0_2
LBB0_9:
	add	x0, sp, #10
	bl	_atoi
	mov	x21, x0
	cmp	w0, w20
	b.gt	LBB0_12
; %bb.10:
	cbnz	w22, LBB0_13
	b	LBB0_14
LBB0_11:
	add	x0, sp, #10
	bl	_atoi
	mov	x21, x0
	cmp	w0, w20
	b.le	LBB0_14
LBB0_12:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #10
	mov	x2, x20
	bl	_sprintf
LBB0_13:
Lloh5:
	adrp	x8, _EM_GETSEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EM_GETSEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_SendMessageA
	mov	x20, x0
	add	x1, sp, #10
	mov	x0, x19
	bl	_SetWindowTextA
Lloh8:
	adrp	x8, _EM_SETSEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EM_SETSEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	bl	_SendMessageA
LBB0_14:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_EM_GETSEL,4,2                  ; @EM_GETSEL
	.comm	_EM_SETSEL,4,2                  ; @EM_SETSEL
	.no_dead_strip	_CC_CheckDigitsInEdit
.subsections_via_symbols
