	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function teken_state_numbers
_teken_state_numbers:                   ## @teken_state_numbers
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_T_NUMSIZE@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setb	%dil
	callq	_teken_assert
	leal	-48(%r14), %ecx
	cmpb	$9, %cl
	ja	LBB0_5
## %bb.1:
	movl	8(%rbx), %eax
	movq	_TS_FIRSTDIGIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %edx
	je	LBB0_3
## %bb.2:
	notl	%edx
	andl	%edx, %eax
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	movq	16(%rbx), %rdx
	movb	%cl, (%rdx,%rax)
	movl	$1, %eax
	jmp	LBB0_15
LBB0_5:
	movq	_TS_FIRSTDIGIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	8(%rbx), %edx
	cmpb	$59, %r14b
	jne	LBB0_11
## %bb.6:
	testl	%edx, %edx
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movb	$0, (%rdx,%rcx)
LBB0_8:
	movq	(%rbx), %rcx
	incq	%rcx
	movq	%rcx, (%rbx)
	cmpq	(%r15), %rcx
	jne	LBB0_10
## %bb.9:
	movq	_teken_state_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_teken_state_switch
	movl	$1, %eax
	jmp	LBB0_15
LBB0_11:
	movq	(%rbx), %rcx
	testl	%edx, %edx
	je	LBB0_14
## %bb.12:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:
	movq	16(%rbx), %rdx
	movb	$0, (%rdx,%rcx)
	incq	(%rbx)
	jmp	LBB0_15
LBB0_3:
	movq	(%rbx), %rdx
	movq	16(%rbx), %rsi
	movsbl	(%rsi,%rdx), %edi
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$37, %rbx
	addl	%eax, %ebx
	movl	$1, %eax
	cmpl	%edi, %ebx
	jle	LBB0_15
## %bb.4:
	movzbl	%dil, %edi
	addl	%edi, %edi
	leal	(%rdi,%rdi,4), %edi
	addb	%dil, %cl
	movb	%cl, (%rsi,%rdx)
	jmp	LBB0_15
LBB0_10:
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movl	$1, %eax
	jmp	LBB0_15
LBB0_14:
	incq	%rcx
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_T_NUMSIZE,8,3                  ## @T_NUMSIZE
	.comm	_TS_FIRSTDIGIT,4,2              ## @TS_FIRSTDIGIT
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_teken_state_init,4,2           ## @teken_state_init
	.no_dead_strip	_teken_state_numbers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function teken_state_numbers
_teken_state_numbers:                   ; @teken_state_numbers
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _T_NUMSIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _T_NUMSIZE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lo
	bl	_teken_assert
	sub	w8, w20, #48
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
	ldr	w9, [x19, #8]
Lloh2:
	adrp	x10, _TS_FIRSTDIGIT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TS_FIRSTDIGIT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.2:
	bic	w9, w9, w10
	str	w9, [x19, #8]
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	b	LBB0_14
LBB0_3:
	ldr	w9, [x19, #8]
Lloh5:
	adrp	x8, _TS_FIRSTDIGIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TS_FIRSTDIGIT@GOTPAGEOFF]
	ldr	w10, [x8]
	and	w9, w10, w9
	cmp	w20, #59
	b.ne	LBB0_8
; %bb.4:
	cbz	w9, LBB0_6
; %bb.5:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	strb	wzr, [x9, x10]
LBB0_6:
	ldr	x9, [x19]
	add	x9, x9, #1
	str	x9, [x19]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.7:
Lloh7:
	adrp	x8, _teken_state_init@GOTPAGE
Lloh8:
	ldr	x8, [x8, _teken_state_init@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_teken_state_switch
	b	LBB0_16
LBB0_8:
	ldr	x8, [x19]
	mov	w0, #0
	cbz	w9, LBB0_11
; %bb.9:
	cbz	x8, LBB0_17
; %bb.10:
	ldr	x9, [x19, #16]
	strb	wzr, [x9, x8]
	ldr	x8, [x19]
LBB0_11:
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_17
LBB0_12:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldrsb	w11, [x9, x10]
Lloh10:
	adrp	x12, _UINT_MAX@GOTPAGE
Lloh11:
	ldr	x12, [x12, _UINT_MAX@GOTPAGEOFF]
Lloh12:
	ldrsw	x12, [x12]
	mov	w13, #34079
	movk	w13, #20971, lsl #16
	mul	x12, x12, x13
	lsr	x13, x12, #63
	asr	x12, x12, #37
	add	w12, w12, w13
	cmp	w12, w11
	b.le	LBB0_16
; %bb.13:
	and	w11, w11, #0xff
	mov	w12, #10
	madd	w8, w11, w12, w8
LBB0_14:
	strb	w8, [x9, x10]
	b	LBB0_16
LBB0_15:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_16:
	mov	w0, #1
LBB0_17:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_T_NUMSIZE,8,3                  ; @T_NUMSIZE
	.comm	_TS_FIRSTDIGIT,4,2              ; @TS_FIRSTDIGIT
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_teken_state_init,4,2           ; @teken_state_init
	.no_dead_strip	_teken_state_numbers
.subsections_via_symbols
