	.file	"419720.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"tee usage:\n\ttee [-a] file ... file_n\n\n\t-a\tappend to fi"
	.ascii	"les instead of truncating\n\nTe"
	.string	"e reads its input, and writes to each of the specified files,\nas well as to the standard output.\n\nThis version supplied with Vim 4.2 to make ':make' possible.\nFor a more complete and stable version, consider getting\n[a port of] the GNU shellutils package.\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 339
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	usage, .-usage
	.globl	myfread
	.type	myfread, @function
myfread:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -4[rbp], 10
	je	.L4
	cmp	DWORD PTR -4[rbp], 13
	je	.L4
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L4
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	myfread, .-myfread
	.section	.rodata
.LC1:
	.string	"a"
	.align 8
.LC2:
	.string	"doesn't make much sense using tee without any file name arguments...\n"
	.align 8
.LC3:
	.string	"Sorry, there is a limit of max %d files.\n"
	.align 8
.LC4:
	.string	"Error allocating memory for %d files\n"
.LC5:
	.string	"ab"
.LC6:
	.string	"wb"
.LC7:
	.string	"Can't open \"%s\"\n"
.LC8:
	.string	"b"
.LC9:
	.string	"Error writing to file \"%s\"\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -8260[rbp], edi
	mov	QWORD PTR -8272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8256[rbp], 0
	jmp	.L8
.L10:
	cmp	DWORD PTR -8244[rbp], 97
	jne	.L9
	add	DWORD PTR -8256[rbp], 1
	jmp	.L8
.L9:
	call	usage
	mov	edi, 2
	call	exit@PLT
