	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idx_to_str
_idx_to_str:                            ## @idx_to_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
                                        ## kill: def $edi killed $edi def $rdi
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	addq	$4, %rax
	movq	%rax, %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-4(%r8), %rax
	movslq	%edi, %rdx
	imulq	$1717986919, %rdx, %rsi         ## imm = 0x66666667
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$34, %rsi
	addl	%ecx, %esi
	leal	(%rsi,%rsi), %ecx
	leal	(%rcx,%rcx,4), %ecx
	negl	%ecx
	addl	%edi, %ecx
	addl	$48, %ecx
	movl	%ecx, -4(%r8)
	addl	$9, %edx
	movq	%rax, %r8
	movl	%esi, %edi
	cmpl	$18, %edx
	ja	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_4:
	movl	$48, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_idx_to_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idx_to_str
_idx_to_str:                            ; @idx_to_str
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_4
; %bb.1:
	add	x1, x1, #4
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	mov	w9, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	smull	x10, w0, w8
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	msub	w11, w10, w9, w0
	add	w11, w11, #48
	str	w11, [x1, #-4]!
	add	w11, w0, #9
	mov	x0, x10
	cmp	w11, #18
	b.hi	LBB0_2
; %bb.3:
	mov	x0, x1
	ret
LBB0_4:
	mov	w8, #48
	str	w8, [x1]
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_idx_to_str
.subsections_via_symbols
