	.file	"903321.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"digraph finite_state_machine {\n\trankdir=LR;\n\tsize=\"40,10\"\n\tnode [shape = circle];\n"
.LC1:
	.string	"%s"
	.text
	.globl	printHeader
	.type	printHeader, @function
printHeader:
.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, 16
	lea	rax, .LC0[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printHeader, .-printHeader
	.section	.rodata
.LC2:
	.string	"}\n"
	.text
	.globl	printTrailer
	.type	printTrailer, @function
printTrailer:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printTrailer, .-printTrailer
	.section	.rodata
.LC3:
	.string	"fsm2dot"
	.align 8
.LC4:
	.string	"Usage: fsm2dot <state_variable> <sourcefile.c>\n"
.LC5:
	.string	"r"
.LC6:
	.string	"seek()"
.LC7:
	.string	"%s: Could not process file.\n"
.LC8:
	.string	"File size is %d bytes.\n"
	.align 8
.LC9:
	.string	"%s: State Machine switch() not found.\n"
.LC10:
	.string	"switch"
	.align 8
.LC11:
	.string	"state machine found at line %d\n"
	.align 8
.LC12:
	.string	"%s: Error reading state machine on line %d.\n"
.LC13:
	.string	"case"
.LC14:
	.string	"=="
.LC15:
	.string	"%s: Parse error line %d\n"
.LC16:
	.string	"    %s -> %s [ label =\"\" ];\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 632
	.cfi_offset 3, -24
	mov	DWORD PTR -628[rbp], edi
	mov	QWORD PTR -640[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -604[rbp], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR -568[rbp], rax
	mov	QWORD PTR -584[rbp], 0
	mov	DWORD PTR -624[rbp], -1
	mov	DWORD PTR -608[rbp], 0
	cmp	DWORD PTR -628[rbp], 3
	je	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -640[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -592[rbp], rax
	mov	rax, QWORD PTR -640[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -584[rbp], rax
.L7:
	cmp	QWORD PTR -584[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -584[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -600[rbp], rax
	cmp	QWORD PTR -600[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -600[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -624[rbp], eax
	cmp	DWORD PTR -624[rbp], -1
	jne	.L10
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	DWORD PTR -624[rbp], -1
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -600[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -624[rbp], eax
	mov	rax, QWORD PTR -600[rbp]
	mov	rdi, rax
	call	rewind@PLT
.L11:
	cmp	DWORD PTR -624[rbp], 0
	jg	.L8
	mov	rax, QWORD PTR -600[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -584[rbp], 0
.L8:
	cmp	DWORD PTR -624[rbp], 0
	jg	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -568[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -624[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -544[rbp]
	movabs	rbx, 7955443211351191157
	mov	QWORD PTR [rax], rbx
	mov	WORD PTR 8[rax], 25701
	mov	BYTE PTR 10[rax], 0
	mov	DWORD PTR -620[rbp], 0
	mov	DWORD PTR -616[rbp], 0
.L14:
	mov	rdx, QWORD PTR -600[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -568[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -620[rbp], 0
.L13:
	add	DWORD PTR -620[rbp], 1
	lea	rax, -288[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L14
	mov	rdx, QWORD PTR -592[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L14
	cmp	DWORD PTR -620[rbp], 0
	jle	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -620[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -612[rbp], 0
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -612[rbp]
	cdqe
	movzx	eax, BYTE PTR -288[rbp+rax]
	cmp	al, 123
	jne	.L17
	add	DWORD PTR -616[rbp], 1
.L17:
	mov	eax, DWORD PTR -612[rbp]
	cdqe
	movzx	eax, BYTE PTR -288[rbp+rax]
	cmp	al, 125
	jne	.L18
	sub	DWORD PTR -616[rbp], 1
.L18:
	add	DWORD PTR -612[rbp], 1
.L16:
	mov	eax, DWORD PTR -612[rbp]
	movsx	rbx, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L19
.L37:
	mov	rdx, QWORD PTR -600[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -620[rbp]
	mov	rdx, QWORD PTR -568[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -620[rbp], 0
	jmp	.L21
.L20:
	add	DWORD PTR -620[rbp], 1
	mov	DWORD PTR -612[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -612[rbp]
	cdqe
	movzx	eax, BYTE PTR -288[rbp+rax]
	cmp	al, 123
	jne	.L23
	add	DWORD PTR -616[rbp], 1
.L23:
	mov	eax, DWORD PTR -612[rbp]
	cdqe
	movzx	eax, BYTE PTR -288[rbp+rax]
	cmp	al, 125
	jne	.L24
	sub	DWORD PTR -616[rbp], 1
.L24:
	add	DWORD PTR -612[rbp], 1
.L22:
	mov	eax, DWORD PTR -612[rbp]
	movsx	rbx, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L25
	lea	rax, -288[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -560[rbp], rax
	cmp	QWORD PTR -560[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -560[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -552[rbp], rax
	cmp	QWORD PTR -552[rbp], 0
	je	.L26
	add	QWORD PTR -560[rbp], 5
	mov	rax, QWORD PTR -552[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -544[rbp]
	mov	QWORD PTR -576[rbp], rax
	mov	DWORD PTR -612[rbp], 0
	jmp	.L27
.L29:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -612[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -560[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L28
	mov	eax, DWORD PTR -612[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -560[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -576[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -576[rbp], rdx
	movzx	edx, BYTE PTR [rcx]
	mov	BYTE PTR [rax], dl
.L28:
	add	DWORD PTR -612[rbp], 1
.L27:
	mov	eax, DWORD PTR -612[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L29
	mov	rax, QWORD PTR -576[rbp]
	mov	BYTE PTR [rax], 0
.L26:
	mov	rdx, QWORD PTR -592[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -560[rbp], rax
	cmp	QWORD PTR -560[rbp], 0
	je	.L30
	mov	rax, QWORD PTR -560[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -552[rbp], rax
	cmp	QWORD PTR -552[rbp], 0
	je	.L30
	mov	rax, QWORD PTR -560[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L30
	add	QWORD PTR -552[rbp], 1
	mov	rax, QWORD PTR -552[rbp]
	mov	esi, 59
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -576[rbp], rax
	cmp	QWORD PTR -576[rbp], 0
	je	.L31
	mov	rax, QWORD PTR -576[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -416[rbp]
	mov	QWORD PTR -576[rbp], rax
	mov	DWORD PTR -612[rbp], 0
	jmp	.L33
.L31:
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -620[rbp]
	mov	rdx, QWORD PTR -568[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -616[rbp], 0
	mov	DWORD PTR -620[rbp], 0
	jmp	.L21
.L35:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -612[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR -612[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -576[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -576[rbp], rdx
	movzx	edx, BYTE PTR [rcx]
	mov	BYTE PTR [rax], dl
.L34:
	add	DWORD PTR -612[rbp], 1
.L33:
	mov	eax, DWORD PTR -612[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L35
	mov	rax, QWORD PTR -576[rbp]
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -608[rbp], 0
	jne	.L36
	mov	eax, 0
	call	printHeader
	mov	DWORD PTR -608[rbp], 1
.L36:
	lea	rdx, -416[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	cmp	DWORD PTR -616[rbp], 0
	jg	.L37
.L21:
	cmp	DWORD PTR -620[rbp], 0
	jle	.L15
	mov	eax, 0
	call	printTrailer
.L15:
	mov	rax, QWORD PTR -600[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -604[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"903321.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"digraph finite_state_machine {\012\011rankdir=LR;\012"
	.ascii	"\011size=\"40,10\"\012\011node [shape = circle];\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.global	printHeader
	.syntax unified
	.arm
	.fpu softvfp
	.type	printHeader, %function
printHeader:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.size	printHeader, .-printHeader
	.section	.rodata
	.align	2
.LC2:
	.ascii	"}\012\000"
	.text
	.align	2
	.global	printTrailer
	.syntax unified
	.arm
	.fpu softvfp
	.type	printTrailer, %function
printTrailer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L7
	bl	puts
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.size	printTrailer, .-printTrailer
	.section	.rodata
	.align	2
.LC3:
	.ascii	"fsm2dot\000"
	.align	2
.LC4:
	.ascii	"Usage: fsm2dot <state_variable> <sourcefile.c>\012\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"seek()\000"
	.align	2
.LC7:
	.ascii	"%s: Could not process file.\012\000"
	.align	2
.LC8:
	.ascii	"File size is %d bytes.\012\000"
	.align	2
.LC9:
	.ascii	"unassigned\000"
	.align	2
.LC10:
	.ascii	"%s: State Machine switch() not found.\012\000"
	.align	2
.LC11:
	.ascii	"switch\000"
	.align	2
.LC12:
	.ascii	"state machine found at line %d\012\000"
	.align	2
.LC13:
	.ascii	"%s: Error reading state machine on line %d.\012\000"
	.align	2
.LC14:
	.ascii	"case\000"
	.align	2
.LC15:
	.ascii	"==\000"
	.align	2
.LC16:
	.ascii	"%s: Parse error line %d\012\000"
	.align	2
.LC17:
	.ascii	"    %s -> %s [ label =\"\" ];\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #576
	str	r0, [fp, #-576]
	str	r1, [fp, #-580]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-536]
	ldr	r3, .L44+4
	str	r3, [fp, #-532]
	mov	r3, #0
	str	r3, [fp, #-544]
	mvn	r3, #0
	str	r3, [fp, #-568]
	mov	r3, #0
	str	r3, [fp, #-552]
	ldr	r3, [fp, #-576]
	cmp	r3, #3
	beq	.L10
	ldr	r3, .L44+8
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L44+12
	bl	fwrite
	b	.L11
.L10:
	ldr	r3, [fp, #-580]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-580]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-544]
.L11:
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	beq	.L12
	ldr	r1, .L44+16
	ldr	r0, [fp, #-544]
	bl	fopen
	str	r0, [fp, #-572]
	ldr	r3, [fp, #-572]
	cmp	r3, #0
	bne	.L13
	ldr	r0, [fp, #-544]
	bl	perror
	b	.L12
.L13:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-572]
	bl	fseek
	str	r0, [fp, #-568]
	ldr	r3, [fp, #-568]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L44+20
	bl	perror
	mvn	r3, #0
	str	r3, [fp, #-568]
	b	.L15
.L14:
	ldr	r0, [fp, #-572]
	bl	ftell
	str	r0, [fp, #-568]
	ldr	r0, [fp, #-572]
	bl	rewind
.L15:
	ldr	r3, [fp, #-568]
	cmp	r3, #0
	bgt	.L12
	ldr	r0, [fp, #-572]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-544]
.L12:
	ldr	r3, [fp, #-568]
	cmp	r3, #0
	bgt	.L16
	ldr	r3, .L44+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-532]
	ldr	r1, .L44+24
	mov	r0, r3
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L16:
	ldr	r3, .L44+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-568]
	ldr	r1, .L44+28
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #520
	ldr	r2, .L44+32
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-564]
	mov	r3, #0
	str	r3, [fp, #-560]
.L18:
	sub	r3, fp, #264
	ldr	r2, [fp, #-572]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L44+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-532]
	ldr	r1, .L44+36
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-564]
.L17:
	ldr	r3, [fp, #-564]
	add	r3, r3, #1
	str	r3, [fp, #-564]
	sub	r3, fp, #264
	ldr	r1, .L44+40
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #264
	ldr	r1, [fp, #-548]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-564]
	cmp	r3, #0
	ble	.L19
	ldr	r3, .L44+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-564]
	ldr	r1, .L44+44
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L20
.L23:
	sub	r2, fp, #264
	ldr	r3, [fp, #-556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L21
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
.L21:
	sub	r2, fp, #264
	ldr	r3, [fp, #-556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L22
	ldr	r3, [fp, #-560]
	sub	r3, r3, #1
	str	r3, [fp, #-560]
.L22:
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L20:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-556]
	cmp	r2, r3
	bhi	.L23
.L41:
	sub	r3, fp, #264
	ldr	r2, [fp, #-572]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L44+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-564]
	ldr	r2, [fp, #-532]
	ldr	r1, .L44+48
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-564]
	b	.L25
.L24:
	ldr	r3, [fp, #-564]
	add	r3, r3, #1
	str	r3, [fp, #-564]
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L26
.L29:
	sub	r2, fp, #264
	ldr	r3, [fp, #-556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L27
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
.L27:
	sub	r2, fp, #264
	ldr	r3, [fp, #-556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L28
	ldr	r3, [fp, #-560]
	sub	r3, r3, #1
	str	r3, [fp, #-560]
.L28:
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L26:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-556]
	cmp	r2, r3
	bhi	.L29
	sub	r3, fp, #264
	ldr	r1, .L44+52
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	beq	.L30
	mov	r1, #58
	ldr	r0, [fp, #-528]
	bl	strchr
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-528]
	add	r3, r3, #5
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-524]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #520
	str	r3, [fp, #-540]
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L31
.L33:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-556]
	ldr	r1, [fp, #-528]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-556]
	ldr	r2, [fp, #-528]
	add	r2, r2, r3
	ldr	r3, [fp, #-540]
	add	r1, r3, #1
	str	r1, [fp, #-540]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L32:
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L31:
	ldr	r0, [fp, #-528]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-556]
	cmp	r2, r3
	bhi	.L33
	ldr	r3, [fp, #-540]
	mov	r2, #0
	strb	r2, [r3]
.L30:
	sub	r3, fp, #264
	ldr	r1, [fp, #-548]
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	beq	.L34
	mov	r1, #61
	ldr	r0, [fp, #-528]
	bl	strchr
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	beq	.L34
	ldr	r1, .L44+56
	ldr	r0, [fp, #-528]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	str	r3, [fp, #-524]
	mov	r1, #59
	ldr	r0, [fp, #-524]
	bl	strchr
	str	r0, [fp, #-540]
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-540]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #392
	str	r3, [fp, #-540]
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L37
.L35:
	ldr	r3, .L44+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-564]
	ldr	r2, [fp, #-532]
	ldr	r1, .L44+60
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-560]
	mov	r3, #0
	str	r3, [fp, #-564]
	b	.L25
.L39:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-556]
	ldr	r1, [fp, #-524]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-556]
	ldr	r2, [fp, #-524]
	add	r2, r2, r3
	ldr	r3, [fp, #-540]
	add	r1, r3, #1
	str	r1, [fp, #-540]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L38:
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L37:
	ldr	r0, [fp, #-524]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-556]
	cmp	r2, r3
	bhi	.L39
	ldr	r3, [fp, #-540]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-552]
	cmp	r3, #0
	bne	.L40
	bl	printHeader
	mov	r3, #1
	str	r3, [fp, #-552]
.L40:
	sub	r2, fp, #392
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L44+64
	bl	printf
.L34:
	ldr	r3, [fp, #-560]
	cmp	r3, #0
	bgt	.L41
.L25:
	ldr	r3, [fp, #-564]
	cmp	r3, #0
	ble	.L19
	bl	printTrailer
.L19:
	ldr	r0, [fp, #-572]
	bl	fclose
	ldr	r3, [fp, #-536]
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC18
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