.L8:
	mov	rcx, QWORD PTR -8272[rbp]
	mov	eax, DWORD PTR -8260[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -8244[rbp], eax
	cmp	DWORD PTR -8244[rbp], -1
	jne	.L10
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -8260[rbp]
	sub	eax, edx
	mov	DWORD PTR -8240[rbp], eax
	cmp	DWORD PTR -8240[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	call	usage
	mov	edi, 2
	call	exit@PLT
.L11:
	mov	edi, 4
	call	sysconf@PLT
	mov	DWORD PTR -8252[rbp], eax
	cmp	DWORD PTR -8252[rbp], 0
	jns	.L12
	mov	DWORD PTR -8252[rbp], 10
.L12:
	mov	eax, DWORD PTR -8240[rbp]
	add	eax, 2
	cmp	DWORD PTR -8252[rbp], eax
	jg	.L13
	mov	eax, DWORD PTR -8252[rbp]
	lea	edx, -3[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	eax, DWORD PTR -8240[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8232[rbp], rax
	cmp	QWORD PTR -8232[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8240[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	DWORD PTR -8248[rbp], 0
	jmp	.L15
.L19:
	cmp	DWORD PTR -8256[rbp], 0
	je	.L16
	lea	rax, .LC5[rip]
	jmp	.L17
.L16:
	lea	rax, .LC6[rip]
.L17:
	mov	ecx, DWORD PTR optind[rip]
	mov	edx, DWORD PTR -8248[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -8272[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	mov	ecx, DWORD PTR -8248[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR -8232[rbp]
	lea	rbx, [rsi+rcx]
	mov	rsi, rax
	mov	rdi, rdx
	call	fopen@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L18
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	add	DWORD PTR -8248[rbp], 1
.L15:
	mov	eax, DWORD PTR -8248[rbp]
	cmp	eax, DWORD PTR -8240[rbp]
	jl	.L19
	mov	rax, QWORD PTR stdin[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_fsetmode@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_fsetmode@PLT
	jmp	.L20
.L24:
	mov	rcx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -8236[rbp]
	movsx	rdx, eax
	lea	rax, -8224[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -8248[rbp], 0
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L22
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8236[rbp]
	movsx	rdx, eax
	lea	rax, -8224[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -8236[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L22
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L22:
	add	DWORD PTR -8248[rbp], 1
.L21:
	mov	eax, DWORD PTR -8248[rbp]
	cmp	eax, DWORD PTR -8240[rbp]
	jl	.L23
.L20:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -8224[rbp]
	mov	rcx, rdx
	mov	edx, 8192
	mov	esi, 1
	mov	rdi, rax
	call	myfread
	mov	DWORD PTR -8236[rbp], eax
	cmp	DWORD PTR -8236[rbp], 0
	jg	.L24
	mov	DWORD PTR -8248[rbp], 0
	jmp	.L25
.L27:
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L26
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8232[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
.L26:
	add	DWORD PTR -8248[rbp], 1
.L25:
	mov	eax, DWORD PTR -8248[rbp]
	cmp	eax, DWORD PTR -8240[rbp]
	jl	.L27
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.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	"419720.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"tee usage:\012\011tee [-a] file ... file_n\012\012\011"
	.ascii	"-a\011append to files instead of truncating\012\012"
	.ascii	"Tee reads its input, and writes to each of the spec"
	.ascii	"ified files,\012as well as to the standard output.\012"
	.ascii	"\012This version supplied with Vim 4.2 to make ':ma"
	.ascii	"ke' possible.\012For a more complete and stable ver"
	.ascii	"sion, consider getting\012[a port of] the GNU shell"
	.ascii	"utils package.\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	mov	r1, #1
	ldr	r0, .L2+8
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	339
	.word	.LC0
	.size	usage, .-usage
	.align	2
	.global	myfread
	.syntax unified
	.arm
	.fpu softvfp
	.type	myfread, %function
myfread:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L7:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	beq	.L6
.L5:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L6
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L7
.L6:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	myfread, .-myfread
	.section	.rodata
	.align	2
.LC1:
	.ascii	"a\000"
	.align	2
.LC2:
	.ascii	"doesn't make much sense using tee without any file "
	.ascii	"name arguments...\012\000"
	.align	2
.LC3:
	.ascii	"Sorry, there is a limit of max %d files.\012\000"
	.align	2
.LC4:
	.ascii	"Error allocating memory for %d files\012\000"
	.align	2
.LC5:
	.ascii	"ab\000"
	.align	2
.LC6:
	.ascii	"wb\000"
	.align	2
.LC7:
	.ascii	"Can't open \"%s\"\012\000"
	.align	2
.LC8:
	.ascii	"b\000"
	.align	2
.LC9:
	.ascii	"Error writing to file \"%s\"\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #44
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-40]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L10
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #97
	bne	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
	b	.L10
.L11:
	bl	usage
	mov	r0, #2
	bl	exit
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, .L31+4
	ldr	r1, [r1, #-40]
	ldr	r0, [r3, #-36]
	bl	getopt
	str	r0, [r4, #-20]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmn	r3, #1
	bne	.L12
	ldr	r3, .L31+8
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-36]
	sub	r3, r2, r3
	str	r3, [r1, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L31+12
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L31+16
	bl	fwrite
	bl	usage
	mov	r0, #2
	bl	exit
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #4
	bl	sysconf
	str	r0, [r4, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bge	.L14
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-28]
.L14:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	add	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-28]
	cmp	r2, r3
	bgt	.L15
	ldr	r3, .L31+12
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	sub	r3, r3, #3
	mov	r2, r3
	ldr	r1, .L31+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L31+12
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	ldr	r1, .L31+24
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L17
.L21:
	ldr	r3, .L31+8
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-40]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	beq	.L18
	ldr	r1, .L31+28
	b	.L19
.L18:
	ldr	r1, .L31+32
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r4, r2, r3
	bl	fopen
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L31+12
	ldr	r0, [r3]
	ldr	r3, .L31+8
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L31+36
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L17:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-16]
	cmp	r2, r3
	blt	.L21
	ldr	r3, .L31+40
	ldr	r3, [r3]
	ldr	r1, .L31+44
	mov	r0, r3
	bl	_fsetmode
	ldr	r3, .L31+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L31+48
	ldr	r3, [r3]
	ldr	r1, .L31+44
	mov	r0, r3
	bl	_fsetmode
	b	.L22
.L26:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	ldr	r3, .L31+48
	ldr	r3, [r3]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, .L31+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L23
.L25:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	mov	r2, r1
	mov	r1, #1
	bl	fwrite
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r2, r3
	beq	.L24
	ldr	r3, .L31+12
	ldr	r0, [r3]
	ldr	r3, .L31+8
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L31+52
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L24:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-16]
	cmp	r2, r3
	blt	.L25
.L22:
	ldr	r3, .L31+40
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	mov	r2, #8192
	mov	r1, #1
	bl	myfread
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bgt	.L26
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L27
.L29:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
.L28:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L27:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-16]
	cmp	r2, r3
	blt	.L29
	mov	r0, #0
	bl	exit
.L32:
	.align	2
.L31:
	.word	.LC10
	.word	.LC1
	.word	optind
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stdin
	.word	.LC8
	.word	stdout
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
