	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdsll2str                      ## -- Begin function sdsll2str
	.p2align	4, 0x90
_sdsll2str:                             ## @sdsll2str
	.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, %rcx
	negq	%rcx
	cmovsq	%rsi, %rcx
	movabsq	$-3689348814741910323, %r9      ## imm = 0xCCCCCCCCCCCCCCCD
	movq	%rdi, %r8
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	mulq	%r9
	shrq	$3, %rdx
	leal	(%rdx,%rdx), %eax
	leal	(%rax,%rax,4), %r10d
	movl	%ecx, %eax
	subl	%r10d, %eax
	orb	$48, %al
	movb	%al, (%r8)
	incq	%r8
	cmpq	$9, %rcx
	movq	%rdx, %rcx
	ja	LBB0_1
## %bb.2:
	testq	%rsi, %rsi
	jns	LBB0_4
## %bb.3:
	movb	$45, (%r8)
	incq	%r8
LBB0_4:
	movb	$0, (%r8)
	leaq	-1(%r8), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_7
## %bb.5:
	leaq	1(%rdi), %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rcx), %esi
	movzbl	(%rax), %edx
	movb	%dl, -1(%rcx)
	movb	%sil, (%rax)
	decq	%rax
	leaq	1(%rcx), %rdx
	cmpq	%rax, %rcx
	movq	%rdx, %rcx
	jb	LBB0_6
LBB0_7:
	subl	%edi, %r8d
	movl	%r8d, %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	_sdsll2str                      ; -- Begin function sdsll2str
	.p2align	2
_sdsll2str:                             ; @sdsll2str
	.cfi_startproc
; %bb.0:
	cmp	x1, #0
	cneg	x10, x1, mi
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	mov	w11, #10
	mov	x8, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	umulh	x12, x10, x9
	lsr	x12, x12, #3
	msub	w13, w12, w11, w10
	orr	w13, w13, #0x30
	strb	w13, [x8], #1
	cmp	x10, #9
	mov	x10, x12
	b.hi	LBB0_1
; %bb.2:
	tbz	x1, #63, LBB0_4
; %bb.3:
	mov	w9, #45
	strb	w9, [x8], #1
LBB0_4:
	mov	x9, x8
	strb	wzr, [x9], #-1
	cmp	x9, x0
	b.ls	LBB0_7
; %bb.5:
	add	x10, x0, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w11, [x10, #-1]
	ldrb	w12, [x9]
	sturb	w12, [x10, #-1]
	strb	w11, [x9], #-1
	add	x11, x10, #1
	cmp	x10, x9
	mov	x10, x11
	b.lo	LBB0_6
LBB0_7:
	sub	w0, w8, w0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
