	.file	"580284.c"
	.intel_syntax noprefix
	.text
	.globl	fill
	.type	fill, @function
fill:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	DWORD PTR -28[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], 0
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, 40
	sub	rax, rdx
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, rdx
	sub	rax, rcx
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rcx, 40[rdx]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	neg	rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	neg	rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	neg	rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
.L4:
	mov	eax, 8192
	sub	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L6
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	rdx, rax
	jbe	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	mov	eax, -1
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fill, .-fill
	.globl	scan
	.type	scan, @function
scan:
.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	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	fill
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, yyctable.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	nop
	jmp	rax
.L10:
	endbr64
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, rdx
	sub	rax, rcx
	cmp	rax, 1
	jg	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	fill
	test	eax, eax
	jns	.L30
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 42
	jne	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 47
	je	.L32
	nop
.L16:
	jmp	.L10
.L31:
	nop
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	jmp	.L16
.L32:
	nop
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L18
.L19:
	endbr64
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, rdx
	sub	rax, rcx
	cmp	rax, 1
	jg	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	fill
	test	eax, eax
	jns	.L33
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 47
	jne	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 42
	je	.L35
	nop
.L23:
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	jmp	.L18
.L34:
	nop
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	jmp	.L23
.L35:
	nop
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L10
.L18:
	jmp	.L25
.L30:
	nop
	jmp	.L13
.L33:
	nop
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	scan, .-scan
	.section	.rodata
.LC0:
	.string	"%s <file>\n"
.LC1:
	.string	"-"
.LC2:
	.string	"r"
.LC3:
	.string	"Cannot open file '%s'\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
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	DWORD PTR -8244[rbp], edi
	mov	QWORD PTR -8256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -8244[rbp], 2
	je	.L37
	mov	rax, QWORD PTR -8256[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L42
.L37:
	lea	rax, -8240[rbp]
	mov	edx, 8232
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -8240[rbp], rax
	jmp	.L40
.L39:
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8240[rbp], rax
	mov	rax, QWORD PTR -8240[rbp]
	test	rax, rax
	jne	.L40
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L42
.L40:
	lea	rax, -8240[rbp]
	mov	rdi, rax
	call	scan
	mov	rdx, QWORD PTR -8240[rbp]
	mov	rax, QWORD PTR stdin[rip]
	cmp	rdx, rax
	je	.L41
	mov	rax, QWORD PTR -8240[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L41:
	mov	eax, 0
.L42:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.data.rel.local,"aw"
	.align 16
	.type	yyctable.0, @object
	.size	yyctable.0, 16
yyctable.0:
	.quad	.L19
	.quad	.L10
	.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	"580284.c"
	.text
	.align	2
	.global	fill
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill, %function
fill:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-16]
	add	r2, r3, #20
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #20
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L4
	ldr	r3, [fp, #-16]
	add	r0, r3, #20
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
.L4:
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #8192
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L5
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	b	.L6
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bls	.L6
	mov	r3, #0
	b	.L7
.L6:
	mvn	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fill, .-fill
	.align	2
	.global	scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	scan, %function
scan:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fill
.L25:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r2, .L36
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	nop
	mov	pc, r3	@ indirect register jump
.L10:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #1
	bgt	.L12
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	fill
	mov	r3, r0
	cmp	r3, #0
	bge	.L30
.L12:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L32
	nop
.L16:
	b	.L10
.L31:
	nop
.L15:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	b	.L16
.L32:
	nop
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	b	.L18
.L19:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #1
	bgt	.L20
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	fill
	mov	r3, r0
	cmp	r3, #0
	bge	.L33
.L20:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L34
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L35
	nop
.L23:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	fputc
	b	.L18
.L34:
	nop
.L22:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	b	.L23
.L35:
	nop
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	b	.L10
.L18:
	b	.L25
.L30:
	nop
	b	.L13
.L33:
	nop
.L13:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	yyctable.5314
	.word	stdout
	.size	scan, .-scan
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s <file>\012\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Cannot open file '%s'\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8192
	sub	sp, sp, #32
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r0, [r3, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r1, [r3, #-32]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-28]
	cmp	r3, #2
	beq	.L39
	ldr	r3, .L46+4
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L46+8
	bl	fprintf
	mov	r3, #1
	b	.L44
.L39:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #24
	ldr	r2, .L46+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-32]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L46+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L46+20
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #-24]
	b	.L42
.L41:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-32]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L46+24
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #-24]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L46+4
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-32]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L46+28
	bl	fprintf
	mov	r3, #1
	b	.L44
.L42:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #24
	mov	r0, r3
	bl	scan
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r3, #-24]
	ldr	r3, .L46+20
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L43
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	mov	r0, r3
	bl	fclose
.L43:
	mov	r3, #0
.L44:
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC4
	.word	stderr
	.word	.LC0
	.word	8212
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.data
	.align	2
	.type	yyctable.5314, %object
	.size	yyctable.5314, 8
yyctable.5314:
	.word	.L19
	.word	.L10
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
