	.file	"692167.c"
	.intel_syntax noprefix
	.text
	.globl	putDigits
	.type	putDigits, @function
putDigits:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 3
	add	eax, edx
	sar	eax, 12
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, eax, -100
	add	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 205
	sar	eax, 11
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	imul	edx, eax, -10
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 48
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -12[rbp], 0
	jne	.L2
	cmp	DWORD PTR -8[rbp], 0
	jne	.L2
	cmp	DWORD PTR -4[rbp], 0
	jne	.L2
	mov	edx, 1
	jmp	.L3
.L2:
	mov	edx, 0
.L3:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L4
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	add	edx, eax
	cmp	DWORD PTR -4[rbp], 0
	sete	al
	movzx	eax, al
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	putDigits, .-putDigits
	.globl	powers10
	.data
	.align 32
	.type	powers10, @object
	.size	powers10, 160
powers10:
	.quad	1
	.quad	10
	.quad	100
	.quad	1000
	.quad	10000
	.quad	100000
	.quad	1000000
	.quad	10000000
	.quad	100000000
	.quad	1000000000
	.quad	10000000000
	.quad	100000000000
	.quad	1000000000000
	.quad	10000000000000
	.quad	100000000000000
	.quad	1000000000000000
	.quad	10000000000000000
	.quad	100000000000000000
	.quad	1000000000000000000
	.quad	-8446744073709551616
	.text
	.globl	log10int
	.type	log10int, @function
