	.file	"335467.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"couldn't open file: %s\n"
	.text
	.globl	mustopen
	.type	mustopen, @function
mustopen:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mustopen, .-mustopen
	.globl	readf
	.type	readf, @function
readf:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -14[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -14[rbp]
	add	eax, eax
	mov	edx, eax
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 8
	test	eax, eax
	setne	al
	or	eax, edx
	mov	BYTE PTR -14[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 7
	or	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L5:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L6
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR -14[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readf, .-readf
	.section	.rodata
.LC1:
	.string	"Data"
.LC2:
	.string	"Unknown"
.LC3:
	.string	"Data End Rev"
.LC4:
	.string	"Data End Fwd"
.LC5:
	.string	"Block Sync"
.LC6:
	.string	"Data Sync"
.LC7:
	.string	"Block End Rev"
.LC8:
	.string	"Block End Fwd"
.LC9:
	.string	"Block Space"
.LC10:
	.string	"End Zone Rev"
.LC11:
	.string	"End Zone Fwd"
	.text
	.globl	tostr
	.type	tostr, @function
tostr:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 18
	je	.L8
	cmp	DWORD PTR -4[rbp], 45
	je	.L9
	cmp	DWORD PTR -4[rbp], 21
	je	.L10
	cmp	DWORD PTR -4[rbp], 22
	je	.L11
	cmp	DWORD PTR -4[rbp], 37
	je	.L12
	cmp	DWORD PTR -4[rbp], 26
	je	.L13
	cmp	DWORD PTR -4[rbp], 41
	je	.L14
	cmp	DWORD PTR -4[rbp], 59
	je	.L15
	cmp	DWORD PTR -4[rbp], 8
	je	.L16
	cmp	DWORD PTR -4[rbp], 56
	jne	.L17
	lea	rax, .LC1[rip]
	jmp	.L28
.L17:
	lea	rax, .LC2[rip]
	jmp	.L28
.L16:
	lea	rax, .LC3[rip]
	jmp	.L28
.L15:
	lea	rax, .LC4[rip]
	jmp	.L28
.L14:
	lea	rax, .LC5[rip]
	jmp	.L28
.L13:
	lea	rax, .LC6[rip]
	jmp	.L28
.L12:
	lea	rax, .LC7[rip]
	jmp	.L28
.L11:
	lea	rax, .LC8[rip]
	jmp	.L28
.L10:
	lea	rax, .LC9[rip]
	jmp	.L28
.L9:
	lea	rax, .LC10[rip]
	jmp	.L28
.L8:
	lea	rax, .LC11[rip]
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	tostr, .-tostr
	.section	.rodata
.LC12:
	.string	"%02o[%-13s] %06o\n"
	.text
	.globl	rawdump
	.type	rawdump, @function
rawdump:
.LFB9:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 988288
	mov	QWORD PTR -32[rbp], rax
	jmp	.L30
.L31:
	lea	rdx, -40[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rbx, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rdx, rax
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	rcx, rbx
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -32[rbp], rax
	ja	.L31
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	rawdump, .-rawdump
	.section	.rodata
	.align 8
.LC13:
	.string	"expected %s(%02o) got %s(%02o)\n"
	.text
	.globl	validate
	.type	validate, @function
validate:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 45
	je	.L34
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 45
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 45
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L34:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 45
	je	.L36
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 45
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 45
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L36:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L37
.L56:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 21
	je	.L38
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 21
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 21
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L38:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 22
	je	.L39
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 22
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 22
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L39:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 26
	je	.L40
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 26
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 26
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L40:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 8
	je	.L41
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 8
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 8
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L41:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 8
	je	.L42
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 8
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 8
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L42:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 8
	je	.L43
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 8
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 8
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L43:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 8
	je	.L44
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 8
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 8
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L44:
	mov	DWORD PTR -36[rbp], 1
	jmp	.L45
.L48:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 56
	je	.L46
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 56
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 56
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L46:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 56
	je	.L47
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 56
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 56
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L47:
	add	DWORD PTR -36[rbp], 1
.L45:
	cmp	DWORD PTR -36[rbp], 126
	jle	.L48
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 59
	je	.L49
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 59
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 59
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L49:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 59
	je	.L50
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 59
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 59
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L50:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 59
	je	.L51
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 59
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 59
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L51:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 59
	je	.L52
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 59
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 59
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L52:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 41
	je	.L53
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 41
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 41
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L53:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 37
	je	.L54
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 37
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 37
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L54:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 21
	je	.L55
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 21
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 21
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L55:
	add	DWORD PTR -40[rbp], 1
.L37:
	cmp	DWORD PTR -40[rbp], 577
	jle	.L56
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 18
	je	.L57
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 18
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 18
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L57:
	lea	rdx, -32[rbp]
	lea	rcx, -41[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 18
	je	.L58
	movzx	eax, BYTE PTR -41[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -41[rbp]
	movzx	eax, al
	mov	edi, eax
	call	tostr
	mov	rbx, rax
	mov	edi, 18
	call	tostr
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 18
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L59
.L58:
	mov	eax, 1
.L59:
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	validate, .-validate
	.section	.rodata
.LC14:
	.string	"Block %012lo\n"
.LC15:
	.string	"InterBlock1 %012lo\n"
.LC16:
	.string	"\tRev Check: %06lo\n"
.LC17:
	.string	"\t%o/%o %012lo\n"
.LC18:
	.string	"\tCheck: %06lo\n"
.LC19:
	.string	"RevBlock %012lo\n"
	.text
	.globl	dumpf
	.type	dumpf, @function
dumpf:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	DWORD PTR -32[rbp], 0
	jmp	.L62
.L65:
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -16[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 18
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -16[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 18
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L63
.L64:
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -16[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 18
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	or	rcx, rax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L63:
	cmp	DWORD PTR -28[rbp], 127
	jle	.L64
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -16[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 18
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -16[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 18
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L62:
	cmp	DWORD PTR -32[rbp], 577
	jle	.L65
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	lea	rdx, -24[rbp]
	lea	rcx, -33[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	dumpf, .-dumpf
	.section	.rodata
.LC20:
	.string	"%02o\n"
	.text
	.globl	markdump
	.type	markdump, @function
markdump:
.LFB12:
	.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 -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 1000
	jmp	.L68
.L69:
	lea	rdx, -16[rbp]
	lea	rcx, -21[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -21[rbp]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L68:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -20[rbp], edx
	test	eax, eax
	jne	.L69
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	markdump, .-markdump
	.globl	findstart
	.type	findstart, @function
findstart:
.LFB13:
	.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 -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L72
.L75:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -16[rbp]
	lea	rcx, -29[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -29[rbp]
	cmp	al, 45
	je	.L81
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L72:
	cmp	DWORD PTR -28[rbp], 999
	jle	.L75
	mov	eax, 0
	jmp	.L78
.L81:
	nop
.L74:
	nop
.L77:
	lea	rdx, -16[rbp]
	lea	rcx, -29[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readf
	movzx	eax, BYTE PTR -29[rbp]
	cmp	al, 45
	je	.L77
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 18
.L78:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	findstart, .-findstart
	.section	.rodata
.LC21:
	.string	"out.dt6"
.LC22:
	.string	"r"
.LC23:
	.string	"no start"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -987136[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1216
	mov	DWORD PTR -988340[rbp], edi
	mov	QWORD PTR -988352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -988328[rbp], rax
	cmp	DWORD PTR -988340[rbp], 1
	jle	.L83
	mov	rax, QWORD PTR -988352[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -988328[rbp], rax
.L83:
	mov	rax, QWORD PTR -988328[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	mustopen
	mov	QWORD PTR -988320[rbp], rax
	mov	rdx, QWORD PTR -988320[rbp]
	lea	rax, -988304[rbp]
	mov	rcx, rdx
	mov	edx, 988288
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -988320[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -988304[rbp]
	mov	rdi, rax
	call	findstart
	mov	QWORD PTR -988312[rbp], rax
	cmp	QWORD PTR -988312[rbp], 0
	jne	.L84
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L87
.L84:
	mov	rax, QWORD PTR -988312[rbp]
	mov	rdi, rax
	call	validate
	test	eax, eax
	jne	.L86
	mov	eax, 1
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -988312[rbp]
	mov	rdi, rax
	call	dumpf
	mov	eax, 0
.L87:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L88
	call	__stack_chk_fail@PLT
.L88:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"335467.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"couldn't open file: %s\012\000"
	.text
	.align	2
	.global	mustopen
	.syntax unified
	.arm
	.fpu softvfp
	.type	mustopen, %function
mustopen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L4+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stderr
	.word	.LC0
	.size	mustopen, .-mustopen
	.align	2
	.global	readf
	.syntax unified
	.arm
	.fpu softvfp
	.type	readf, %function
readf:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #36
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	mov	r3, #0
	strb	r3, [fp, #-42]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L7
.L8:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-48]
	str	r1, [r2]
	ldrb	r3, [r3]
	strb	r3, [fp, #-41]
	ldrb	r3, [fp, #-42]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-42]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldrb	r0, [fp, #-41]	@ zero_extendqisi2
	mov	r1, #0
	mov	r8, #7
	mov	r9, #0
	and	r4, r0, r8
	and	r5, r1, r9
	orr	r6, r2, r4
	orr	r7, r3, r5
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L7:
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	ble	.L8
	ldr	r3, [fp, #-52]
	ldrb	r2, [fp, #-42]
	strb	r2, [r3]
	ldr	r1, [fp, #-56]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
	.size	readf, .-readf
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Data\000"
	.align	2
.LC2:
	.ascii	"Unknown\000"
	.align	2
.LC3:
	.ascii	"Data End Rev\000"
	.align	2
.LC4:
	.ascii	"Data End Fwd\000"
	.align	2
.LC5:
	.ascii	"Block Sync\000"
	.align	2
.LC6:
	.ascii	"Data Sync\000"
	.align	2
.LC7:
	.ascii	"Block End Rev\000"
	.align	2
.LC8:
	.ascii	"Block End Fwd\000"
	.align	2
.LC9:
	.ascii	"Block Space\000"
	.align	2
.LC10:
	.ascii	"End Zone Rev\000"
	.align	2
.LC11:
	.ascii	"End Zone Fwd\000"
	.text
	.align	2
	.global	tostr
	.syntax unified
	.arm
	.fpu softvfp
	.type	tostr, %function
tostr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #18
	beq	.L10
	ldr	r3, [fp, #-8]
	cmp	r3, #45
	beq	.L11
	ldr	r3, [fp, #-8]
	cmp	r3, #21
	beq	.L12
	ldr	r3, [fp, #-8]
	cmp	r3, #22
	beq	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #37
	beq	.L14
	ldr	r3, [fp, #-8]
	cmp	r3, #26
	beq	.L15
	ldr	r3, [fp, #-8]
	cmp	r3, #41
	beq	.L16
	ldr	r3, [fp, #-8]
	cmp	r3, #59
	beq	.L17
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	beq	.L18
	ldr	r3, [fp, #-8]
	cmp	r3, #56
	bne	.L19
	ldr	r3, .L31
	b	.L30
.L19:
	ldr	r3, .L31+4
	b	.L30
.L18:
	ldr	r3, .L31+8
	b	.L30
.L17:
	ldr	r3, .L31+12
	b	.L30
.L16:
	ldr	r3, .L31+16
	b	.L30
.L15:
	ldr	r3, .L31+20
	b	.L30
.L14:
	ldr	r3, .L31+24
	b	.L30
.L13:
	ldr	r3, .L31+28
	b	.L30
.L12:
	ldr	r3, .L31+32
	b	.L30
.L11:
	ldr	r3, .L31+36
	b	.L30
.L10:
	ldr	r3, .L31+40
.L30:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L32:
	.align	2
.L31:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	tostr, .-tostr
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%02o[%-13s] %06o\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rawdump
	.syntax unified
	.arm
	.fpu softvfp
	.type	rawdump, %function
rawdump:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	add	r3, r3, #987136
	add	r3, r3, #1152
	str	r3, [fp, #-32]
	b	.L34
.L35:
	sub	r2, fp, #28
	sub	r1, fp, #33
	sub	r3, fp, #40
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r1, r0
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	mov	r1, r4
	ldr	r0, .L37+4
	bl	printf
.L34:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bhi	.L35
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC13
	.word	.LC12
	.size	rawdump, .-rawdump
	.section	.rodata
	.align	2
.LC14:
	.ascii	"expected %s(%02o) got %s(%02o)\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validate
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate, %function
validate:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L40
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #45
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #45
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L40:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L42
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #45
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #45
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L42:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L43
.L62:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #21
	beq	.L44
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #21
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #21
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L44:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #22
	beq	.L45
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #22
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #22
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L45:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #26
	beq	.L46
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #26
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #26
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L46:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L47
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #8
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #8
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L47:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L48
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #8
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #8
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L48:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L49
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #8
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #8
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L49:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L50
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #8
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #8
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L50:
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L51
.L54:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #56
	beq	.L52
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #56
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #56
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L52:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #56
	beq	.L53
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #56
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #56
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L53:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L51:
	ldr	r3, [fp, #-32]
	cmp	r3, #126
	ble	.L54
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L55
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #59
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #59
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L55:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L56
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #59
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #59
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L56:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L57
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #59
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #59
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L57:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L58
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #59
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #59
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L58:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L59
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #41
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #41
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L59:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L60
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #37
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #37
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L60:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #21
	beq	.L61
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #21
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #21
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L61:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L43:
	ldr	r3, [fp, #-36]
	ldr	r2, .L67+12
	cmp	r3, r2
	ble	.L62
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #18
	beq	.L63
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #18
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #18
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L63:
	sub	r2, fp, #28
	sub	r1, fp, #37
	sub	r3, fp, #48
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #18
	beq	.L64
	ldr	r3, .L67+4
	ldr	r4, [r3]
	mov	r0, #18
	bl	tostr
	mov	r5, r0
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r0, r3
	bl	tostr
	mov	r3, r0
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #18
	mov	r2, r5
	ldr	r1, .L67+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L65
.L64:
	mov	r3, #1
.L65:
	ldr	r2, .L67
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC15
	.word	stderr
	.word	.LC14
	.word	577
	.size	validate, .-validate
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Block %012lo\012\000"
	.align	2
.LC17:
	.ascii	"InterBlock1 %012lo\012\000"
	.align	2
.LC18:
	.ascii	"\011Rev Check: %06lo\012\000"
	.align	2
.LC19:
	.ascii	"\011%o/%o %012lo\012\000"
	.align	2
.LC20:
	.ascii	"\011Check: %06lo\012\000"
	.align	2
.LC21:
	.ascii	"RevBlock %012lo\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dumpf
	.syntax unified
	.arm
	.fpu softvfp
	.type	dumpf, %function
dumpf:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L70
.L73:
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #44
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #18
	orr	r1, r1, r2, lsr #14
	lsl	r0, r2, #18
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orr	r4, r0, r2
	orr	r5, r1, r3
	str	r4, [fp, #-52]
	str	r5, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+4
	bl	printf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #44
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #18
	orr	r1, r1, r2, lsr #14
	lsl	r0, r2, #18
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orr	r6, r0, r2
	orr	r7, r1, r3
	str	r6, [fp, #-52]
	str	r7, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+8
	bl	printf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L71
.L72:
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #44
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #18
	orr	r1, r1, r2, lsr #14
	lsl	r0, r2, #18
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orr	r8, r0, r2
	orr	r9, r1, r3
	stm	sp, {r8-r9}
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-60]
	ldr	r0, .L75+16
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L71:
	ldr	r3, [fp, #-56]
	cmp	r3, #127
	ble	.L72
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+20
	bl	printf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #44
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #18
	orr	r1, r1, r2, lsr #14
	lsl	r0, r2, #18
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orr	ip, r0, r2
	str	ip, [fp, #-84]
	orr	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+8
	bl	printf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #44
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #18
	orr	r1, r1, r2, lsr #14
	lsl	r0, r2, #18
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orr	ip, r0, r2
	str	ip, [fp, #-92]
	orr	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L75+24
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L70:
	ldr	r3, [fp, #-60]
	ldr	r2, .L75+28
	cmp	r3, r2
	ble	.L73
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	sub	r2, fp, #52
	sub	r1, fp, #61
	sub	r3, fp, #72
	mov	r0, r3
	bl	readf
	nop
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC22
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	577
	.size	dumpf, .-dumpf
	.section	.rodata
	.align	2
.LC23:
	.ascii	"%02o\012\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	markdump
	.syntax unified
	.arm
	.fpu softvfp
	.type	markdump, %function
markdump:
	@ 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]
	ldr	r3, .L81
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1000
	str	r3, [fp, #-24]
	b	.L78
.L79:
	sub	r2, fp, #20
	sub	r1, fp, #25
	sub	r3, fp, #32
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L81+4
	bl	printf
.L78:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L79
	nop
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L80
	bl	__stack_chk_fail
.L80:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC24
	.word	.LC23
	.size	markdump, .-markdump
	.section	.rodata
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findstart
	.syntax unified
	.arm
	.fpu softvfp
	.type	findstart, %function
findstart:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L84
.L87:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
	sub	r2, fp, #20
	sub	r1, fp, #29
	sub	r3, fp, #28
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L93
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L84:
	ldr	r3, [fp, #-24]
	cmp	r3, #1000
	blt	.L87
	mov	r3, #0
	b	.L90
.L93:
	nop
.L86:
	nop
.L89:
	sub	r2, fp, #20
	sub	r1, fp, #29
	sub	r3, fp, #40
	mov	r0, r3
	bl	readf
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L89
	ldr	r3, [fp, #-40]
	sub	r3, r3, #18
.L90:
	ldr	r2, .L94
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC25
	.size	findstart, .-findstart
	.section	.rodata
	.align	2
.LC26:
	.ascii	"out.dt6\000"
	.align	2
.LC27:
	.ascii	"r\000"
	.align	2
.LC28:
	.ascii	"no start\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 988312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #987136
	sub	sp, sp, #1168
	sub	sp, sp, #12
	sub	r3, fp, #987136
	sub	r3, r3, #12
	str	r0, [r3, #-1172]
	sub	r3, fp, #987136
	sub	r3, r3, #12
	str	r1, [r3, #-1176]
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #987136
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L103+4
	str	r3, [r2, #-1168]
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r3, [r3, #-1172]
	cmp	r3, #1
	ble	.L97
	sub	r3, fp, #987136
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r3, [r3, #-1176]
	ldr	r3, [r3, #4]
	str	r3, [r2, #-1168]
.L97:
	sub	r3, fp, #987136
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r1, .L103+8
	ldr	r0, [r3, #-1168]
	bl	mustopen
	str	r0, [r4, #-1164]
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r0, .L103+12
	sub	r2, fp, #12
	add	r0, r2, r0
	ldr	r3, [r3, #-1164]
	ldr	r2, .L103+16
	mov	r1, #1
	bl	fread
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r0, [r3, #-1164]
	bl	fclose
	sub	r3, fp, #987136
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L103+12
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r0, r3
	bl	findstart
	str	r0, [r4, #-1160]
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r3, [r3, #-1160]
	cmp	r3, #0
	bne	.L98
	ldr	r0, .L103+20
	bl	puts
	mov	r3, #1
	b	.L101
.L98:
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r0, [r3, #-1160]
	bl	validate
	mov	r3, r0
	cmp	r3, #0
	bne	.L100
	mov	r3, #1
	b	.L101
.L100:
	sub	r3, fp, #987136
	sub	r3, r3, #12
	ldr	r0, [r3, #-1160]
	bl	dumpf
	mov	r3, #0
.L101:
	ldr	r2, .L103
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L102
	bl	__stack_chk_fail
.L102:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC29
	.word	.LC26
	.word	.LC27
	.word	-988292
	.word	988288
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
