	.file	"410111.c"
	.intel_syntax noprefix
	.text
	.local	line_t_pool
	.comm	line_t_pool,8,8
	.section	.rodata
.LC0:
	.string	"get_line_t(): malloc()"
	.align 8
.LC1:
	.string	"Could not allocate new line_t structure\n"
	.text
	.type	get_line_t, @function
get_line_t:
.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	rax, QWORD PTR line_t_pool[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	edi, 384
	call	malloc@PLT
	mov	QWORD PTR line_t_pool[rip], rax
	mov	rax, QWORD PTR line_t_pool[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L4
.L5:
	mov	rcx, QWORD PTR line_t_pool[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	mov	rsi, QWORD PTR line_t_pool[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	lea	rdx, [rcx+rdi]
	mov	QWORD PTR 16[rax], rdx
	add	DWORD PTR -12[rbp], 1
.L4:
	cmp	DWORD PTR -12[rbp], 14
	jle	.L5
	mov	rax, QWORD PTR line_t_pool[rip]
	add	rax, 360
	mov	QWORD PTR 16[rax], 0
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR line_t_pool[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_line_t, .-get_line_t
	.type	put_line_t, @function
put_line_t:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
.L8:
	mov	rdx, QWORD PTR line_t_pool[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR line_t_pool[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	put_line_t, .-put_line_t
	.section	.rodata
.LC2:
	.string	"read_long_line(): malloc()"
	.align 8
.LC3:
	.string	"Could not allocate new chunk structure\n"
.LC4:
	.string	"read_long_line(): realloc()"
	.align 8
.LC5:
	.string	"Could not reallocate line buffer of %ld bytes\n"
	.text
	.type	read_long_line, @function
read_long_line:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L10
	mov	eax, 0
	jmp	.L11
.L10:
	call	get_line_t
	mov	QWORD PTR -48[rbp], rax
	mov	edi, 128
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L12
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	cmp	QWORD PTR -32[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	esi, 127
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L17
.L21:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L18
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L19
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 10
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	jmp	.L20
.L19:
	add	QWORD PTR -24[rbp], 1
.L17:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L20
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 127
	cmp	QWORD PTR -24[rbp], rax
	jb	.L21
.L20:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 127
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L22
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	jmp	.L16
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L10
	jmp	.L16
.L32:
	nop
.L16:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L23
	mov	eax, 0
	jmp	.L11
.L23:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	put_line_t
	mov	eax, 0
	jmp	.L11
.L24:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 126
	jg	.L26
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
.L26:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	jmp	.L11
.L25:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -48[rbp], rax
.L27:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L29
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[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
.L29:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	put_line_t
.L30:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_long_line, .-read_long_line
	.section	.rodata
.LC6:
	.string	"-?"
.LC7:
	.string	"-h"
.LC8:
	.string	"--help"
	.align 8
.LC9:
	.string	"Usage: frombit [infile [outfile]]\n\n  'infile' and 'outfile' default to stdin and stdout.\n\n  Use 'frombit - outfile' to use stdin for infile while\n  still specifying an output file.\n\n"
.LC10:
	.string	"r"
.LC11:
	.string	"fopen()"
	.align 8
.LC12:
	.string	"Couldn't open '%s' for reading\n"
.LC13:
	.string	"wb"
	.align 8
.LC14:
	.string	"Couldn't open '%s' for writing\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1120
	mov	DWORD PTR -1108[rbp], edi
	mov	QWORD PTR -1120[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -1064[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -1056[rbp], rax
	cmp	DWORD PTR -1108[rbp], 1
	jle	.L34
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L34
.L35:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 182
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	cmp	DWORD PTR -1108[rbp], 1
	jle	.L36
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L36
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L36
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 8
	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	edi, 1
	call	exit@PLT
.L36:
	cmp	DWORD PTR -1108[rbp], 2
	jle	.L37
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L37
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1080[rbp], rax
	mov	DWORD PTR -1092[rbp], 0
	mov	eax, DWORD PTR -1092[rbp]
	mov	DWORD PTR -1096[rbp], eax
	jmp	.L38
.L50:
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -1072[rbp], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	QWORD PTR -1088[rbp], rax
	cmp	QWORD PTR -1088[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	put_line_t
	jmp	.L38
.L44:
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L41
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L41
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	je	.L42
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L42
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L43
.L42:
	mov	rax, QWORD PTR -1072[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1072[rbp], rdx
	mov	rdx, QWORD PTR -1088[rbp]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L43:
	add	QWORD PTR -1088[rbp], 1
.L40:
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
.L41:
	mov	rax, QWORD PTR -1072[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -1088[rbp], rax
	jmp	.L45
.L49:
	mov	eax, DWORD PTR -1092[rbp]
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1088[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L46
	mov	eax, 128
	jmp	.L47
.L46:
	mov	eax, 0
.L47:
	add	eax, ecx
	mov	DWORD PTR -1092[rbp], eax
	add	DWORD PTR -1096[rbp], 1
	cmp	DWORD PTR -1096[rbp], 7
	jle	.L45
	mov	rax, QWORD PTR -1080[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1080[rbp], rdx
	mov	edx, DWORD PTR -1092[rbp]
	mov	BYTE PTR [rax], dl
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	sub	rax, rdx
	cmp	eax, 1023
	jbe	.L48
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	sub	rax, rdx
	mov	rsi, rax
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1080[rbp], rax
.L48:
	mov	DWORD PTR -1092[rbp], 0
	mov	eax, DWORD PTR -1092[rbp]
	mov	DWORD PTR -1096[rbp], eax
.L45:
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L49
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	put_line_t
.L38:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	read_long_line
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L50
	cmp	DWORD PTR -1096[rbp], 0
	jle	.L51
	mov	eax, 8
	sub	eax, DWORD PTR -1096[rbp]
	mov	ecx, eax
	sar	DWORD PTR -1092[rbp], cl
	mov	rax, QWORD PTR -1080[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1080[rbp], rdx
	mov	edx, DWORD PTR -1092[rbp]
	mov	BYTE PTR [rax], dl
.L51:
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	sub	rax, rdx
	test	rax, rax
	jle	.L52
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	sub	rax, rdx
	mov	rsi, rax
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L52:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"410111.c"
	.text
	.local	line_t_pool
	.comm	line_t_pool,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"get_line_t(): malloc()\000"
	.align	2
.LC1:
	.ascii	"Could not allocate new line_t structure\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_line_t, %function
get_line_t:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	mov	r0, #192
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7
	str	r2, [r3]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L7+4
	bl	perror
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L7+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldr	r3, .L7
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	ip, r3
	ldr	r3, .L7
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, ip
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	ble	.L5
	ldr	r3, .L7
	ldr	r3, [r3]
	add	r3, r3, #180
	mov	r2, #0
	str	r2, [r3, #8]
.L2:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r2, .L7
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	line_t_pool
	.word	.LC0
	.word	stderr
	.word	.LC1
	.size	get_line_t, .-get_line_t
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	put_line_t, %function
put_line_t:
	@ 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	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L10:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r2, .L11
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	line_t_pool
	.size	put_line_t, .-put_line_t
	.section	.rodata
	.align	2
.LC2:
	.ascii	"read_long_line(): malloc()\000"
	.align	2
.LC3:
	.ascii	"Could not allocate new chunk structure\012\000"
	.align	2
.LC4:
	.ascii	"read_long_line(): realloc()\000"
	.align	2
.LC5:
	.ascii	"Could not reallocate line buffer of %ld bytes\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_long_line, %function
read_long_line:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mov	r3, #0
	b	.L15
.L14:
	bl	get_line_t
	str	r0, [fp, #-28]
	mov	r0, #128
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L37
	bl	perror
	ldr	r3, .L37+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L37+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L18
.L17:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
.L18:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	mov	r1, #127
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L21
.L25:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L22
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L23
.L22:
	ldr	r3, [fp, #-16]
	mov	r2, #10
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	b	.L24
.L23:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r3, r3, #127
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L25
.L24:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r3, r3, #127
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L26
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #4]
	sub	r1, r2, #1
	ldr	r2, [fp, #-28]
	str	r1, [r2, #4]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L20
.L26:
	ldr	r0, [fp, #-32]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	b	.L20
.L36:
	nop
.L20:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
	b	.L15
.L27:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L28
	ldr	r0, [fp, #-32]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r0, [fp, #-24]
	bl	put_line_t
	mov	r3, #0
	b	.L15
.L28:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L29
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #126
	bgt	.L30
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-28]
	str	r2, [r3]
.L30:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	b	.L15
.L29:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L32:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
.L31:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r0, .L37+12
	bl	perror
	ldr	r3, .L37+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L37+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	b	.L34
.L35:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcpy
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	put_line_t
.L34:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	read_long_line, .-read_long_line
	.section	.rodata
	.align	2
.LC6:
	.ascii	"-?\000"
	.align	2
.LC7:
	.ascii	"-h\000"
	.align	2
.LC8:
	.ascii	"--help\000"
	.align	2
.LC9:
	.ascii	"Usage: frombit [infile [outfile]]\012\012  'infile'"
	.ascii	" and 'outfile' default to stdin and stdout.\012\012"
	.ascii	"  Use 'frombit - outfile' to use stdin for infile w"
	.ascii	"hile\012  still specifying an output file.\012\012\000"
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.ascii	"fopen()\000"
	.align	2
.LC12:
	.ascii	"Couldn't open '%s' for reading\012\000"
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	"Couldn't open '%s' for writing\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 = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	str	r0, [fp, #-1072]
	str	r1, [fp, #-1076]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L61+4
	ldr	r3, [r3]
	str	r3, [fp, #-1044]
	ldr	r3, .L61+8
	ldr	r3, [r3]
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1072]
	cmp	r3, #1
	ble	.L40
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L61+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L61+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L61+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
.L41:
	ldr	r3, .L61+24
	ldr	r3, [r3]
	mov	r2, #182
	mov	r1, #1
	ldr	r0, .L61+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L40:
	ldr	r3, [fp, #-1072]
	cmp	r3, #1
	ble	.L42
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L42
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L61+32
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L61+36
	bl	perror
	ldr	r3, .L61+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L61+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L42:
	ldr	r3, [fp, #-1072]
	cmp	r3, #2
	ble	.L43
	ldr	r3, [fp, #-1076]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L61+44
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L43
	ldr	r0, .L61+36
	bl	perror
	ldr	r3, .L61+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L61+48
	bl	fprintf
	mov	r0, #1
	bl	exit
.L43:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	str	r3, [fp, #-1052]
	b	.L44
.L56:
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3]
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	bne	.L46
	ldr	r0, [fp, #-1036]
	bl	put_line_t
	b	.L44
.L50:
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L47
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L47
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L48
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L48
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L49
.L48:
	ldr	r3, [fp, #-1056]
	add	r2, r3, #1
	str	r2, [fp, #-1056]
	ldr	r2, [fp, #-1064]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L49:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L46:
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L50
.L47:
	ldr	r3, [fp, #-1056]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3]
	str	r3, [fp, #-1064]
	b	.L51
.L55:
	ldr	r3, [fp, #-1048]
	asr	r2, r3, #1
	ldr	r3, [fp, #-1064]
	add	r1, r3, #1
	str	r1, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L52
	mov	r3, #128
	b	.L53
.L52:
	mov	r3, #0
.L53:
	add	r3, r3, r2
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmp	r3, #7
	ble	.L51
	ldr	r3, [fp, #-1060]
	add	r2, r3, #1
	str	r2, [fp, #-1060]
	ldr	r2, [fp, #-1048]
	and	r2, r2, #255
	strb	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L54
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1040]
	mov	r1, #1
	bl	fwrite
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1060]
.L54:
	mov	r3, #0
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	str	r3, [fp, #-1052]
.L51:
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
	ldr	r0, [fp, #-1036]
	bl	put_line_t
.L44:
	ldr	r0, [fp, #-1044]
	bl	read_long_line
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	ble	.L57
	ldr	r3, [fp, #-1052]
	rsb	r3, r3, #8
	ldr	r2, [fp, #-1048]
	asr	r3, r2, r3
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1060]
	add	r2, r3, #1
	str	r2, [fp, #-1060]
	ldr	r2, [fp, #-1048]
	and	r2, r2, #255
	strb	r2, [r3]
.L57:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L58
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1040]
	mov	r1, #1
	bl	fwrite
.L58:
	ldr	r0, [fp, #-1044]
	bl	fclose
	ldr	r0, [fp, #-1040]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC15
	.word	stdin
	.word	stdout
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stderr
	.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
