	.file	"1260389.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"<max line length> [input file] [output file]\n"
.LC1:
	.string	"Usage: %s %s"
.LC2:
	.string	"-h"
.LC3:
	.string	"%d"
	.align 8
.LC4:
	.string	"%s: You must use at least 5 columns per line.\n"
	.align 8
.LC5:
	.string	"%s: You must not use more than 200 columns per line.\n"
.LC6:
	.string	"r"
	.align 8
.LC7:
	.string	"%s: Failed to open input file \"%s\" for reading.\n"
	.align 8
.LC8:
	.string	"Usage: %s <number of columns per line> [input file] [output file]\n"
.LC9:
	.string	"w"
	.align 8
.LC10:
	.string	"%s: Failed to open output file \"%s\" for writing.\n"
	.align 8
.LC11:
	.string	"%s: Error while writing to the output file.\n"
.LC12:
	.string	"%s: Error message: %s.\n"
	.align 8
.LC13:
	.string	"%s: An error occured while reading from the input file.\n"
.LC14:
	.string	"%s\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, 288
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -276[rbp], 1
	jle	.L2
	cmp	DWORD PTR -276[rbp], 4
	jle	.L3
.L2:
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -276[rbp], 2
	jne	.L4
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -264[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L6
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 4
	jg	.L7
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 200
	jle	.L8
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -232[rbp], rax
	jmp	.L9
.L4:
	cmp	DWORD PTR -276[rbp], 3
	jne	.L10
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -264[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L11
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 4
	jg	.L12
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 200
	jle	.L13
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	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
.L14:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -232[rbp], rax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -264[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L15
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 4
	jg	.L16
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR -264[rbp]
	cmp	eax, 200
	jle	.L17
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	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:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 24
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	DWORD PTR -248[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	add	DWORD PTR -248[rbp], 1
.L19:
	cmp	DWORD PTR -248[rbp], 200
	jle	.L20
	mov	DWORD PTR -244[rbp], 0
	mov	eax, DWORD PTR -244[rbp]
	mov	DWORD PTR -248[rbp], eax
	mov	DWORD PTR -252[rbp], -1
	mov	eax, DWORD PTR -252[rbp]
	mov	DWORD PTR -256[rbp], eax
	mov	eax, DWORD PTR -264[rbp]
	sub	eax, 1
	mov	DWORD PTR -264[rbp], eax
.L40:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -265[rbp], al
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L21
	mov	DWORD PTR -244[rbp], 1
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	cmp	DWORD PTR -248[rbp], 0
	je	.L22
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L24
	mov	DWORD PTR -244[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	movzx	edx, BYTE PTR -265[rbp]
	mov	BYTE PTR -224[rbp+rax], dl
	cmp	BYTE PTR -265[rbp], 10
	jne	.L25
	mov	eax, DWORD PTR -248[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L26
	mov	DWORD PTR -244[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
.L26:
	mov	DWORD PTR -248[rbp], -1
	mov	DWORD PTR -252[rbp], -1
	mov	eax, DWORD PTR -252[rbp]
	mov	DWORD PTR -256[rbp], eax
	jmp	.L27
.L25:
	cmp	BYTE PTR -265[rbp], 32
	jne	.L28
	mov	eax, DWORD PTR -248[rbp]
	mov	DWORD PTR -252[rbp], eax
	jmp	.L27
.L28:
	cmp	BYTE PTR -265[rbp], 33
	je	.L29
	cmp	BYTE PTR -265[rbp], 38
	je	.L29
	cmp	BYTE PTR -265[rbp], 42
	je	.L29
	cmp	BYTE PTR -265[rbp], 44
	je	.L29
	cmp	BYTE PTR -265[rbp], 45
	je	.L29
	cmp	BYTE PTR -265[rbp], 46
	je	.L29
	cmp	BYTE PTR -265[rbp], 47
	je	.L29
	cmp	BYTE PTR -265[rbp], 58
	je	.L29
	cmp	BYTE PTR -265[rbp], 59
	je	.L29
	cmp	BYTE PTR -265[rbp], 61
	je	.L29
	cmp	BYTE PTR -265[rbp], 63
	je	.L29
	cmp	BYTE PTR -265[rbp], 64
	je	.L29
	cmp	BYTE PTR -265[rbp], 92
	je	.L29
	cmp	BYTE PTR -265[rbp], 95
	jne	.L27
.L29:
	mov	eax, DWORD PTR -248[rbp]
	mov	DWORD PTR -256[rbp], eax
.L27:
	mov	eax, DWORD PTR -264[rbp]
	cmp	DWORD PTR -248[rbp], eax
	jne	.L22
	cmp	DWORD PTR -252[rbp], -1
	je	.L30
	mov	eax, DWORD PTR -252[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	lea	rdx, -224[rbp]
	mov	rax, QWORD PTR -232[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L31
	mov	DWORD PTR -244[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
	jmp	.L22
.L31:
	mov	eax, DWORD PTR -248[rbp]
	cmp	eax, DWORD PTR -252[rbp]
	jle	.L32
	mov	eax, DWORD PTR -252[rbp]
	add	eax, 1
	mov	DWORD PTR -260[rbp], eax
	mov	DWORD PTR -248[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], dl
	add	DWORD PTR -260[rbp], 1
	add	DWORD PTR -248[rbp], 1
.L33:
	mov	eax, DWORD PTR -264[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jle	.L34
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	cmp	DWORD PTR -256[rbp], -1
	je	.L35
	mov	eax, DWORD PTR -252[rbp]
	add	eax, 1
	sub	DWORD PTR -256[rbp], eax
	cmp	DWORD PTR -256[rbp], 0
	jns	.L35
	mov	DWORD PTR -256[rbp], -1
.L35:
	mov	DWORD PTR -252[rbp], -1
	sub	DWORD PTR -248[rbp], 1
	jmp	.L22
.L32:
	mov	DWORD PTR -248[rbp], -1
	mov	DWORD PTR -252[rbp], -1
	mov	eax, DWORD PTR -252[rbp]
	mov	DWORD PTR -256[rbp], eax
	jmp	.L22
.L30:
	cmp	DWORD PTR -256[rbp], -1
	je	.L36
	add	DWORD PTR -256[rbp], 1
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	mov	BYTE PTR -265[rbp], al
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	lea	rdx, -224[rbp]
	mov	rax, QWORD PTR -232[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	movzx	edx, BYTE PTR -265[rbp]
	mov	BYTE PTR -224[rbp+rax], dl
	mov	eax, DWORD PTR -256[rbp]
	mov	DWORD PTR -260[rbp], eax
	sub	DWORD PTR -256[rbp], 1
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L37
	mov	DWORD PTR -244[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
.L37:
	mov	DWORD PTR -248[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], dl
	add	DWORD PTR -260[rbp], 1
	add	DWORD PTR -248[rbp], 1
.L38:
	mov	eax, DWORD PTR -264[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jle	.L39
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	mov	DWORD PTR -256[rbp], -1
	sub	DWORD PTR -248[rbp], 1
	jmp	.L22
.L36:
	mov	eax, DWORD PTR -264[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	lea	rdx, -224[rbp]
	mov	rax, QWORD PTR -232[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -248[rbp], -1
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L22
	mov	DWORD PTR -244[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	clearerr@PLT
.L22:
	add	DWORD PTR -248[rbp], 1
	cmp	DWORD PTR -244[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	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	"1260389.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"<max line length> [input file] [output file]\012\000"
	.align	2
.LC1:
	.ascii	"Usage: %s %s\000"
	.align	2
.LC2:
	.ascii	"-h\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%s: You must use at least 5 columns per line.\012\000"
	.align	2
.LC5:
	.ascii	"%s: You must not use more than 200 columns per line"
	.ascii	".\012\000"
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"%s: Failed to open input file \"%s\" for reading.\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"Usage: %s <number of columns per line> [input file]"
	.ascii	" [output file]\012\000"
	.align	2
.LC9:
	.ascii	"w\000"
	.align	2
.LC10:
	.ascii	"%s: Failed to open output file \"%s\" for writing.\012"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"%s: Error while writing to the output file.\012\000"
	.align	2
.LC12:
	.ascii	"%s: Error message: %s.\012\000"
	.align	2
.LC13:
	.ascii	"%s: An error occured while reading from the input f"
	.ascii	"ile.\012\000"
	.align	2
.LC14:
	.ascii	"%s\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #256
	str	r0, [fp, #-264]
	str	r1, [fp, #-268]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-264]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-264]
	cmp	r3, #4
	ble	.L3
.L2:
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, .L43+8
	ldr	r1, .L43+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-264]
	cmp	r3, #2
	bne	.L4
	ldr	r3, [fp, #-268]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L43+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, .L43+8
	ldr	r1, .L43+12
	bl	fprintf
	mov	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-268]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #252
	ldr	r1, .L43+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L6
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, .L43+8
	ldr	r1, .L43+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-252]
	cmp	r3, #4
	bgt	.L7
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-252]
	cmp	r3, #200
	ble	.L8
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, .L43+32
	ldr	r3, [r3]
	str	r3, [fp, #-228]
	ldr	r3, .L43+36
	ldr	r3, [r3]
	str	r3, [fp, #-224]
	b	.L9
.L4:
	ldr	r3, [fp, #-264]
	cmp	r3, #3
	bne	.L10
	ldr	r3, [fp, #-268]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #252
	ldr	r1, .L43+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L11
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, .L43+8
	ldr	r1, .L43+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-252]
	cmp	r3, #4
	bgt	.L12
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	ldr	r3, [fp, #-252]
	cmp	r3, #200
	ble	.L13
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, [fp, #-268]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L43+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L43+44
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, .L43+36
	ldr	r3, [r3]
	str	r3, [fp, #-224]
	b	.L9
.L10:
	ldr	r3, [fp, #-268]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #252
	ldr	r1, .L43+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L15
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+48
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-252]
	cmp	r3, #4
	bgt	.L16
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-252]
	cmp	r3, #200
	ble	.L17
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L17:
	ldr	r3, [fp, #-268]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L43+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L43+44
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-268]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L43+52
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L43+56
	bl	fprintf
	ldr	r0, [fp, #-228]
	bl	fclose
	mov	r0, #1
	bl	exit
.L9:
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L19
.L20:
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L19:
	ldr	r3, [fp, #-236]
	cmp	r3, #200
	ble	.L20
	mov	r3, #0
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-236]
	mvn	r3, #0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	str	r3, [fp, #-252]
.L40:
	ldr	r0, [fp, #-228]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-253]
	ldr	r0, [fp, #-228]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mov	r3, #1
	str	r3, [fp, #-232]
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	beq	.L22
	sub	r3, fp, #220
	ldr	r1, [fp, #-224]
	mov	r0, r3
	bl	fputs
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
	b	.L22
.L23:
	ldr	r0, [fp, #-224]
	bl	fflush
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
	b	.L22
.L21:
	ldr	r0, [fp, #-228]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r3, #1
	str	r3, [fp, #-232]
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+68
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	b	.L22
.L24:
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	ldrb	r2, [fp, #-253]
	strb	r2, [r3]
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L25
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-208]
	sub	r3, fp, #220
	ldr	r1, [fp, #-224]
	mov	r0, r3
	bl	fputs
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	mov	r3, #1
	str	r3, [fp, #-232]
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
.L26:
	mvn	r3, #0
	str	r3, [fp, #-236]
	mvn	r3, #0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-244]
	b	.L27
.L25:
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L28
	ldr	r3, [fp, #-236]
	str	r3, [fp, #-240]
	b	.L27
.L28:
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #38
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #64
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L29
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L27
.L29:
	ldr	r3, [fp, #-236]
	str	r3, [fp, #-244]
.L27:
	ldr	r3, [fp, #-252]
	ldr	r2, [fp, #-236]
	cmp	r2, r3
	bne	.L22
	ldr	r3, [fp, #-240]
	cmn	r3, #1
	beq	.L30
	sub	r2, fp, #220
	ldr	r3, [fp, #-240]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #220
	mov	r2, r3
	ldr	r1, .L43+72
	ldr	r0, [fp, #-224]
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	mov	r3, #1
	str	r3, [fp, #-232]
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
	b	.L22
.L31:
	ldr	r2, [fp, #-236]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	ble	.L32
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-248]
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L33
.L34:
	sub	r2, fp, #220
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L33:
	ldr	r3, [fp, #-252]
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	ble	.L34
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-244]
	cmn	r3, #1
	beq	.L35
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	sub	r3, r2, r3
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	bge	.L35
	mvn	r3, #0
	str	r3, [fp, #-244]
.L35:
	mvn	r3, #0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-236]
	sub	r3, r3, #1
	str	r3, [fp, #-236]
	b	.L22
.L32:
	mvn	r3, #0
	str	r3, [fp, #-236]
	mvn	r3, #0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-244]
	b	.L22
.L30:
	ldr	r3, [fp, #-244]
	cmn	r3, #1
	beq	.L36
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
	sub	r2, fp, #220
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-253]
	sub	r2, fp, #220
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #220
	mov	r2, r3
	ldr	r1, .L43+72
	ldr	r0, [fp, #-224]
	bl	fprintf
	sub	r2, fp, #220
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	ldrb	r2, [fp, #-253]
	strb	r2, [r3]
	ldr	r3, [fp, #-244]
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-244]
	sub	r3, r3, #1
	str	r3, [fp, #-244]
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	mov	r3, #1
	str	r3, [fp, #-232]
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
.L37:
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L38
.L39:
	sub	r2, fp, #220
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L38:
	ldr	r3, [fp, #-252]
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	ble	.L39
	sub	r2, fp, #220
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mvn	r3, #0
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-236]
	sub	r3, r3, #1
	str	r3, [fp, #-236]
	b	.L22
.L36:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-208]
	sub	r3, fp, #220
	mov	r2, r3
	ldr	r1, .L43+72
	ldr	r0, [fp, #-224]
	bl	fprintf
	mvn	r3, #0
	str	r3, [fp, #-236]
	ldr	r0, [fp, #-224]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	str	r3, [fp, #-232]
	ldr	r3, .L43+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+60
	bl	fprintf
	ldr	r3, .L43+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-268]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L43+64
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-224]
	bl	clearerr
.L22:
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
	ldr	r3, [fp, #-232]
	cmp	r3, #0
	beq	.L40
	ldr	r0, [fp, #-228]
	bl	fclose
	ldr	r0, [fp, #-224]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC15
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdin
	.word	stdout
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
