	.file	"261672.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"perr: reading from stdin)\n"
.LC1:
	.string	"perr: writing to stdout)\n"
.LC2:
	.string	"perr: writing to stderr)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	jmp	.L2
.L6:
	mov	rdx, QWORD PTR stderr[rip]
	mov	eax, DWORD PTR size.1[rip]
	cdqe
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR size.1[rip]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L11
	mov	rdx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR size.1[rip]
	cdqe
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR size.1[rip]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L12
.L2:
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR size.1[rip]
	cdqe
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fread@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR size.1[rip]
	cdqe
	cmp	QWORD PTR -8[rbp], rax
	je	.L6
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L8
.L7:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -8[rbp], rax
	jne	.L13
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -8[rbp], rax
	jne	.L14
	mov	eax, 0
	jmp	.L8
.L12:
	nop
	jmp	.L5
.L14:
	nop
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L8
.L11:
	nop
	jmp	.L4
.L13:
	nop
.L4:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, 1
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
	.type	size.1, @object
	.size	size.1, 4
size.1:
	.long	32768
	.local	buf.0
	.comm	buf.0,32768,32
	.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	"261672.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"perr: reading from stdin)\012\000"
	.align	2
.LC1:
	.ascii	"perr: writing to stdout)\012\000"
	.align	2
.LC2:
	.ascii	"perr: writing to stderr)\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	b	.L2
.L6:
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #1
	ldr	r0, .L15+8
	bl	fwrite
	mov	r3, r0
	ldr	r2, .L15
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L11
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L15+12
	ldr	r3, [r3]
	mov	r1, #1
	ldr	r0, .L15+8
	bl	fwrite
	mov	r3, r0
	ldr	r2, .L15
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L12
.L2:
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r1, #1
	ldr	r0, .L15+8
	bl	fread
	str	r0, [fp, #-8]
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	beq	.L6
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L15+20
	bl	fwrite
	mov	r3, #1
	b	.L8
.L7:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, #1
	ldr	r0, .L15+8
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	bne	.L13
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, #1
	ldr	r0, .L15+8
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	bne	.L14
	mov	r3, #0
	b	.L8
.L12:
	nop
	b	.L5
.L14:
	nop
.L5:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L15+24
	bl	fwrite
	mov	r3, #1
	b	.L8
.L11:
	nop
	b	.L4
.L13:
	nop
.L4:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L15+28
	bl	fwrite
	mov	r3, #1
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	size.4601
	.word	stderr
	.word	buf.4600
	.word	stdout
	.word	stdin
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	size.4601, %object
	.size	size.4601, 4
size.4601:
	.word	32768
	.local	buf.4600
	.comm	buf.4600,32768,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
