	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdsull2str                     ## -- Begin function sdsull2str
	.p2align	4, 0x90
_sdsull2str:                            ## @sdsull2str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%ecx, %ecx
	movabsq	$-3689348814741910323, %r8      ## imm = 0xCCCCCCCCCCCCCCCD
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	mulq	%r8
	shrq	$3, %rdx
	leal	(%rdx,%rdx), %eax
	leal	(%rax,%rax,4), %r9d
	movl	%esi, %eax
	subl	%r9d, %eax
	orb	$48, %al
	movb	%al, (%rdi,%rcx)
	incq	%rcx
	cmpq	$9, %rsi
	movq	%rdx, %rsi
	ja	LBB0_1
## %bb.2:
	movb	$0, (%rdi,%rcx)
	cmpq	$1, %rcx
	je	LBB0_6
## %bb.3:
	leaq	-1(%rcx), %rsi
	movb	(%rdi), %dl
	movb	%al, (%rdi)
	movb	%dl, -1(%rdi,%rcx)
	cmpq	$3, %rsi
	jb	LBB0_6
## %bb.4:
	leaq	(%rdi,%rcx), %rax
	addq	$-2, %rax
	addq	$2, %rdi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	movzbl	-1(%rdi), %esi
	movb	%dl, -1(%rdi)
	movb	%sil, (%rax)
	decq	%rax
	leaq	1(%rdi), %rdx
	cmpq	%rax, %rdi
	movq	%rdx, %rdi
	jb	LBB0_5
LBB0_6:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdsull2str                     ; -- Begin function sdsull2str
	.p2align	2
_sdsull2str:                            ; @sdsull2str
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	mov	w10, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	umulh	x11, x1, x9
	lsr	x12, x11, #3
	msub	w11, w12, w10, w1
	orr	w11, w11, #0x30
	strb	w11, [x8, x0]
	add	x0, x0, #1
	cmp	x1, #9
	mov	x1, x12
	b.hi	LBB0_1
; %bb.2:
	add	x9, x8, x0
	strb	wzr, [x9]
	subs	x10, x0, #1
	b.eq	LBB0_6
; %bb.3:
	ldrb	w12, [x8]
	strb	w11, [x8]
	sturb	w12, [x9, #-1]
	cmp	x10, #3
	b.lo	LBB0_6
; %bb.4:
	add	x9, x8, x0
	sub	x9, x9, #2
	add	x8, x8, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	ldurb	w11, [x8, #-1]
	sturb	w10, [x8, #-1]
	strb	w11, [x9], #-1
	add	x10, x8, #1
	cmp	x8, x9
	mov	x8, x10
	b.lo	LBB0_5
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
