	.file	"extr_sds.c_sdsll2str.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sdsll2str
	.type	sdsll2str, @function
sdsll2str:
.LFB0:
	.cfi_startproc
	endbr64
	movabs	r10, -3689348814741910323
	mov	rax, rsi
	mov	r8, rdi
	sar	rax, 63
	mov	r9, rax
	xor	r9, rsi
	sub	r9, rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, r9
	mov	r11, r9
	mov	rcx, r8
	add	r8, 1
	mul	r10
	shr	rdx, 3
	lea	rax, [rdx+rdx*4]
	add	rax, rax
	sub	r11, rax
	mov	rax, r11
	add	eax, 48
	mov	BYTE PTR -1[r8], al
	mov	rax, r9
	mov	r9, rdx
	cmp	rax, 9
	ja	.L2
	test	rsi, rsi
	jns	.L3
	lea	rax, 2[rcx]
	mov	BYTE PTR [r8], 45
	mov	rcx, r8
	mov	r8, rax
.L3:
	mov	rax, r8
	mov	BYTE PTR [r8], 0
	sub	rax, rdi
	cmp	rdi, rcx
	jnb	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	edx, BYTE PTR [rdi]
	movzx	esi, BYTE PTR [rcx]
	add	rdi, 1
	sub	rcx, 1
	mov	BYTE PTR -1[rdi], sil
	mov	BYTE PTR 1[rcx], dl
	cmp	rdi, rcx
	jb	.L4
.L9:
	ret
	.cfi_endproc
.LFE0:
	.size	sdsll2str, .-sdsll2str
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sds.c_sdsll2str.c"
	.text
	.global	__aeabi_uldivmod
	.global	__aeabi_ldivmod
	.align	2
	.global	sdsll2str
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdsll2str, %function
sdsll2str:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	mov	r8, r2
	mov	fp, r0
	asr	r3, r3, #31
	eor	r4, r3, r2
	sub	sp, sp, #12
	eor	r5, r3, r9
	subs	r4, r4, r3
	str	r0, [sp, #4]
	sbc	r5, r5, r3
.L2:
	mov	r0, r4
	mov	r1, r5
	mov	r2, #10
	mov	r3, #0
	bl	__aeabi_uldivmod
	add	ip, r2, #48
	mov	r0, r4
	mov	r1, r5
	mov	r10, fp
	mov	r2, #10
	mov	r3, #0
	strb	ip, [fp], #1
	bl	__aeabi_uldivmod
	cmp	r5, #0
	cmpeq	r4, #9
	mov	r5, r1
	mov	r4, r0
	bhi	.L2
	cmp	r8, #0
	sbcs	r3, r9, #0
	movlt	r2, #45
	addlt	r3, r10, #2
	movlt	r10, fp
	strblt	r2, [fp]
	movlt	fp, r3
	mov	r3, #0
	ldr	r2, [sp, #4]
	strb	r3, [fp]
	cmp	r2, r10
	mov	r3, r2
	sub	r0, fp, r2
	bcs	.L1
.L5:
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [r10]	@ zero_extendqisi2
	strb	r1, [r3], #1
	strb	r2, [r10], #-1
	cmp	r10, r3
	bhi	.L5
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	sdsll2str, .-sdsll2str
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