log10int:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 64
	mov	rax, QWORD PTR -24[rbp]
	bsr	rax, rax
	xor	rax, 63
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, edx
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	setg	al
	movzx	ecx, al
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	esi, eax
	mov	eax, edx
	sub	eax, esi
	add	eax, 1
	imul	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, powers10[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	cmp	rdx, rax
	seta	al
	movzx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	log10int, .-log10int
	.globl	groupDigits
	.type	groupDigits, @function
groupDigits:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rdx, rax, -1000
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rdx, rax, -1000
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	sal	rax, 10
	or	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rdx, rax, -1000
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	sal	rax, 20
	or	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	groupDigits, .-groupDigits
	.globl	quantityFromInt
	.type	quantityFromInt, @function
quantityFromInt:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	not	rax
	shr	rax, 63
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	shr	rdx, 63
	movzx	edx, dl
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	imul	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	groupDigits
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	quantityFromInt, .-quantityFromInt
	.globl	quantityFromString
	.type	quantityFromString, @function
quantityFromString:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rax, -32[rbp]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, -32[rbp]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, -32[rbp]
	add	rax, 8
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -32[rbp]
	add	rax, 16
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	cdqe
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, eax, 100
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	add	QWORD PTR -40[rbp], 1
.L14:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L15
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L16
.L15:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	quantityFromString, .-quantityFromString
	.section	.rodata
.LC0:
	.string	"987"
.LC1:
	.string	"quantity: %ld or: %ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -96[rbp], rax
	cmp	DWORD PTR -116[rbp], 1
	jle	.L20
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
.L20:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoll@PLT
	mov	rdi, rax
	call	quantityFromInt
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	quantityFromString
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movabs	rax, 7310593875233369923
	movabs	rdx, 8247343400768249956
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 6872247003299409513
	movabs	rdx, 4998818974631157599
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -16[rbp], 680997
	lea	rax, -48[rbp]
	mov	esi, 95
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	cqo
	mov	rax, rdx
	xor	rax, QWORD PTR -88[rbp]
	sub	rax, rdx
	and	eax, 1073741823
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	sar	rax, 20
	and	eax, 1023
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jle	.L21
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putDigits
.L21:
	mov	rax, QWORD PTR -56[rbp]
	sar	rax, 10
	and	eax, 1023
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jle	.L22
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 3[rax]
	mov	eax, DWORD PTR -100[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putDigits
.L22:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 6[rax]
	mov	rax, QWORD PTR -56[rbp]
	and	eax, 1023
	mov	rsi, rdx
	mov	edi, eax
	call	putDigits
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"692167.c"
	.text
	.align	2
	.global	putDigits
	.syntax unified
	.arm
	.fpu softvfp
	.type	putDigits, %function
putDigits:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	asr	r3, r3, #12
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mvn	r2, #99
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	asr	r3, r3, #11
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #29
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r2, #1
	b	.L3
.L2:
	mov	r2, #0
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #0
.L5:
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, #0
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	putDigits, .-putDigits
	.global	powers10
	.data
	.align	3
	.type	powers10, %object
	.size	powers10, 160
powers10:
	.word	1
	.word	0
	.word	10
	.word	0
	.word	100
	.word	0
	.word	1000
	.word	0
	.word	10000
	.word	0
	.word	100000
	.word	0
	.word	1000000
	.word	0
	.word	10000000
	.word	0
	.word	100000000
	.word	0
	.word	1000000000
	.word	0
	.word	1410065408
	.word	2
	.word	1215752192
	.word	23
	.word	-727379968
	.word	232
	.word	1316134912
	.word	2328
	.word	276447232
	.word	23283
	.word	-1530494976
	.word	232830
	.word	1874919424
	.word	2328306
	.word	1569325056
	.word	23283064
	.word	-1486618624
	.word	232830643
	.word	-1981284352
	.word	-1966660860
	.text
	.align	2
	.global	log10int
	.syntax unified
	.arm
	.fpu softvfp
	.type	log10int, %function
log10int:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r3, #64
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	beq	.L8
	clz	r3, r3
	b	.L9
.L8:
	clz	r3, r2
	add	r3, r3, #32
.L9:
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L11
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r3, #1
	mul	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r2, .L11+4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-8]
	sub	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	1717986919
	.word	powers10
	.size	log10int, .-log10int
	.align	2
	.global	groupDigits
	.syntax unified
	.arm
	.fpu softvfp
	.type	groupDigits, %function
groupDigits:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L15
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #22
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, .L15
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #22
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #10
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, .L15
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #22
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #20
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	274877907
	.size	groupDigits, .-groupDigits
	.align	2
	.global	quantityFromInt
	.syntax unified
	.arm
	.fpu softvfp
	.type	quantityFromInt, %function
quantityFromInt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, [fp, #-16]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #31
	and	r3, r3, #255
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-16]
	mul	r2, r0, r3
	ldr	r3, [fp, #-20]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-20]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	groupDigits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	quantityFromInt, .-quantityFromInt
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	quantityFromString
	.syntax unified
	.arm
	.fpu softvfp
	.type	quantityFromString, %function
quantityFromString:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	sub	r3, fp, #20
	str	r3, [fp, #-44]
	sub	r3, fp, #20
	str	r3, [fp, #-40]
	sub	r3, fp, #20
	add	r3, r3, #4
	str	r3, [fp, #-36]
	sub	r3, fp, #20
	add	r3, r3, #8
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-28]
	b	.L20
.L22:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	lsl	r2, r3, #10
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L20:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L21
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L22
.L21:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC0
	.size	quantityFromString, .-quantityFromString
	.section	.rodata
	.align	2
.LC1:
	.ascii	"987\000"
	.align	2
.LC2:
	.ascii	"quantity: %ld or: %ld\012\000"
	.align	2
.LC3:
	.ascii	"Converted to string = _________E%d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L33+4
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	ble	.L28
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-72]
.L28:
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	quantityFromInt
	str	r0, [fp, #-68]
	ldr	r0, [fp, #-72]
	bl	quantityFromString
	str	r0, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r0, .L33+8
	bl	printf
	ldr	r3, .L33+12
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #44
	mov	r1, #95
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	rsblt	r3, r3, #0
	bic	r3, r3, #-1073741824
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	asr	r3, r3, #20
	lsl	r3, r3, #22
	lsr	r3, r3, #22
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L29
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-48]
	bl	putDigits
.L29:
	ldr	r3, [fp, #-52]
	asr	r3, r3, #10
	lsl	r3, r3, #22
	lsr	r3, r3, #22
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L30
	ldr	r3, [fp, #-60]
	add	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	putDigits
.L30:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #22
	lsr	r3, r3, #22
	ldr	r2, [fp, #-60]
	add	r2, r2, #6
	mov	r1, r2
	mov	r0, r3
	bl	putDigits
	sub	r3, fp, #44
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	printf
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
