	.file	"713328.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-i"
.LC1:
	.string	"r"
.LC2:
	.string	"Error: file not found"
.LC3:
	.string	"Error: no file specified"
.LC4:
	.string	"Error: command requires -i"
	.align 8
.LC5:
	.string	"The file %s contains:\n> %d lines\n> %d comments\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	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	cmp	DWORD PTR -36[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	cmp	DWORD PTR -36[rbp], 2
	jle	.L3
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L5
.L3:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L5
.L2:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -2
	jmp	.L5
.L7:
	nop
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	countComments
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	countLines
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	ecx, ebx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	createOutputFile
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L5:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	countLines
	.type	countLines, @function
countLines:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	BYTE PTR -9[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
	jmp	.L9
.L12:
	cmp	BYTE PTR -9[rbp], 0
	je	.L10
	cmp	DWORD PTR -8[rbp], 10
	je	.L10
	cmp	DWORD PTR -8[rbp], 32
	je	.L10
	mov	BYTE PTR -9[rbp], 0
.L10:
	cmp	DWORD PTR -8[rbp], 10
	jne	.L11
	movzx	eax, BYTE PTR -9[rbp]
	xor	eax, 1
	test	al, al
	je	.L11
	add	DWORD PTR -4[rbp], 1
	mov	BYTE PTR -9[rbp], 1
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -8[rbp], eax
.L9:
	cmp	DWORD PTR -8[rbp], -1
	jne	.L12
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	countLines, .-countLines
	.globl	countComments
	.type	countComments, @function
countComments:
.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, 248
	.cfi_offset 3, -24
	mov	QWORD PTR -248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -248[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L15
.L19:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jne	.L17
	mov	eax, DWORD PTR -228[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jne	.L17
	add	DWORD PTR -232[rbp], 1
.L17:
	add	DWORD PTR -228[rbp], 1
.L16:
	mov	eax, DWORD PTR -228[rbp]
	movsx	rbx, eax
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L18
.L15:
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -224[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L19
	mov	eax, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	countComments, .-countComments
	.section	.rodata
.LC6:
	.string	"."
.LC7:
	.string	"w"
.LC8:
	.string	"-c"
.LC9:
	.string	""
	.string	""
	.text
	.globl	createOutputFile
	.type	createOutputFile, @function
createOutputFile:
.LFB9:
	.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, 408
	.cfi_offset 3, -24
	mov	QWORD PTR -392[rbp], rdi
	mov	DWORD PTR -396[rbp], esi
	mov	QWORD PTR -408[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -408[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -352[rbp], rax
	mov	rax, QWORD PTR -352[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -352[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 28462
	mov	BYTE PTR 2[rax], 0
	mov	rdx, QWORD PTR -352[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -320[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -344[rbp], rax
	jmp	.L23
.L42:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L24
.L41:
	mov	eax, DWORD PTR -376[rbp]
	mov	DWORD PTR -372[rbp], eax
	mov	BYTE PTR -377[rbp], 0
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L25
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L25
	cmp	DWORD PTR -396[rbp], 3
	jle	.L44
	mov	rax, QWORD PTR -408[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -372[rbp], 1
.L27:
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L28
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L45
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L25:
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L31
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 105
	jne	.L31
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 110
	jne	.L31
	mov	eax, DWORD PTR -376[rbp]
	mov	DWORD PTR -372[rbp], eax
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -372[rbp], 1
.L32:
	mov	eax, DWORD PTR -376[rbp]
	add	eax, 9
	cmp	DWORD PTR -372[rbp], eax
	jle	.L33
	mov	DWORD PTR -368[rbp], 0
	lea	rax, .LC9[rip]
	mov	QWORD PTR -336[rbp], rax
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -336[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -368[rbp], 1
	add	DWORD PTR -372[rbp], 1
.L34:
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L35
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L36
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L36:
	mov	rax, QWORD PTR -336[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	je	.L31
	jmp	.L37
.L40:
	mov	DWORD PTR -364[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	movzx	eax, BYTE PTR -288[rbp+rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	BYTE PTR -377[rbp], 1
	add	DWORD PTR -364[rbp], 1
.L38:
	mov	eax, DWORD PTR -364[rbp]
	movsx	rbx, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L39
.L37:
	mov	rdx, QWORD PTR -328[rbp]
	lea	rax, -288[rbp]
	mov	esi, 250
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L40
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	jmp	.L31
.L44:
	nop
.L31:
	movzx	eax, BYTE PTR -377[rbp]
	xor	eax, 1
	test	al, al
	je	.L30
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	jmp	.L30
.L45:
	nop
.L30:
	add	DWORD PTR -376[rbp], 1
.L24:
	mov	eax, DWORD PTR -376[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L41
.L23:
	mov	rdx, QWORD PTR -392[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L42
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	createOutputFile, .-createOutputFile
	.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	"713328.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-i\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Error: file not found\000"
	.align	2
.LC3:
	.ascii	"Error: no file specified\000"
	.align	2
.LC4:
	.ascii	"Error: command requires -i\000"
	.align	2
.LC5:
	.ascii	"The file %s contains:\012> %d lines\012> %d comment"
	.ascii	"s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L8+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L8+8
	bl	printf
	mvn	r3, #0
	b	.L5
.L3:
	ldr	r0, .L8+12
	bl	printf
	mvn	r3, #0
	b	.L5
.L2:
	ldr	r0, .L8+16
	bl	printf
	mvn	r3, #1
	b	.L5
.L7:
	nop
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	countLines
	mov	r5, r0
	ldr	r0, [fp, #-16]
	bl	countComments
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L8+20
	bl	printf
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	createOutputFile
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, #0
.L5:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.align	2
	.global	countLines
	.syntax unified
	.arm
	.fpu softvfp
	.type	countLines, %function
countLines:
	@ 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]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	strb	r3, [fp, #-13]
	ldr	r0, [fp, #-24]
	bl	getc
	str	r0, [fp, #-12]
	b	.L11
.L14:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L12
	ldr	r3, [fp, #-12]
	cmp	r3, #32
	beq	.L12
	mov	r3, #0
	strb	r3, [fp, #-13]
.L12:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L13
	ldrb	r3, [fp, #-13]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #1
	strb	r3, [fp, #-13]
.L13:
	ldr	r0, [fp, #-24]
	bl	getc
	str	r0, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L14
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	countLines, .-countLines
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	countComments
	.syntax unified
	.arm
	.fpu softvfp
	.type	countComments, %function
countComments:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-224]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L17
.L21:
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L18
.L20:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L19
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L19
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L19:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L18:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-212]
	cmp	r2, r3
	bhi	.L20
.L17:
	sub	r3, fp, #208
	ldr	r2, [fp, #-224]
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-216]
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC6
	.size	countComments, .-countComments
	.section	.rodata
	.align	2
.LC7:
	.ascii	".\000"
	.align	2
.LC8:
	.ascii	".o\000"
	.align	2
.LC9:
	.ascii	"w\000"
	.align	2
.LC10:
	.ascii	"-c\000"
	.align	2
.LC11:
	.ascii	"\000\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createOutputFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	createOutputFile, %function
createOutputFile:
	@ args = 0, pretend = 0, frame = 336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #336
	str	r0, [fp, #-328]
	str	r1, [fp, #-332]
	str	r2, [fp, #-336]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-328]
	bl	fseek
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-300]
	ldr	r3, [fp, #-336]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L50+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-296]
	ldr	r0, [fp, #-296]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-296]
	add	r3, r3, r2
	ldr	r2, .L50+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-296]
	sub	r3, fp, #280
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #280
	ldr	r1, .L50+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-292]
	b	.L27
.L46:
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L28
.L45:
	ldr	r3, [fp, #-316]
	str	r3, [fp, #-312]
	mov	r3, #0
	strb	r3, [fp, #-317]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L29
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L29
	ldr	r3, [fp, #-332]
	cmp	r3, #3
	ble	.L48
	ldr	r3, [fp, #-336]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L50+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	b	.L31
.L32:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L31:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L32
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L49
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L29:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L35
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L35
	ldr	r3, [fp, #-316]
	add	r3, r3, #2
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L35
	ldr	r3, [fp, #-316]
	str	r3, [fp, #-312]
	b	.L36
.L37:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L36:
	ldr	r3, [fp, #-316]
	add	r3, r3, #9
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	ble	.L37
	mov	r3, #0
	str	r3, [fp, #-308]
	ldr	r3, .L50+20
	str	r3, [fp, #-288]
	b	.L38
.L39:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r2, r2, r3
	ldr	r3, [fp, #-308]
	ldr	r1, [fp, #-288]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L38:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L39
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L40
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L40:
	ldr	r1, .L50+24
	ldr	r0, [fp, #-288]
	bl	fopen
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	beq	.L35
	b	.L41
.L44:
	mov	r3, #0
	str	r3, [fp, #-304]
	b	.L42
.L43:
	sub	r2, fp, #260
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-292]
	mov	r0, r3
	bl	fputc
	mov	r3, #1
	strb	r3, [fp, #-317]
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L42:
	sub	r3, fp, #260
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-304]
	cmp	r2, r3
	bhi	.L43
.L41:
	sub	r3, fp, #260
	ldr	r2, [fp, #-284]
	mov	r1, #250
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r1, [fp, #-292]
	mov	r0, #10
	bl	fputc
	b	.L35
.L48:
	nop
.L35:
	ldrb	r3, [fp, #-317]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-292]
	mov	r0, r3
	bl	fputc
	b	.L34
.L49:
	nop
.L34:
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L28:
	ldr	r0, [fp, #-300]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-316]
	cmp	r2, r3
	bhi	.L45
.L27:
	ldr	r2, [fp, #-328]
	mov	r1, #200
	ldr	r0, [fp, #-300]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	ldr	r0, [fp, #-292]
	bl	fclose
	ldr	r0, [fp, #-300]
	bl	free
	nop
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC12
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC1
	.size	createOutputFile, .-createOutputFile
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
