	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_digit
_set_digit:                             ## @set_digit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	testb	$1, %sil
	jne	LBB0_3
## %bb.2:
	movq	%rsi, %r10
	cmpq	$1, %rsi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	leaq	-1(%rsi), %r10
	movslq	%edx, %r9
	imulq	$1717986919, %r9, %rdx          ## imm = 0x66666667
	movq	%rdx, %r8
	shrq	$63, %r8
	sarq	$34, %rdx
	addl	%r8d, %edx
	leal	(%rdx,%rdx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %r9d
	addb	$48, %r9b
	movb	%r9b, -1(%rdi,%rsi)
	cmpq	$1, %rsi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rsi
	imulq	$1717986919, %rsi, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx), %edx
	leal	(%rdx,%rdx,4), %r8d
	imulq	$1374389535, %rsi, %rdx         ## imm = 0x51EB851F
                                        ## kill: def $esi killed $esi killed $rsi
	subl	%r8d, %esi
	addb	$48, %sil
	movb	%sil, -1(%rdi,%r10)
	movslq	%ecx, %rcx
	imulq	$1717986919, %rcx, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %eax
	subl	%eax, %ecx
	addb	$48, %cl
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movb	%cl, -2(%rdi,%r10)
	addq	$-2, %r10
	jne	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_digit
_set_digit:                             ; @set_digit
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	sub	x8, x0, #1
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w10, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	smull	x11, w2, w9
	lsr	x12, x11, #63
	asr	x11, x11, #34
	add	w11, w11, w12
	msub	w12, w11, w10, w2
	add	w12, w12, #48
	strb	w12, [x8, x1]
	mov	x2, x11
	subs	x1, x1, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_digit
.subsections_via_symbols
