	.file	"519406.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"(VINTR)"
	.text
	.globl	get_eof
	.type	get_eof, @function
get_eof:
.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
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	get_eof, .-get_eof
	.section	.rodata
.LC1:
	.string	"output.txt"
	.text
	.globl	main
	.type	main, @function
main:
.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -172[rbp], -1
	mov	edx, 384
	mov	esi, 1089
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], -1
	jne	.L3
	mov	eax, -1
	jmp	.L9
.L3:
	mov	BYTE PTR -173[rbp], 1
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	tcgetattr@PLT
	lea	rsi, get_eof[rip]
	mov	edi, 2
	call	signal@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	BYTE PTR -59[rbp], 3
	mov	BYTE PTR -63[rbp], 4
	lea	rax, -80[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	jmp	.L5
.L8:
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	jmp	.L6
.L7:
	mov	rdx, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -172[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L6:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rcx, -160[rbp]
	lea	rax, -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], -1
	jne	.L7
.L5:
	cmp	BYTE PTR -173[rbp], 0
	jne	.L8
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, 0
.L9:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"519406.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"(VINTR)\000"
	.text
	.align	2
	.global	get_eof
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_eof, %function
get_eof:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L2
	bl	puts
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	get_eof, .-get_eof
	.section	.rodata
	.align	2
.LC1:
	.ascii	"output.txt\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-136]
	mov	r2, #384
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	open
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmn	r3, #1
	bne	.L5
	mvn	r3, #0
	b	.L11
.L5:
	mov	r3, #1
	strb	r3, [fp, #-145]
	ldr	r3, .L13+12
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	sub	r3, fp, #128
	mov	r1, r3
	mov	r0, #0
	bl	tcgetattr
	ldr	r1, .L13+16
	mov	r0, #2
	bl	signal
	sub	ip, fp, #68
	sub	lr, fp, #128
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	r3, #3
	strb	r3, [fp, #-47]
	mov	r3, #4
	strb	r3, [fp, #-51]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L8
.L9:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-132]
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	write
.L8:
	ldr	r3, .L13+20
	ldr	r2, [r3]
	sub	r1, fp, #140
	sub	r3, fp, #144
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmn	r3, #1
	bne	.L9
.L7:
	ldrb	r3, [fp, #-145]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	sub	r3, fp, #128
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	1089
	.word	.LC1
	.word	stdout
	.word	get_eof
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
