	.file	"68888724.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"%d"
	.text
	.globl	convertArray
	.type	convertArray, @function
convertArray:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 480
	mov	QWORD PTR -456[rbp], rdi
	mov	DWORD PTR -460[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movq	rax, xmm2
	movq	xmm0, rax
	call	log10@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	cvttsd2si	eax, xmm1
	mov	DWORD PTR -420[rbp], eax
	mov	DWORD PTR -440[rbp], 0
	jmp	.L2
.L12:
	mov	DWORD PTR -436[rbp], 0
	mov	DWORD PTR -432[rbp], 0
	mov	eax, DWORD PTR -420[rbp]
	mov	DWORD PTR -428[rbp], eax
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -440[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -436[rbp], eax
	jge	.L4
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, DWORD PTR -436[rbp]
	movsd	QWORD PTR -472[rbp], xmm3
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -428[rbp]
	mov	rax, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	addsd	xmm0, QWORD PTR -472[rbp]
	mov	eax, DWORD PTR -440[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	comisd	xmm0, xmm1
	jbe	.L15
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 0
	jmp	.L7
.L15:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -428[rbp]
	mov	rax, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -440[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -456[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR [rdx]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm4, rax
	comisd	xmm4, xmm0
	seta	al
	xor	eax, 1
	movzx	edx, al
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	cmp	eax, 1
	jne	.L16
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -428[rbp]
	mov	rax, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -436[rbp]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -436[rbp], eax
	jmp	.L7
.L4:
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 0
	jmp	.L7
.L16:
	nop
.L7:
	add	DWORD PTR -432[rbp], 1
	sub	DWORD PTR -428[rbp], 1
.L3:
	cmp	DWORD PTR -428[rbp], 0
	jns	.L9
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -424[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -424[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -424[rbp], 1
.L10:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, DWORD PTR -432[rbp]
	jl	.L11
	add	DWORD PTR -440[rbp], 1
.L2:
	mov	eax, DWORD PTR -440[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L12
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	convertArray, .-convertArray
	.section	.rodata
	.align 8
.LC3:
	.string	"Enter number of digits to know: "
	.align 8
.LC4:
	.string	"Please try again, with a positive number: "
.LC5:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -440[rbp], 1
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -444[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L18
.L19:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -444[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L18:
	mov	eax, DWORD PTR -444[rbp]
	test	eax, eax
	js	.L19
	mov	DWORD PTR -436[rbp], 0
	jmp	.L20
.L26:
	mov	DWORD PTR -420[rbp], 1
	mov	DWORD PTR -432[rbp], 0
	cmp	DWORD PTR -440[rbp], 1
	jne	.L21
	add	DWORD PTR -432[rbp], 1
.L21:
	mov	DWORD PTR -428[rbp], 1
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -440[rbp]
	cdq
	idiv	DWORD PTR -428[rbp]
	mov	eax, edx
	test	eax, eax
	sete	dl
	cmp	DWORD PTR -440[rbp], 1
	sete	al
	or	eax, edx
	test	al, al
	je	.L23
	add	DWORD PTR -432[rbp], 1
.L23:
	add	DWORD PTR -428[rbp], 1
.L22:
	mov	eax, DWORD PTR -428[rbp]
	cmp	eax, DWORD PTR -440[rbp]
	jle	.L24
	cmp	DWORD PTR -432[rbp], 2
	jne	.L25
	mov	eax, DWORD PTR -436[rbp]
	cdqe
	mov	edx, DWORD PTR -440[rbp]
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -436[rbp], 1
.L25:
	add	DWORD PTR -440[rbp], 1
.L20:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -436[rbp], eax
	jl	.L26
	mov	DWORD PTR -424[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -424[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -424[rbp], 1
.L27:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -424[rbp], eax
	jl	.L28
	mov	edx, DWORD PTR -444[rbp]
	lea	rax, -416[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	convertArray
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1352628735
	.long	1070810131
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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	"68888724.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_dadd
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convertArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	convertArray, %function
convertArray:
	@ args = 0, pretend = 0, frame = 440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #444
	str	r0, [fp, #-456]
	str	r1, [fp, #-460]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-460]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-456]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log10
	ldr	r2, .L18+4
	ldr	r3, .L18+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-448]
	b	.L2
.L13:
	mov	r3, #0
	str	r3, [fp, #-444]
	mov	r3, #0
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-428]
	str	r3, [fp, #-436]
	b	.L3
.L10:
	ldr	r3, [fp, #-448]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-456]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-444]
	cmp	r2, r3
	bge	.L4
	ldr	r0, [fp, #-444]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-436]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-448]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-456]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-404]
	b	.L7
.L16:
	ldr	r0, [fp, #-436]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-448]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-456]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, #1
	mov	r6, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	mov	r6, r3
.L8:
	and	r3, r6, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	cmp	r3, #1
	bne	.L17
	ldr	r0, [fp, #-436]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-444]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-444]
	b	.L7
.L4:
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-404]
	b	.L7
.L17:
	nop
.L7:
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-436]
	sub	r3, r3, #1
	str	r3, [fp, #-436]
.L3:
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	bge	.L10
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L11
.L12:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L11:
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-440]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-448]
	add	r3, r3, #1
	str	r3, [fp, #-448]
.L2:
	ldr	r2, [fp, #-448]
	ldr	r3, [fp, #-460]
	cmp	r2, r3
	blt	.L13
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	1352628735
	.word	1070810131
	.word	.LC0
	.size	convertArray, .-convertArray
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter number of digits to know: \000"
	.align	2
.LC3:
	.ascii	"Please try again, with a positive number: \000"
	.global	__aeabi_idivmod
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-432]
	ldr	r0, .L34+4
	bl	printf
	sub	r3, fp, #436
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	b	.L21
.L22:
	ldr	r0, .L34+12
	bl	printf
	sub	r3, fp, #436
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
.L21:
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	blt	.L22
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L23
.L29:
	mov	r3, #1
	str	r3, [fp, #-412]
	mov	r3, #0
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-432]
	cmp	r3, #1
	bne	.L24
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L24:
	mov	r3, #1
	str	r3, [fp, #-420]
	b	.L25
.L27:
	ldr	r3, [fp, #-432]
	ldr	r1, [fp, #-420]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-432]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L26:
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L25:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-432]
	cmp	r2, r3
	ble	.L27
	ldr	r3, [fp, #-424]
	cmp	r3, #2
	bne	.L28
	ldr	r3, [fp, #-428]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-432]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L28:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L23:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-428]
	cmp	r2, r3
	blt	.L29
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L30
.L31:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L30:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-416]
	cmp	r2, r3
	blt	.L31
	ldr	r2, [fp, #-436]
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	convertArray
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC5
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
