	.file	"55101.c"
	.intel_syntax noprefix
	.text
	.globl	ind
	.bss
	.align 4
	.type	ind, @object
	.size	ind, 4
ind:
	.zero	4
	.globl	sum
	.align 4
	.type	sum, @object
	.size	sum, 4
sum:
	.zero	4
	.globl	lim
	.align 4
	.type	lim, @object
	.size	lim, 4
lim:
	.zero	4
	.globl	cnt
	.align 4
	.type	cnt, @object
	.size	cnt, 4
cnt:
	.zero	4
	.globl	A
	.align 32
	.type	A, @object
	.size	A, 108
A:
	.zero	108
	.text
	.globl	choose
	.type	choose, @function
choose:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	choose
	imul	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	choose, .-choose
	.section	.rodata
.LC0:
	.string	"end"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"dep,a,remsum,count : %d,%d,%d,%d\n"
.LC3:
	.string	"\nerror"
	.text
	.globl	make
	.type	make, @function
make:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jg	.L5
	cmp	DWORD PTR -4[rbp], 0
	jns	.L6
.L5:
	cmp	DWORD PTR -20[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	esi, 1
	mov	edi, eax
	call	make
	jmp	.L10
.L7:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L9
.L6:
	mov	eax, DWORD PTR ind[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jne	.L11
	mov	edi, 42
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L12:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L13
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR cnt[rip]
	add	eax, 1
	mov	DWORD PTR cnt[rip], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L14
	mov	eax, 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	esi, 1
	mov	edi, eax
	call	make
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L15
	mov	esi, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L17
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L9
.L15:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L18
	mov	DWORD PTR -8[rbp], 0
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
.L19:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, A[rip+8]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	esi, 0
	mov	edi, eax
	call	make
.L10:
	mov	eax, 0
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	make, .-make
	.section	.rodata
.LC4:
	.string	"%d %d"
.LC5:
	.string	"total : %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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
	lea	rdx, lim[rip]
	lea	rsi, ind[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR sum[rip], 0
	mov	edx, 108
	mov	esi, 0
	lea	rdi, A[rip]
	call	memset@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, A[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR sum[rip]
	add	eax, edx
	mov	DWORD PTR sum[rip], eax
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L22
	mov	eax, DWORD PTR sum[rip]
	mov	edx, DWORD PTR A[rip]
	sub	eax, edx
	mov	DWORD PTR A[rip+4], eax
	mov	DWORD PTR -4[rbp], 1
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -4[rbp], 1
.L23:
	mov	eax, DWORD PTR ind[rip]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L24
	mov	DWORD PTR -4[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, A[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L25:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L26
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR cnt[rip], 0
	mov	eax, DWORD PTR ind[rip]
	test	eax, eax
	je	.L27
	mov	eax, DWORD PTR lim[rip]
	mov	edx, DWORD PTR A[rip+4]
	sub	eax, edx
	test	eax, eax
	js	.L28
	mov	eax, DWORD PTR lim[rip]
	mov	edx, DWORD PTR A[rip+4]
	sub	eax, edx
	mov	DWORD PTR A[rip+8], eax
	mov	eax, DWORD PTR A[rip+4]
	mov	edx, eax
	mov	esi, 0
	mov	edi, 0
	call	make
	jmp	.L27
.L28:
	mov	eax, DWORD PTR lim[rip]
	mov	edx, eax
	mov	esi, 0
	mov	edi, 0
	call	make
.L27:
	mov	eax, DWORD PTR cnt[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"55101.c"
	.text
	.comm	ind,4,4
	.comm	sum,4,4
	.comm	lim,4,4
	.comm	cnt,4,4
	.comm	A,108,4
	.global	__aeabi_idiv
	.align	2
	.global	choose
	.syntax unified
	.arm
	.fpu softvfp
	.type	choose, %function
choose:
	@ 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	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	choose
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	choose, .-choose
	.section	.rodata
	.align	2
.LC0:
	.ascii	"end\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"dep,a,remsum,count : %d,%d,%d,%d\012\000"
	.align	2
.LC3:
	.ascii	"\012error\000"
	.text
	.align	2
	.global	make
	.syntax unified
	.arm
	.fpu softvfp
	.type	make, %function
make:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r1, r2, r3
	ldr	r0, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r0, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	cmp	r1, r3
	bgt	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L6
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-24]
	sub	r0, r3, #1
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, #1
	bl	make
	b	.L10
.L7:
	ldr	r0, .L20+4
	bl	puts
	mov	r3, #0
	b	.L9
.L6:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L11
	mov	r0, #42
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r1, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L20+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L13
	mov	r0, #10
	bl	putchar
	ldr	r3, .L20+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+16
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	b	.L9
.L14:
	ldr	r3, [fp, #-24]
	sub	r0, r3, #1
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, #1
	bl	make
	b	.L10
.L11:
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L15
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L20+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L16
.L17:
	ldr	r1, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L20+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L16:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	ldr	r0, .L20+24
	bl	puts
	mov	r3, #0
	b	.L9
.L15:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r1, .L20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L18
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L19
.L18:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r1, .L20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
.L19:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r1, .L20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r0, r3, #1
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r1, .L20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	bl	make
.L10:
	mov	r3, #0
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	A
	.word	.LC0
	.word	ind
	.word	.LC1
	.word	cnt
	.word	.LC2
	.word	.LC3
	.size	make, .-make
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%d %d\000"
	.align	2
.LC5:
	.ascii	"total : %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r2, .L32
	ldr	r1, .L32+4
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	ldr	r3, .L32+12
	mov	r2, #0
	str	r2, [r3]
	mov	r2, #108
	mov	r1, #0
	ldr	r0, .L32+16
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L24:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L32+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L32+20
	bl	__isoc99_scanf
	ldr	r1, .L32+16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, .L32+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L32+12
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L24
	ldr	r3, .L32+12
	ldr	r2, [r3]
	ldr	r3, .L32+16
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L32+16
	str	r3, [r2, #4]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r1, .L32+16
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, .L32+16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L32+16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L26
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L27
.L28:
	ldr	r1, .L32+16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L28
	mov	r0, #10
	bl	putchar
	ldr	r3, .L32+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, .L32+16
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L30
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, .L32+16
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	ldr	r2, .L32+16
	str	r3, [r2, #8]
	ldr	r3, .L32+16
	ldr	r3, [r3, #4]
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	make
	b	.L29
.L30:
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	make
.L29:
	ldr	r3, .L32+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	lim
	.word	ind
	.word	.LC4
	.word	sum
	.word	A
	.word	.LC1
	.word	cnt
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
