	.file	"86074262.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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
	lea	r11, -200704[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1360
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -202064[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -202064[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -202032[rbp], rax
	mov	eax, DWORD PTR -202064[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -202032[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -202064[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -202024[rbp], rax
	mov	DWORD PTR -202060[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -202060[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -202060[rbp], 1
.L2:
	mov	eax, DWORD PTR -202064[rbp]
	cmp	DWORD PTR -202060[rbp], eax
	jl	.L3
	mov	DWORD PTR -202056[rbp], 0
	jmp	.L4
.L14:
	cmp	DWORD PTR -202056[rbp], 0
	jne	.L5
	mov	eax, DWORD PTR -202056[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	BYTE PTR -202016[rbp+rax*2], 1
	mov	eax, DWORD PTR -202056[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	BYTE PTR -202015[rbp+rax*2], 1
	jmp	.L6
.L5:
	mov	DWORD PTR -202052[rbp], 1
	jmp	.L7
.L12:
	mov	eax, DWORD PTR -202056[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -202052[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR -202016[rbp+rax*2]
	test	al, al
	je	.L8
	mov	eax, DWORD PTR -202056[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -202052[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -202036[rbp], edx
	mov	edx, DWORD PTR -202036[rbp]
	imul	edx, edx, 101
	sub	eax, edx
	mov	DWORD PTR -202036[rbp], eax
	mov	eax, DWORD PTR -202052[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR -202016[rbp+rax*2], cl
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	BYTE PTR -202015[rbp+rax*2], 1
	cmp	DWORD PTR -202036[rbp], 0
	je	.L26
	mov	eax, DWORD PTR -202052[rbp]
	lea	edx, 101[rax]
	mov	eax, DWORD PTR -202056[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rcx
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -202036[rbp], edx
	mov	edx, DWORD PTR -202036[rbp]
	imul	edx, edx, 101
	sub	eax, edx
	mov	DWORD PTR -202036[rbp], eax
	mov	eax, DWORD PTR -202052[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR -202016[rbp+rax*2], cl
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	BYTE PTR -202015[rbp+rax*2], 2
	cmp	DWORD PTR -202036[rbp], 0
	je	.L27
	mov	eax, DWORD PTR -202056[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -202052[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -202036[rbp], edx
	mov	edx, DWORD PTR -202036[rbp]
	imul	edx, edx, 101
	sub	eax, edx
	mov	DWORD PTR -202036[rbp], eax
	mov	eax, DWORD PTR -202052[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR -202016[rbp+rax*2], cl
	mov	eax, DWORD PTR -202036[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202056[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	BYTE PTR -202015[rbp+rax*2], 3
	cmp	DWORD PTR -202036[rbp], 0
	je	.L28
.L8:
	add	DWORD PTR -202052[rbp], 1
.L7:
	cmp	DWORD PTR -202052[rbp], 100
	jle	.L12
	jmp	.L10
.L26:
	nop
	jmp	.L10
.L27:
	nop
	jmp	.L10
.L28:
	nop
.L10:
	cmp	DWORD PTR -202052[rbp], 100
	jle	.L29
.L6:
	add	DWORD PTR -202056[rbp], 1
.L4:
	mov	eax, DWORD PTR -202064[rbp]
	cmp	DWORD PTR -202056[rbp], eax
	jl	.L14
	jmp	.L13
.L29:
	nop
.L13:
	mov	DWORD PTR -202048[rbp], 0
	mov	eax, DWORD PTR -202056[rbp]
	mov	DWORD PTR -202044[rbp], eax
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -202044[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -202032[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -202048[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -202044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	movzx	eax, BYTE PTR -202015[rbp+rax*2]
	mov	BYTE PTR [rcx], al
	mov	eax, DWORD PTR -202048[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -202044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR -202016[rbp+rax*2]
	movzx	eax, al
	mov	DWORD PTR -202048[rbp], eax
	sub	DWORD PTR -202044[rbp], 1
.L15:
	cmp	DWORD PTR -202044[rbp], 0
	jg	.L16
	mov	DWORD PTR -202040[rbp], 0
	jmp	.L17
.L22:
	mov	eax, DWORD PTR -202040[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -202040[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -202032[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	eax, 1
	je	.L18
	cmp	eax, 2
	je	.L19
	jmp	.L25
.L18:
	mov	edi, 43
	call	putchar@PLT
	jmp	.L21
.L19:
	mov	edi, 45
	call	putchar@PLT
	jmp	.L21
.L25:
	mov	edi, 42
	call	putchar@PLT
	nop
.L21:
	add	DWORD PTR -202040[rbp], 1
.L17:
	mov	eax, DWORD PTR -202064[rbp]
	sub	eax, 1
	cmp	DWORD PTR -202040[rbp], eax
	jl	.L22
	mov	eax, DWORD PTR -202064[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -202024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -202024[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -202032[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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	"86074262.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d\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 = 202048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #201728
	sub	sp, sp, #324
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #201728
	sub	r3, r3, #12
	sub	r3, r3, #316
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, r2
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-1312]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r1, #3
	ldr	r0, [r3, #-1312]
	bl	memset
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-1308]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1336]
	b	.L2
.L3:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1336]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1336]
	add	r3, r3, #1
	str	r3, [r2, #-1336]
.L2:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1336]
	cmp	r2, r3
	blt	.L3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1332]
	b	.L4
.L14:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r1, [r3]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, ip, r3
	mov	r2, #1
	strb	r2, [r3, #-1300]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r1, [r3]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, ip, r3
	mov	r2, #1
	strb	r2, [r3, #-1299]
	b	.L6
.L5:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1328]
	b	.L7
.L12:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	sub	r2, r3, #1
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1328]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	ldrb	r3, [r3, #-1300]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	add	r2, r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	ldr	r3, .L30+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [ip, #-1304]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	and	r0, r3, #255
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, ip, r3
	mov	r2, r0
	strb	r2, [r3, #-1300]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	mov	r2, #1
	strb	r2, [r3, #-1299]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1304]
	cmp	r3, #0
	beq	.L26
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	add	r2, r3, #101
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	lsl	r3, r3, #2
	sub	r1, fp, #200704
	sub	r1, r1, #12
	ldr	r1, [r1, #-1308]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	ldr	r3, .L30+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [ip, #-1304]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	and	r0, r3, #255
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, ip, r3
	mov	r2, r0
	strb	r2, [r3, #-1300]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	mov	r2, #2
	strb	r2, [r3, #-1299]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1304]
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1328]
	mul	r2, r3, r2
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	ldr	r3, .L30+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [ip, #-1304]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	and	r0, r3, #255
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, ip, r3
	mov	r2, r0
	strb	r2, [r3, #-1300]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1332]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1304]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	mov	r2, #3
	strb	r2, [r3, #-1299]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1304]
	cmp	r3, #0
	beq	.L28
.L8:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	add	r3, r3, #1
	str	r3, [r2, #-1328]
.L7:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	cmp	r3, #100
	ble	.L12
	b	.L10
.L26:
	nop
	b	.L10
.L27:
	nop
	b	.L10
.L28:
	nop
.L10:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1328]
	cmp	r3, #100
	ble	.L29
.L6:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	add	r3, r3, #1
	str	r3, [r2, #-1332]
.L4:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1332]
	cmp	r2, r3
	blt	.L14
	b	.L13
.L29:
	nop
.L13:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1324]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1332]
	str	r3, [r2, #-1320]
	b	.L15
.L16:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1320]
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1312]
	add	r1, r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1320]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1324]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, ip, r3
	ldrb	r3, [r3, #-1299]	@ zero_extendqisi2
	strb	r3, [r1]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r2, [r3, #-1320]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1324]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	ldrb	r3, [r3, #-1300]	@ zero_extendqisi2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	str	r3, [r2, #-1324]
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1320]
	sub	r3, r3, #1
	str	r3, [r2, #-1320]
.L15:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1320]
	cmp	r3, #0
	bgt	.L16
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1316]
	b	.L17
.L22:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1316]
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+4
	bl	printf
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1316]
	add	r3, r3, #1
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1312]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L18
	cmp	r3, #2
	beq	.L19
	b	.L25
.L18:
	mov	r0, #43
	bl	putchar
	b	.L21
.L19:
	mov	r0, #45
	bl	putchar
	b	.L21
.L25:
	mov	r0, #42
	bl	putchar
	nop
.L21:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1316]
	add	r3, r3, #1
	str	r3, [r2, #-1316]
.L17:
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	sub	r3, r3, #1
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1316]
	cmp	r2, r3
	blt	.L22
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r3, [r3, #-1340]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	sub	r2, fp, #200704
	sub	r2, r2, #12
	ldr	r2, [r2, #-1308]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r0, [r3, #-1308]
	bl	free
	sub	r3, fp, #200704
	sub	r3, r3, #12
	ldr	r0, [r3, #-1312]
	bl	free
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC2
	.word	.LC0
	.word	680390859
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
