	.file	"769759.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-n"
	.text
	.globl	parseN
	.type	parseN, @function
parseN:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 10
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	esi, 43
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 1
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 0
.L4:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rcx, -24[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L5
	cmp	QWORD PTR -16[rbp], 0
	jne	.L6
.L5:
	mov	QWORD PTR -16[rbp], -1
	jmp	.L6
.L2:
	mov	QWORD PTR -16[rbp], -1
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	parseN, .-parseN
	.globl	removeLeftoverLine
	.type	removeLeftoverLine, @function
removeLeftoverLine:
.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, 544
	mov	QWORD PTR -536[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L10:
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -528[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L10
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	removeLeftoverLine, .-removeLeftoverLine
	.section	.rodata
.LC1:
	.string	"Line overflow detected\n"
.LC2:
	.string	"%s"
	.text
	.globl	printTail
	.type	printTail, @function
printTail:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, rax
	mov	r10, rdx
	mov	r11d, 0
	mov	rdx, rax
	mov	r8, rdx
	mov	r9d, 0
	sal	rax, 9
	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
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -32[rbp], rax
	mov	BYTE PTR -53[rbp], 1
	mov	QWORD PTR -48[rbp], 0
	jmp	.L16
.L18:
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	sal	rax, 9
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	removeLeftoverLine
	cmp	BYTE PTR -53[rbp], 0
	je	.L17
	mov	BYTE PTR -53[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
.L17:
	add	QWORD PTR -48[rbp], 1
.L16:
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	sal	rax, 9
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, rax
	mov	esi, 512
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L18
	mov	DWORD PTR -52[rbp], 0
	jmp	.L19
.L22:
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	sal	rax, 9
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L20
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -80[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	sal	rax, 9
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -80[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	sal	rax, 9
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	add	DWORD PTR -52[rbp], 1
.L19:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -80[rbp], rax
	jg	.L22
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printTail, .-printTail
	.globl	printPlusTail
	.type	printPlusTail, @function
printPlusTail:
.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, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	QWORD PTR -560[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -537[rbp], 1
	mov	QWORD PTR -536[rbp], 0
	jmp	.L25
.L28:
	add	QWORD PTR -536[rbp], 1
	mov	rax, QWORD PTR -536[rbp]
	cmp	rax, QWORD PTR -560[rbp]
	jge	.L26
	jmp	.L25
.L26:
	lea	rax, -528[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L27
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L27:
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	removeLeftoverLine
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	puts@PLT
	cmp	BYTE PTR -537[rbp], 0
	je	.L25
	mov	BYTE PTR -537[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
.L25:
	mov	rdx, QWORD PTR -552[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L28
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printPlusTail, .-printPlusTail
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	"Failed to open file %s\n"
.LC5:
	.string	"Invalid parameters\n"
.LC6:
	.string	"Too many parameters\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 10
	mov	BYTE PTR -25[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -36[rbp], 4
	je	.L31
	cmp	DWORD PTR -36[rbp], 4
	jg	.L32
	cmp	DWORD PTR -36[rbp], 3
	je	.L33
	cmp	DWORD PTR -36[rbp], 3
	jg	.L32
	cmp	DWORD PTR -36[rbp], 1
	je	.L46
	cmp	DWORD PTR -36[rbp], 2
	jne	.L32
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L47
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L47
.L33:
	lea	rdx, -25[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parseN
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jns	.L48
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L44
.L31:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L40
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L40:
	lea	rdx, -25[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parseN
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jns	.L49
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L44
.L32:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L44
.L46:
	nop
	jmp	.L36
.L47:
	nop
	jmp	.L36
.L48:
	nop
	jmp	.L36
.L49:
	nop
.L36:
	movzx	eax, BYTE PTR -25[rbp]
	test	al, al
	je	.L42
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printPlusTail
	jmp	.L43
.L42:
	movzx	eax, BYTE PTR -25[rbp]
	xor	eax, 1
	test	al, al
	je	.L43
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printTail
.L43:
	mov	eax, 0
.L44:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"769759.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-n\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parseN
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseN, %function
parseN:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L9+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, #43
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	mov	r2, #1
	strb	r2, [r3]
	b	.L4
.L3:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r1, fp, #16
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
.L5:
	mvn	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L2:
	mvn	r3, #0
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	parseN, .-parseN
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	removeLeftoverLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeLeftoverLine, %function
removeLeftoverLine:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	str	r0, [fp, #-528]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L12:
	sub	r3, fp, #520
	ldr	r2, [fp, #-528]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #520
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.size	removeLeftoverLine, .-removeLeftoverLine
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Line overflow detected\012\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printTail
	.syntax unified
	.arm
	.fpu softvfp
	.type	printTail, %function
printTail:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-44]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #12
	orr	r3, r3, r0, lsr #20
	lsl	r2, r0, #12
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #12
	orr	r3, r3, r0, lsr #20
	lsl	r2, r0, #12
	mov	r3, ip
	lsl	r3, r3, #9
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	strb	r3, [fp, #-33]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L17
.L19:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	lsl	r3, r3, #9
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r0, [fp, #-40]
	bl	removeLeftoverLine
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	mov	r3, #0
	strb	r3, [fp, #-33]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L25+8
	bl	fwrite
.L18:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	lsl	r3, r3, #9
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L20
.L23:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	lsl	r3, r3, #9
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	lsl	r3, r3, #9
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
	b	.L22
.L21:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	lsl	r3, r3, #9
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L25+12
	bl	printf
.L22:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L20:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L23
	mov	sp, r4
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC5
	.word	stderr
	.word	.LC3
	.word	.LC4
	.size	printTail, .-printTail
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printPlusTail
	.syntax unified
	.arm
	.fpu softvfp
	.type	printPlusTail, %function
printPlusTail:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	str	r1, [fp, #-540]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-525]
	mov	r3, #0
	str	r3, [fp, #-524]
	b	.L28
.L31:
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	str	r3, [fp, #-524]
	ldr	r2, [fp, #-524]
	ldr	r3, [fp, #-540]
	cmp	r2, r3
	bge	.L29
	b	.L28
.L29:
	sub	r3, fp, #520
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L33+4
	bl	printf
	b	.L28
.L30:
	ldr	r0, [fp, #-536]
	bl	removeLeftoverLine
	sub	r3, fp, #520
	mov	r0, r3
	bl	puts
	ldrb	r3, [fp, #-525]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	mov	r3, #0
	strb	r3, [fp, #-525]
	ldr	r3, .L33+8
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L33+12
	bl	fwrite
.L28:
	sub	r3, fp, #520
	ldr	r2, [fp, #-536]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	nop
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC6
	.word	.LC4
	.word	stderr
	.word	.LC3
	.size	printPlusTail, .-printPlusTail
	.section	.rodata
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"Failed to open file %s\012\000"
	.align	2
.LC9:
	.ascii	"Invalid parameters\012\000"
	.align	2
.LC10:
	.ascii	"Too many parameters\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-17]
	ldr	r3, .L56+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L36
.L38:
	.word	.L52
	.word	.L40
	.word	.L39
	.word	.L37
.L40:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L56+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L56+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L56+16
	bl	fprintf
	b	.L53
.L39:
	sub	r3, fp, #17
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	parseN
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L54
	ldr	r3, .L56+12
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L56+20
	bl	fwrite
	mov	r3, #1
	b	.L50
.L37:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L56+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L56+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L56+16
	bl	fprintf
.L46:
	sub	r3, fp, #17
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	parseN
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L55
	ldr	r3, .L56+12
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L56+20
	bl	fwrite
	mov	r3, #1
	b	.L50
.L36:
	ldr	r3, .L56+12
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L56+24
	bl	fwrite
	mov	r3, #1
	b	.L50
.L52:
	nop
	b	.L42
.L53:
	nop
	b	.L42
.L54:
	nop
	b	.L42
.L55:
	nop
.L42:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L48
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	printPlusTail
	b	.L49
.L48:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L49
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	printTail
.L49:
	mov	r3, #0
.L50:
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC11
	.word	stdin
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
