	.file	"313918.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage:\n\tDay8 <input filename>\n\n"
.LC1:
	.string	"r"
.LC2:
	.string	"Error opening file: %s\n\n"
.LC3:
	.string	" "
.LC4:
	.string	"rect"
.LC5:
	.string	" x"
.LC6:
	.string	"rotate"
.LC7:
	.string	"row"
.LC8:
	.string	" y="
.LC9:
	.string	" by"
.LC10:
	.string	" x="
	.align 8
.LC11:
	.string	"Error: Unrecognized command %s\n\n"
.LC12:
	.string	"Number of lit pixels: %d\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
	sub	rsp, 416
	mov	DWORD PTR -404[rbp], edi
	mov	QWORD PTR -416[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -352[rbp]
	mov	edx, 300
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -48[rbp]
	mov	edx, 25
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	DWORD PTR -404[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L27
.L2:
	mov	rax, QWORD PTR -416[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -368[rbp], rax
	cmp	QWORD PTR -368[rbp], 0
	jne	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L27
.L21:
	lea	rax, -48[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rsi, .LC5[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -376[rbp], eax
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -372[rbp], eax
	mov	DWORD PTR -396[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -392[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -392[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	sub	rax, 352
	mov	BYTE PTR [rax], 1
	add	DWORD PTR -392[rbp], 1
.L8:
	mov	eax, DWORD PTR -392[rbp]
	cmp	eax, DWORD PTR -376[rbp]
	jl	.L9
	add	DWORD PTR -396[rbp], 1
.L7:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jl	.L10
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -360[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -396[rbp], eax
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -380[rbp], eax
	mov	DWORD PTR -388[rbp], 0
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 303
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -397[rbp], al
	mov	DWORD PTR -392[rbp], 49
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -392[rbp]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	sub	rax, 352
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -392[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	add	rax, rsi
	sub	rax, 352
	mov	BYTE PTR [rax], dl
	sub	DWORD PTR -392[rbp], 1
.L14:
	cmp	DWORD PTR -392[rbp], 0
	jg	.L15
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	lea	rdx, -352[rax]
	movzx	eax, BYTE PTR -397[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -388[rbp], 1
.L13:
	mov	eax, DWORD PTR -388[rbp]
	cmp	eax, DWORD PTR -380[rbp]
	jl	.L16
	jmp	.L5
.L12:
	lea	rsi, .LC10[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -392[rbp], eax
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -380[rbp], eax
	mov	DWORD PTR -388[rbp], 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	movzx	eax, BYTE PTR -102[rbp+rax]
	mov	BYTE PTR -397[rbp], al
	mov	DWORD PTR -396[rbp], 5
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -396[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -392[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	sub	rax, 352
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -392[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	add	rax, rsi
	sub	rax, 352
	mov	BYTE PTR [rax], dl
	sub	DWORD PTR -396[rbp], 1
.L18:
	cmp	DWORD PTR -396[rbp], 0
	jg	.L19
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	movzx	edx, BYTE PTR -397[rbp]
	mov	BYTE PTR -352[rbp+rax], dl
	add	DWORD PTR -388[rbp], 1
.L17:
	mov	eax, DWORD PTR -388[rbp]
	cmp	eax, DWORD PTR -380[rbp]
	jl	.L20
	jmp	.L5
.L11:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -48[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L27
.L5:
	mov	rdx, QWORD PTR -368[rbp]
	lea	rax, -48[rbp]
	mov	esi, 25
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -384[rbp], 0
	mov	DWORD PTR -396[rbp], 0
	jmp	.L22
.L26:
	mov	DWORD PTR -392[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -392[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	sub	rax, 352
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L24
	add	DWORD PTR -384[rbp], 1
.L24:
	add	DWORD PTR -392[rbp], 1
.L23:
	cmp	DWORD PTR -392[rbp], 49
	jle	.L25
	add	DWORD PTR -396[rbp], 1
.L22:
	cmp	DWORD PTR -396[rbp], 5
	jle	.L26
	mov	eax, DWORD PTR -384[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L27:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.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	"313918.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage:\012\011Day8 <input filename>\012\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Error opening file: %s\012\012\000"
	.align	2
.LC3:
	.ascii	" \000"
	.align	2
.LC4:
	.ascii	"rect\000"
	.align	2
.LC5:
	.ascii	" x\000"
	.align	2
.LC6:
	.ascii	"rotate\000"
	.align	2
.LC7:
	.ascii	"row\000"
	.align	2
.LC8:
	.ascii	" y=\000"
	.align	2
.LC9:
	.ascii	" by\000"
	.align	2
.LC10:
	.ascii	" x=\000"
	.align	2
.LC11:
	.ascii	"Error: Unrecognized command %s\012\012\000"
	.align	2
.LC12:
	.ascii	"Number of lit pixels: %d\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #388
	str	r0, [fp, #-392]
	str	r1, [fp, #-396]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #344
	mov	r2, #300
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #44
	mov	r2, #25
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-392]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L29+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L29+8
	bl	fwrite
	mov	r3, #1
	b	.L27
.L2:
	ldr	r3, [fp, #-396]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L29+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-364]
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L29+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L29+16
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L27
.L21:
	sub	r3, fp, #44
	ldr	r1, .L29+20
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-360]
	ldr	r1, .L29+24
	ldr	r0, [fp, #-360]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L29+28
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-352]
	ldr	r1, .L29+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-380]
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-376]
	b	.L8
.L9:
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #332
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L8:
	ldr	r2, [fp, #-376]
	ldr	r3, [fp, #-352]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
.L7:
	ldr	r2, [fp, #-380]
	ldr	r3, [fp, #-348]
	cmp	r2, r3
	blt	.L10
	b	.L5
.L6:
	ldr	r1, .L29+32
	ldr	r0, [fp, #-360]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r1, .L29+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	ldr	r1, .L29+36
	ldr	r0, [fp, #-360]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r1, .L29+40
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-380]
	ldr	r1, .L29+44
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L13
.L16:
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #280
	sub	r3, r3, #3
	ldrb	r3, [r3]
	strb	r3, [fp, #-381]
	mov	r3, #49
	str	r3, [fp, #-376]
	b	.L14
.L15:
	ldr	r3, [fp, #-376]
	sub	r1, r3, #1
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	add	r3, r3, r1
	sub	r3, r3, #332
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #332
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-376]
	sub	r3, r3, #1
	str	r3, [fp, #-376]
.L14:
	ldr	r3, [fp, #-376]
	cmp	r3, #0
	bgt	.L15
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #332
	ldrb	r2, [fp, #-381]
	strb	r2, [r3]
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L13:
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-356]
	cmp	r2, r3
	blt	.L16
	b	.L5
.L12:
	ldr	r1, .L29+48
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-376]
	ldr	r1, .L29+44
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-360]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	strtol
	str	r0, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L17
.L20:
	sub	r2, fp, #94
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-381]
	mov	r3, #5
	str	r3, [fp, #-380]
	b	.L18
.L19:
	ldr	r3, [fp, #-380]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #332
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #332
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-380]
	sub	r3, r3, #1
	str	r3, [fp, #-380]
.L18:
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bgt	.L19
	sub	r2, fp, #344
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	ldrb	r2, [fp, #-381]
	strb	r2, [r3]
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L17:
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-356]
	cmp	r2, r3
	blt	.L20
	b	.L5
.L11:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	sub	r2, fp, #44
	ldr	r1, .L29+52
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-364]
	bl	fclose
	mov	r3, #1
	b	.L27
.L5:
	sub	r3, fp, #44
	ldr	r2, [fp, #-364]
	mov	r1, #25
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-364]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-380]
	b	.L22
.L26:
	mov	r3, #0
	str	r3, [fp, #-376]
	b	.L23
.L25:
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #332
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L24:
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L23:
	ldr	r3, [fp, #-376]
	cmp	r3, #49
	ble	.L25
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
.L22:
	ldr	r3, [fp, #-380]
	cmp	r3, #5
	ble	.L26
	ldr	r1, [fp, #-368]
	ldr	r0, .L29+56
	bl	printf
	mov	r3, #0
.L27:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC13
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
