	.file	"663463.c"
	.intel_syntax noprefix
	.text
	.globl	average
	.type	average, @function
average:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	average, .-average
	.type	run_length, @function
run_length:
.LFB7:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	DWORD PTR -4[rbp], 0
	nop
.L6:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	movzx	eax, BYTE PTR -5[rbp]
	cmp	al, BYTE PTR -28[rbp]
	je	.L6
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	run_length, .-run_length
	.globl	solve
	.type	solve, @function
solve:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -96[rbp], 0
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L9:
	cmp	rsp, rdx
	je	.L10
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L9
.L10:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L11
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L11:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L12:
	cmp	rsp, rdx
	je	.L13
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L12
.L13:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L14
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L14:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L15
.L24:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L16
.L19:
	movsx	eax, BYTE PTR -101[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -120[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	movsx	rcx, ecx
	mov	edx, DWORD PTR [rdx+rcx*4]
	movsx	rdx, edx
	add	rdx, rsi
	mov	esi, eax
	mov	rdi, rdx
	call	run_length
	mov	rdx, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*4], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L17
	mov	DWORD PTR -96[rbp], -1
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -100[rbp], 1
.L16:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L19
	mov	edx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	average
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L20
.L23:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -92[rbp], eax
	jge	.L21
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	sub	eax, DWORD PTR -92[rbp]
	add	DWORD PTR -96[rbp], eax
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, edx
	add	DWORD PTR -96[rbp], eax
.L22:
	add	DWORD PTR -100[rbp], 1
.L20:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L23
.L15:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -101[rbp], al
	cmp	BYTE PTR -101[rbp], 0
	jne	.L24
	nop
.L18:
	mov	eax, DWORD PTR -96[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
	.align 8
.LC1:
	.string	"Illegal number of tests (1 <= T <= 100)"
.LC2:
	.string	"ERROR"
.LC3:
	.string	"%ms"
.LC4:
	.string	"1 <= len <= 100"
.LC5:
	.string	"Case #%d: "
.LC6:
	.string	"Fegla Won"
.LC7:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 880
	mov	DWORD PTR -868[rbp], edi
	mov	QWORD PTR -880[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -844[rbp], 0
	mov	DWORD PTR -840[rbp], 1
	lea	rax, -852[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -852[rbp]
	test	eax, eax
	jle	.L28
	mov	eax, DWORD PTR -852[rbp]
	cmp	eax, 100
	jle	.L49
.L28:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L30
.L49:
	nop
.L29:
	jmp	.L31
.L46:
	lea	rax, -848[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -848[rbp]
	cmp	eax, 1
	jle	.L32
	mov	eax, DWORD PTR -848[rbp]
	cmp	eax, 100
	jle	.L33
.L32:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L31
.L33:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L34
.L41:
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	test	rax, rax
	jne	.L35
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -832[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -832[rbp], 1
.L36:
	mov	eax, DWORD PTR -832[rbp]
	cmp	eax, DWORD PTR -836[rbp]
	jl	.L37
	jmp	.L29
.L35:
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -824[rbp], rax
	cmp	QWORD PTR -824[rbp], 100
	jbe	.L38
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -832[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -832[rbp], 1
.L39:
	mov	eax, DWORD PTR -832[rbp]
	cmp	eax, DWORD PTR -836[rbp]
	jl	.L40
	jmp	.L29
.L38:
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	mov	rdx, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR -824[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -836[rbp], 1
.L34:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jl	.L41
	mov	edx, DWORD PTR -848[rbp]
	lea	rax, -816[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	solve
	mov	DWORD PTR -828[rbp], eax
	mov	eax, DWORD PTR -844[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -828[rbp], 0
	jns	.L42
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L43
.L42:
	mov	eax, DWORD PTR -828[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -836[rbp], 1
.L44:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jl	.L45
.L31:
	mov	eax, DWORD PTR -844[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -844[rbp], edx
	mov	edx, DWORD PTR -852[rbp]
	cmp	eax, edx
	jl	.L46
	mov	DWORD PTR -840[rbp], 0
.L30:
	mov	eax, DWORD PTR -840[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"663463.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	average
	.syntax unified
	.arm
	.fpu softvfp
	.type	average, %function
average:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	average, .-average
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_length, %function
run_length:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-8]
	nop
.L6:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L6
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	run_length, .-run_length
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	solve
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve, %function
solve:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	ip, [fp, #-60]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	ip, [fp, #-60]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	memset
	b	.L9
.L18:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L10
.L13:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-44]
	ldr	r2, [r2, r1, lsl #2]
	add	r3, r3, r2
	ldrb	r2, [fp, #-45]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	run_length
	mov	r1, r0
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L11
	mvn	r3, #0
	str	r3, [fp, #-40]
	b	.L12
.L11:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-44]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-44]
	ldr	r3, [r3, r1, lsl #2]
	add	r1, r2, r3
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-44]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L10:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L13
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-32]
	bl	average
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L14
.L17:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L15
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	b	.L16
.L15:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
.L16:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L17
.L9:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-45]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L18
	nop
.L12:
	ldr	r3, [fp, #-40]
	mov	sp, r4
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC0
	.size	solve, .-solve
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Illegal number of tests (1 <= T <= 100)\000"
	.align	2
.LC3:
	.ascii	"ERROR\000"
	.align	2
.LC4:
	.ascii	"%ms\000"
	.align	2
.LC5:
	.ascii	"1 <= len <= 100\000"
	.align	2
.LC6:
	.ascii	"Case #%d: \000"
	.align	2
.LC7:
	.ascii	"Fegla Won\000"
	.align	2
.LC8:
	.ascii	"%d\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #448
	str	r0, [fp, #-448]
	str	r1, [fp, #-452]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-432]
	mov	r3, #1
	str	r3, [fp, #-428]
	sub	r3, fp, #440
	mov	r1, r3
	ldr	r0, .L46+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-440]
	cmp	r3, #0
	ble	.L24
	ldr	r3, [fp, #-440]
	cmp	r3, #100
	ble	.L45
.L24:
	ldr	r0, .L46+8
	bl	puts
	b	.L26
.L45:
	nop
.L25:
	b	.L27
.L42:
	sub	r3, fp, #436
	mov	r1, r3
	ldr	r0, .L46+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-436]
	cmp	r3, #1
	ble	.L28
	ldr	r3, [fp, #-436]
	cmp	r3, #100
	ble	.L29
.L28:
	ldr	r0, .L46+12
	bl	puts
	b	.L27
.L29:
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L30
.L37:
	sub	r2, fp, #408
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L46+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L46+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L32
.L33:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L32:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-424]
	cmp	r2, r3
	blt	.L33
	b	.L25
.L31:
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-412]
	ldr	r3, [fp, #-412]
	cmp	r3, #100
	bls	.L34
	ldr	r0, .L46+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L35
.L36:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L35:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-424]
	cmp	r2, r3
	blt	.L36
	b	.L25
.L34:
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-404]
	ldr	r3, [fp, #-412]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L30:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	blt	.L37
	ldr	r2, [fp, #-436]
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	solve
	str	r0, [fp, #-416]
	ldr	r1, [fp, #-432]
	ldr	r0, .L46+24
	bl	printf
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bge	.L38
	ldr	r0, .L46+28
	bl	puts
	b	.L39
.L38:
	ldr	r1, [fp, #-416]
	ldr	r0, .L46+32
	bl	printf
.L39:
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L40
.L41:
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L40:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	blt	.L41
.L27:
	ldr	r3, [fp, #-432]
	add	r2, r3, #1
	str	r2, [fp, #-432]
	ldr	r2, [fp, #-440]
	cmp	r3, r2
	blt	.L42
	mov	r3, #0
	str	r3, [fp, #-428]
.L26:
	ldr	r3, [fp, #-428]
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC9
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
