	.file	"4053.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"The test data is:"
.LC1:
	.string	"%zu\t,%d,\n"
.LC2:
	.string	"For the %zuth digit sorting:\n"
.LC3:
	.string	"For the final sorted data:"
.LC4:
	.string	"....%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -144[rbp], 838
	mov	DWORD PTR -140[rbp], 458
	mov	DWORD PTR -136[rbp], 977
	mov	DWORD PTR -132[rbp], 286
	mov	DWORD PTR -128[rbp], 842
	mov	DWORD PTR -124[rbp], 882
	mov	DWORD PTR -120[rbp], 817
	mov	DWORD PTR -116[rbp], 434
	mov	DWORD PTR -112[rbp], 557
	mov	DWORD PTR -108[rbp], 611
	mov	DWORD PTR -164[rbp], 3
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	QWORD PTR -160[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -160[rbp], 1
.L2:
	cmp	QWORD PTR -160[rbp], 9
	jbe	.L3
	mov	QWORD PTR -152[rbp], 0
	jmp	.L4
.L9:
	mov	QWORD PTR -160[rbp], 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, edx
	mov	edi, eax
	call	getVal
	mov	rdx, QWORD PTR -160[rbp]
	mov	DWORD PTR -96[rbp+rdx*4], eax
	add	QWORD PTR -160[rbp], 1
.L5:
	cmp	QWORD PTR -160[rbp], 9
	jbe	.L6
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	lea	rsi, -96[rbp]
	lea	rax, -144[rbp]
	mov	ecx, 10
	mov	rdi, rax
	call	counting_sort
	mov	QWORD PTR -160[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR -144[rbp+rax*4], edx
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -160[rbp], 1
.L7:
	cmp	QWORD PTR -160[rbp], 9
	jbe	.L8
	add	QWORD PTR -152[rbp], 1
.L4:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	cmp	QWORD PTR -152[rbp], rax
	jb	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	QWORD PTR -160[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -160[rbp], 1
.L10:
	cmp	QWORD PTR -160[rbp], 9
	jbe	.L11
	mov	esi, 1000
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"The temp data is:"
	.text
	.globl	counting_sort
	.type	counting_sort, @function
counting_sort:
.LFB7:
	.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 -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -96[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR -48[rbp+rax*4], 0
	add	QWORD PTR -64[rbp], 1
.L15:
	cmp	QWORD PTR -64[rbp], 9
	jbe	.L16
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	QWORD PTR -56[rbp], 0
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, 1
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	QWORD PTR -56[rbp], 1
.L17:
	cmp	QWORD PTR -56[rbp], 9
	jbe	.L18
	mov	QWORD PTR -64[rbp], 0
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -64[rbp], 1
.L19:
	cmp	QWORD PTR -64[rbp], 9
	jbe	.L20
	mov	QWORD PTR -64[rbp], 1
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, 1
	mov	eax, DWORD PTR -48[rbp+rax*4]
	add	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	QWORD PTR -64[rbp], 1
.L21:
	cmp	QWORD PTR -64[rbp], 9
	jbe	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	QWORD PTR -64[rbp], 0
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -64[rbp], 1
.L23:
	cmp	QWORD PTR -64[rbp], 9
	jbe	.L24
	mov	QWORD PTR -56[rbp], 10
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 2
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	sub	edx, 1
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	sub	QWORD PTR -56[rbp], 1
.L25:
	cmp	QWORD PTR -56[rbp], 0
	jne	.L26
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	counting_sort, .-counting_sort
	.globl	getVal
	.type	getVal, @function
getVal:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvttsd2si	edi, xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	edi
	mov	ecx, eax
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getVal, .-getVal
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1076101120
	.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	"4053.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"The test data is:\000"
	.align	2
.LC2:
	.ascii	"%zu\011,%d,\012\000"
	.align	2
.LC3:
	.ascii	"For the %zuth digit sorting:\012\000"
	.align	2
.LC4:
	.ascii	"For the final sorted data:\000"
	.align	2
.LC5:
	.ascii	"....%d\012\000"
	.align	2
.LC0:
	.word	838
	.word	458
	.word	977
	.word	286
	.word	842
	.word	882
	.word	817
	.word	434
	.word	557
	.word	611
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L14+4
	sub	ip, fp, #128
	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}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #3
	str	r3, [fp, #-132]
	ldr	r0, .L14+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L3:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r2, r3
	ldr	r1, [fp, #-140]
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L2:
	ldr	r3, [fp, #-140]
	cmp	r3, #9
	bls	.L3
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L4
.L9:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L5
.L6:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-136]
	mov	r1, r2
	mov	r0, r3
	bl	getVal
	mov	r2, r0
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L5:
	ldr	r3, [fp, #-140]
	cmp	r3, #9
	bls	.L6
	ldr	r1, [fp, #-136]
	ldr	r0, .L14+16
	bl	printf
	sub	r2, fp, #48
	sub	r1, fp, #88
	sub	r0, fp, #128
	mov	r3, #10
	bl	counting_sort
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L7
.L8:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-140]
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L7:
	ldr	r3, [fp, #-140]
	cmp	r3, #9
	bls	.L8
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L4:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-136]
	cmp	r2, r3
	bcc	.L9
	ldr	r0, .L14+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L10
.L11:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r2, r3
	ldr	r1, [fp, #-140]
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L10:
	ldr	r3, [fp, #-140]
	cmp	r3, #9
	bls	.L11
	mov	r1, #1000
	ldr	r0, .L14+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"The temp data is:\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	counting_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	counting_sort, %function
counting_sort:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L17
.L18:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L17:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bls	.L18
	ldr	r0, .L31+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L19
.L20:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-68]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L19:
	ldr	r3, [fp, #-52]
	cmp	r3, #9
	bls	.L20
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L21
.L22:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-56]
	ldr	r0, .L31+8
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L21:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bls	.L22
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L23
.L24:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L23:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bls	.L24
	ldr	r0, .L31+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L25
.L26:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-56]
	ldr	r0, .L31+8
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L25:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bls	.L26
	mov	r3, #10
	str	r3, [fp, #-52]
	b	.L27
.L28:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r1, [fp, #-68]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r1, [fp, #-72]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r1, [fp, #-68]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, r2, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
.L27:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC8
	.word	.LC7
	.word	.LC2
	.size	counting_sort, .-counting_sort
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.global	__aeabi_idiv
	.align	2
	.global	getVal
	.syntax unified
	.arm
	.fpu softvfp
	.type	getVal, %function
getVal:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L35
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L35+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	mov	r3, r2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	1076101120
	.word	1717986919
	.size	getVal, .-getVal
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
