	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function countDigits
_countDigits:                           ## @countDigits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$10, %edi
	jl	LBB0_9
## %bb.1:
	movl	$4, %eax
	movl	$3518437209, %ecx               ## imm = 0xD1B71759
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$99, %edi
	jbe	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$999, %edi                      ## imm = 0x3E7
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$10000, %edi                    ## imm = 0x2710
	jb	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %edx
	imulq	%rcx, %rdx
	shrq	$45, %rdx
	addl	$4, %eax
	cmpl	$99999, %edi                    ## imm = 0x1869F
	movl	%edx, %edi
	ja	LBB0_2
## %bb.8:
	addl	$-3, %eax
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	addl	$-2, %eax
	popq	%rbp
	retq
LBB0_5:
	decl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_countDigits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function countDigits
_countDigits:                           ; @countDigits
	.cfi_startproc
; %bb.0:
	cmp	w0, #10
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #4
	mov	w9, #5977
	movk	w9, #53687, lsl #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #99
	b.ls	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #999
	b.ls	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	lsr	w10, w8, #4
	cmp	w10, #625
	b.lo	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	umull	x10, w8, w9
	lsr	w11, w8, #5
	lsr	x8, x10, #45
	add	w0, w0, #4
                                        ; kill: def $w8 killed $w8 killed $x8
	cmp	w11, #3124
	b.hi	LBB0_3
; %bb.7:
	sub	w0, w0, #3
LBB0_8:
	ret
LBB0_9:
	sub	w0, w0, #2
	ret
LBB0_10:
	sub	w0, w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_countDigits
.subsections_via_symbols
