	.file	"612264.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%u %u\n"
.LC1:
	.string	"\nTop %u count : %u\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, 224
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -160[rbp], eax
	mov	eax, DWORD PTR -160[rbp]
	add	eax, 1
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -152[rbp], rax
	lea	rdx, -144[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -144[rbp], 1
	mov	DWORD PTR -200[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -200[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -200[rbp], 1
.L2:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	jbe	.L3
	mov	DWORD PTR -196[rbp], 2
	jmp	.L4
.L15:
	mov	eax, DWORD PTR -196[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jbe	.L5
	mov	eax, DWORD PTR -196[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -196[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -152[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -196[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L6
.L5:
	mov	DWORD PTR -192[rbp], 1
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -192[rbp]
	sub	eax, 1
	mov	eax, eax
	mov	eax, DWORD PTR -144[rbp+rax*4]
	imul	eax, DWORD PTR -196[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -192[rbp], 1
.L7:
	mov	eax, DWORD PTR -192[rbp]
	sub	eax, 1
	mov	eax, eax
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -160[rbp]
	mov	edx, 0
	div	DWORD PTR -196[rbp]
	cmp	ecx, eax
	jbe	.L8
	mov	eax, DWORD PTR -196[rbp]
	sub	eax, 1
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -196[rbp]
	add	eax, eax
	mov	DWORD PTR -184[rbp], eax
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -140[rbp]
	add	eax, 1
	mov	DWORD PTR -180[rbp], eax
	sub	DWORD PTR -188[rbp], 1
	cmp	DWORD PTR -188[rbp], 0
	jne	.L10
	mov	DWORD PTR -176[rbp], 2
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -176[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -176[rbp], edx
	mov	eax, eax
	mov	eax, DWORD PTR -144[rbp+rax*4]
	add	DWORD PTR -180[rbp], eax
.L11:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -192[rbp]
	jnb	.L12
	mov	eax, DWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -184[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, edx
	test	eax, eax
	je	.L13
.L12:
	mov	eax, DWORD PTR -196[rbp]
	mov	DWORD PTR -188[rbp], eax
.L10:
	mov	eax, DWORD PTR -184[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -184[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -152[rbp]
	add	rdx, rcx
	imul	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -196[rbp]
	add	DWORD PTR -184[rbp], eax
.L9:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	jbe	.L14
.L6:
	add	DWORD PTR -196[rbp], 1
.L4:
	mov	eax, DWORD PTR -196[rbp]
	add	eax, eax
	cmp	DWORD PTR -160[rbp], eax
	jnb	.L15
	mov	eax, DWORD PTR -160[rbp]
	shr	eax
	add	eax, 1
	mov	DWORD PTR -172[rbp], eax
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -172[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jbe	.L17
	mov	eax, DWORD PTR -172[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -172[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -152[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -172[rbp]
	mov	DWORD PTR [rdx], eax
.L17:
	add	DWORD PTR -172[rbp], 1
.L16:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	jbe	.L18
	mov	DWORD PTR -168[rbp], 0
	mov	DWORD PTR -164[rbp], 1
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -164[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jbe	.L20
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	ja	.L20
	mov	eax, DWORD PTR -156[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -164[rbp], eax
	jne	.L20
	mov	edx, DWORD PTR -156[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -168[rbp], 1
.L20:
	add	DWORD PTR -164[rbp], 1
.L19:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	jbe	.L21
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"612264.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u %u\012\000"
	.align	2
.LC1:
	.ascii	"\012Top %u count : %u\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #196
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-152]
	sub	r3, fp, #144
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-196]
	b	.L2
.L3:
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-196]
	add	r3, r3, #1
	str	r3, [fp, #-196]
.L2:
	ldr	r2, [fp, #-196]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L3
	mov	r3, #2
	str	r3, [fp, #-192]
	b	.L4
.L15:
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bls	.L5
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r2, [fp, #-192]
	sub	r2, r1, r2
	str	r2, [r3]
	b	.L6
.L5:
	mov	r3, #1
	str	r3, [fp, #-188]
	b	.L7
.L8:
	ldr	r3, [fp, #-188]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	ldr	r2, [fp, #-192]
	mul	r2, r3, r2
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-132]
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L7:
	ldr	r3, [fp, #-188]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-132]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-156]
	bl	__aeabi_uidiv
	mov	r3, r0
	cmp	r4, r3
	bls	.L8
	ldr	r3, [fp, #-192]
	sub	r3, r3, #1
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #1
	str	r3, [fp, #-180]
	b	.L9
.L14:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-184]
	sub	r3, r3, #1
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L10
	mov	r3, #2
	str	r3, [fp, #-172]
	b	.L11
.L13:
	ldr	r3, [fp, #-172]
	add	r2, r3, #1
	str	r2, [fp, #-172]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	str	r3, [fp, #-176]
.L11:
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	bcs	.L12
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-180]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r3, [fp, #-192]
	str	r3, [fp, #-184]
.L10:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-152]
	add	r3, r1, r3
	ldr	r1, [fp, #-176]
	mul	r2, r1, r2
	str	r2, [r3]
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-192]
	add	r3, r2, r3
	str	r3, [fp, #-180]
.L9:
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L14
.L6:
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L4:
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bcs	.L15
	ldr	r3, [fp, #-156]
	lsr	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-168]
	b	.L16
.L18:
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bls	.L17
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r2, [fp, #-168]
	sub	r2, r1, r2
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L16:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L18
	mov	r3, #0
	str	r3, [fp, #-164]
	mov	r3, #1
	str	r3, [fp, #-160]
	b	.L19
.L21:
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-148]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bls	.L20
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bhi	.L20
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-160]
	cmp	r2, r3
	bne	.L20
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-160]
	ldr	r0, .L24+4
	bl	printf
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L20:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L19:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L21
	ldr	r2, [fp, #-164]
	ldr	r1, [fp, #-156]
	ldr	r0, .L24+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
