	.file	"484473.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"p5_input.txt"
.LC2:
	.string	"%s\t%s\n"
.LC3:
	.string	"%d\t%s\n"
	.align 8
.LC4:
	.string	"Max and min length characters are %s and %s with lengths %d and %d respectively.\n"
.LC5:
	.string	"w"
.LC6:
	.string	"p5_output.txt"
.LC7:
	.string	"RollNo\tName\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 216
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	DWORD PTR -200[rbp], 15
	mov	DWORD PTR -212[rbp], 0
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -184[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -240[rbp], rdx
	mov	QWORD PTR -232[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -256[rbp], rdx
	mov	QWORD PTR -248[rbp], 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
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -176[rbp], rax
	mov	ecx, DWORD PTR -200[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -168[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 160
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 160
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 160
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 160
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	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
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -160[rbp], rax
	lea	rcx, -112[rbp]
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -216[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -216[rbp], 1
.L8:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L9
	mov	DWORD PTR -216[rbp], 0
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -216[rbp]
	add	eax, 1
	mov	DWORD PTR -212[rbp], eax
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	mov	rcx, QWORD PTR -160[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L12
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -216[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -196[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -212[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -216[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -212[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -196[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rax
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	mov	rcx, QWORD PTR -160[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rax
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L12:
	add	DWORD PTR -212[rbp], 1
.L11:
	mov	eax, DWORD PTR -212[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L13
	add	DWORD PTR -216[rbp], 1
.L10:
	mov	eax, DWORD PTR -200[rbp]
	sub	eax, 1
	cmp	DWORD PTR -216[rbp], eax
	jl	.L14
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -220[rbp], eax
	mov	DWORD PTR -224[rbp], 999
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -208[rbp], eax
	mov	DWORD PTR -204[rbp], -1
	mov	DWORD PTR -216[rbp], 0
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -220[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jnb	.L16
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -220[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR -224[rbp], eax
.L16:
	add	DWORD PTR -216[rbp], 1
.L15:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L17
	mov	DWORD PTR -216[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -208[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jbe	.L19
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -208[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR -204[rbp], eax
.L19:
	add	DWORD PTR -216[rbp], 1
.L18:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L20
	mov	eax, DWORD PTR -224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -204[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	mov	rcx, QWORD PTR -160[rbp]
	lea	rsi, [rax+rcx]
	mov	ecx, DWORD PTR -220[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	r8d, ecx
	mov	ecx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	DWORD PTR -216[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -160[rbp]
	lea	rcx, [rax+rdx]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -216[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -216[rbp], 1
.L21:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L22
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"484473.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"p5_input.txt\000"
	.align	2
.LC2:
	.ascii	"%s\011%s\012\000"
	.align	2
.LC3:
	.ascii	"%d\011%s\012\000"
	.align	2
.LC4:
	.ascii	"Max and min length characters are %s and %s with le"
	.ascii	"ngths %d and %d respectively.\012\000"
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"p5_output.txt\000"
	.align	2
.LC7:
	.ascii	"RollNo\011Name\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #132
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	bl	fopen
	str	r0, [fp, #-116]
	mov	r3, #15
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-128]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	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
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-104]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-100]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-96]
	sub	r3, fp, #64
	sub	r2, fp, #84
	ldr	r1, .L19+12
	ldr	r0, [fp, #-116]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L2
.L3:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r1, r2, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r2, r1
	ldr	r1, .L19+16
	ldr	r0, [fp, #-116]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L2:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L4
.L8:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L5
.L7:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r0, r2, r3
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-132]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-128]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-132]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-128]
	ldr	r1, [fp, #-88]
	str	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r0, r2, r3
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	sub	r2, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L6:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L5:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L4:
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, .L19+20
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-124]
	mvn	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L9
.L11:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bcs	.L10
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-140]
.L10:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L9:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L11
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L12
.L14:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	bls	.L13
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-120]
.L13:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L12:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L14
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r1, r2, r3
	ldr	r2, [fp, #-140]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-136]
	str	r3, [sp]
	ldr	r3, [fp, #-124]
	ldr	r0, .L19+24
	bl	printf
	ldr	r0, [fp, #-116]
	bl	fclose
	ldr	r1, .L19+28
	ldr	r0, .L19+32
	bl	fopen
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L19+36
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L15
.L16:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-132]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r2, r1
	ldr	r1, .L19+16
	ldr	r0, [fp, #-92]
	bl	fprintf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L15:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L16
	ldr	r0, [fp, #-92]
	bl	fclose
	mov	r3, #0
	mov	sp, r6
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	999
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
