	.file	"733712.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: qt-faststart <infile.mov> <outfile.mov>\nNote: alternatively you can use -movflags +faststart in ffmpeg"
	.align 8
.LC1:
	.string	"input and output files need to be different\n"
.LC2:
	.string	"rb"
	.align 8
.LC3:
	.string	"could not allocate %lu bytes for ftyp atom\n"
.LC4:
	.string	"%c%c%c%c %10lu %lu\n"
	.align 8
.LC5:
	.string	"encountered non-QT top-level atom (is this a QuickTime file?)"
	.align 8
.LC6:
	.string	"last atom in file was not a moov atom"
	.align 8
.LC7:
	.string	"could not allocate %lu bytes for moov atom\n"
	.align 8
.LC8:
	.string	"this utility does not support compressed moov atoms yet"
.LC9:
	.string	" patching stco atom..."
.LC10:
	.string	" bad atom size"
.LC11:
	.string	" bad atom size/element count"
.LC12:
	.string	" patching co64 atom..."
.LC13:
	.string	"wb"
.LC14:
	.string	" writing ftyp atom..."
.LC15:
	.string	" writing moov atom..."
	.align 8
.LC16:
	.string	"could not allocate %d bytes for copy_buffer\n"
.LC17:
	.string	" copying rest of file..."
	.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, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	cmp	DWORD PTR -148[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L50
.L2:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L50
.L4:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L18:
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	jne	.L52
	lea	rax, -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	lea	rax, -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	lea	rax, -16[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	lea	rax, -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	eax, eax
	mov	QWORD PTR -112[rbp], rax
	lea	rax, -16[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	lea	rax, -16[rbp]
	add	rax, 4
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	lea	rax, -16[rbp]
	add	rax, 4
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	lea	rax, -16[rbp]
	add	rax, 4
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 1718909296
	jne	.L10
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L11:
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 1
	mov	rsi, -8
	mov	rdi, rax
	call	fseeko@PLT
	test	eax, eax
	jne	.L12
	mov	rdx, QWORD PTR -128[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	jne	.L12
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	ftello@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jns	.L13
.L12:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L10:
	cmp	QWORD PTR -112[rbp], 1
	jne	.L14
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	jne	.L53
	lea	rax, -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 56
	mov	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 48
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 40
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 32
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 24
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 16
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 8
	or	rdx, rax
	lea	rax, -16[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	rax, rdx
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	sub	rax, 16
	mov	rcx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	mov	DWORD PTR -136[rbp], eax
	jmp	.L16
.L14:
	mov	rax, QWORD PTR -112[rbp]
	sub	rax, 8
	mov	rcx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	mov	DWORD PTR -136[rbp], eax
.L16:
	cmp	DWORD PTR -136[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L13:
	mov	eax, DWORD PTR -144[rbp]
	movzx	edi, al
	mov	eax, DWORD PTR -144[rbp]
	shr	eax, 8
	movzx	edx, al
	mov	eax, DWORD PTR -144[rbp]
	shr	eax, 16
	movzx	eax, al
	mov	ecx, DWORD PTR -144[rbp]
	mov	esi, ecx
	shr	esi, 24
	mov	rcx, QWORD PTR -104[rbp]
	sub	rsp, 8
	push	QWORD PTR -112[rbp]
	mov	r9, rcx
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	cmp	DWORD PTR -144[rbp], 1718773093
	je	.L17
	cmp	DWORD PTR -144[rbp], 1786080875
	je	.L17
	cmp	DWORD PTR -144[rbp], 1835295092
	je	.L17
	cmp	DWORD PTR -144[rbp], 1836019574
	je	.L17
	cmp	DWORD PTR -144[rbp], 1886285684
	je	.L17
	cmp	DWORD PTR -144[rbp], 1936419184
	je	.L17
	cmp	DWORD PTR -144[rbp], 2003395685
	je	.L17
	cmp	DWORD PTR -144[rbp], 1346978644
	je	.L17
	cmp	DWORD PTR -144[rbp], 1970628964
	je	.L17
	cmp	DWORD PTR -144[rbp], 1718909296
	je	.L17
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L9
.L17:
	mov	rax, QWORD PTR -112[rbp]
	add	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -112[rbp], 7
	jbe	.L54
.L7:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L18
	jmp	.L9
.L52:
	nop
	jmp	.L9
.L53:
	nop
	jmp	.L9
.L54:
	nop
.L9:
	cmp	DWORD PTR -144[rbp], 1836019574
	je	.L19
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L50
.L19:
	mov	rax, QWORD PTR -112[rbp]
	neg	rax
	mov	rcx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L20:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	ftello@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	jns	.L21
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L21:
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L22
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L22:
	mov	rdx, QWORD PTR -128[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L23
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L23:
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	cmp	eax, 1668116342
	jne	.L24
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L6
.L24:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -64[rbp], 4
	jmp	.L25
.L36:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	ecx, eax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	ecx, eax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	ecx, eax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, ecx
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 1937007471
	jne	.L26
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	eax, eax
	mov	QWORD PTR -112[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	sub	rax, 4
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L27
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L6
.L27:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 12
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L28
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L6
.L28:
	mov	QWORD PTR -56[rbp], 0
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	eax, eax
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 16
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 13[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 14[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 15[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -56[rbp], 1
.L29:
	mov	eax, DWORD PTR -132[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jb	.L30
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	sub	rax, 4
	mov	QWORD PTR -64[rbp], rax
	jmp	.L31
.L26:
	cmp	DWORD PTR -144[rbp], 1668232756
	jne	.L31
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	eax, eax
	mov	QWORD PTR -112[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	sub	rax, 4
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L32
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L6
.L32:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 12
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L33
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L6
.L33:
	mov	QWORD PTR -56[rbp], 0
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 56
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 48
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 40
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 32
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 24
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 16
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 8
	or	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 56
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 48
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 13[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 40
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 14[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 32
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 15[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 16
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 17[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 18[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -56[rbp], 1
.L34:
	mov	eax, DWORD PTR -132[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jb	.L35
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	sub	rax, 4
	mov	QWORD PTR -64[rbp], rax
.L31:
	add	QWORD PTR -64[rbp], 1
.L25:
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 4
	cmp	QWORD PTR -64[rbp], rax
	jb	.L36
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L37:
	cmp	QWORD PTR -48[rbp], 0
	jle	.L38
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	test	eax, eax
	je	.L39
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L39:
	mov	rax, QWORD PTR -48[rbp]
	sub	QWORD PTR -96[rbp], rax
.L38:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L40:
	cmp	QWORD PTR -72[rbp], 0
	je	.L41
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L41
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L41:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L42
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L42:
	mov	eax, 33554432
	cmp	QWORD PTR -96[rbp], 33554432
	cmovle	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L43
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L43:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L44
.L47:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	cmp	QWORD PTR -96[rbp], rax
	cmovle	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L45
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L45:
	mov	eax, DWORD PTR -140[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L46
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L6
.L46:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sub	QWORD PTR -96[rbp], rax
.L44:
	cmp	QWORD PTR -96[rbp], 0
	jne	.L47
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L50
.L6:
	cmp	QWORD PTR -128[rbp], 0
	je	.L48
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L48:
	cmp	QWORD PTR -120[rbp], 0
	je	.L49
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L49:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 1
.L50:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	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	"733712.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: qt-faststart <infile.mov> <outfile.mov>\012N"
	.ascii	"ote: alternatively you can use -movflags +faststart"
	.ascii	" in ffmpeg\000"
	.align	2
.LC1:
	.ascii	"input and output files need to be different\012\000"
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"could not allocate %llu bytes for ftyp atom\012\000"
	.align	2
.LC4:
	.ascii	"%c%c%c%c %10llu %llu\012\000"
	.align	2
.LC5:
	.ascii	"encountered non-QT top-level atom (is this a QuickT"
	.ascii	"ime file?)\000"
	.align	2
.LC6:
	.ascii	"last atom in file was not a moov atom\000"
	.align	2
.LC7:
	.ascii	"could not allocate %llu bytes for moov atom\012\000"
	.align	2
.LC8:
	.ascii	"this utility does not support compressed moov atoms"
	.ascii	" yet\000"
	.align	2
.LC9:
	.ascii	" patching stco atom...\000"
	.align	2
.LC10:
	.ascii	" bad atom size\000"
	.align	2
.LC11:
	.ascii	" bad atom size/element count\000"
	.align	2
.LC12:
	.ascii	" patching co64 atom...\000"
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	" writing ftyp atom...\000"
	.align	2
.LC15:
	.ascii	" writing moov atom...\000"
	.align	2
.LC16:
	.ascii	"could not allocate %d bytes for copy_buffer\012\000"
	.align	2
.LC17:
	.ascii	" copying rest of file...\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #440
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L57+128
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-160]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L57
	bl	puts
	mov	r3, #0
	b	.L52
.L2:
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L57+4
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L57+8
	bl	fwrite
	mov	r3, #1
	b	.L52
.L4:
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L57+104
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-152]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L18:
	sub	r0, fp, #40
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	bne	.L54
	sub	r3, fp, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r2, r3, #24
	sub	r3, fp, #40
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	sub	r3, fp, #40
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	sub	r3, fp, #40
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r2, r3
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #40
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r2, r3, #24
	sub	r3, fp, #40
	add	r3, r3, #4
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	sub	r3, fp, #40
	add	r3, r3, #4
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	sub	r3, fp, #40
	add	r3, r3, #4
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+12
	cmp	r2, r3
	bne	.L10
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r0, [fp, #-136]
	bl	free
	ldr	r3, [fp, #-92]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L57+16
	bl	printf
	b	.L6
.L11:
	mov	r2, #1
	mvn	r1, #7
	ldr	r0, [fp, #-152]
	bl	fseeko
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r1, [fp, #-116]
	ldr	r3, [fp, #-152]
	mov	r2, #1
	ldr	r0, [fp, #-136]
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	bne	.L12
	ldr	r0, [fp, #-152]
	bl	ftello
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L13
.L12:
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L10:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1
	bne	.L14
	sub	r0, fp, #40
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	bne	.L55
	sub	r3, fp, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r2, #24
	mov	r4, #0
	sub	r3, fp, #40
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r2, #16
	mov	r0, #0
	orr	r3, r4, r0
	str	r3, [fp, #-172]
	orr	r3, r5, r1
	str	r3, [fp, #-168]
	sub	r3, fp, #40
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r2, #8
	mov	r0, #0
	sub	r4, fp, #172
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-180]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-176]
	sub	r3, fp, #40
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	mov	r1, r2
	mov	r0, #0
	sub	r4, fp, #180
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-188]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-184]
	sub	r3, fp, #40
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	lsr	r1, r2, #8
	str	r1, [fp, #-192]
	lsl	r3, r2, #24
	str	r3, [fp, #-196]
	sub	r2, fp, #188
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #196
	ldmia	r4, {r3-r4}
	mov	ip, r3
	orr	r0, r0, ip
	str	r0, [fp, #-204]
	mov	r3, r4
	orr	r3, r2, r3
	str	r3, [fp, #-200]
	sub	r3, fp, #40
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #16
	orr	r1, r1, r2, lsr #16
	lsl	r0, r2, #16
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r8, r2, r0
	mov	r3, r4
	orr	r9, r3, r1
	sub	r3, fp, #40
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	orr	r6, r8, r0
	orr	r7, r9, r1
	sub	r3, fp, #40
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	orr	r1, r6, r2
	str	r1, [fp, #-356]
	orr	r3, r7, r3
	str	r3, [fp, #-352]
	sub	r4, fp, #356
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-116]
	str	r4, [fp, #-112]
	ldr	r3, [fp, #-116]
	sub	r3, r3, #16
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	fseeko
	str	r0, [fp, #-124]
	b	.L16
.L14:
	ldr	r3, [fp, #-116]
	sub	r3, r3, #8
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	fseeko
	str	r0, [fp, #-124]
.L16:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L13:
	ldr	r3, [fp, #-144]
	lsr	lr, r3, #24
	ldr	r3, [fp, #-144]
	lsr	r3, r3, #16
	and	ip, r3, #255
	ldr	r3, [fp, #-144]
	lsr	r3, r3, #8
	and	r0, r3, #255
	ldr	r3, [fp, #-144]
	and	r1, r3, #255
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r1, [sp]
	mov	r3, r0
	mov	r2, ip
	mov	r1, lr
	ldr	r0, .L57+20
	bl	printf
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+24
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+28
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+32
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+36
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+40
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+44
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+48
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+52
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+56
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+12
	cmp	r2, r3
	beq	.L17
	ldr	r0, .L57+60
	bl	puts
	b	.L9
.L17:
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-364]
	adc	r3, r1, r3
	str	r3, [fp, #-360]
	sub	r4, fp, #364
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-108]
	str	r4, [fp, #-104]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #7
	bls	.L56
.L7:
	ldr	r0, [fp, #-152]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	b	.L9
.L54:
	nop
	b	.L9
.L55:
	nop
	b	.L9
.L56:
	nop
.L9:
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+36
	cmp	r2, r3
	beq	.L19
	ldr	r0, .L57+64
	bl	puts
	ldr	r0, [fp, #-136]
	bl	free
	ldr	r0, [fp, #-152]
	bl	fclose
	mov	r3, #0
	b	.L52
.L19:
	ldr	r3, [fp, #-116]
	rsb	r3, r3, #0
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	fseeko
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L20:
	ldr	r0, [fp, #-152]
	bl	ftello
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L21
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L21:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L57+68
	bl	printf
	b	.L6
.L22:
	ldr	r1, [fp, #-116]
	ldr	r3, [fp, #-152]
	mov	r2, #1
	ldr	r0, [fp, #-140]
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L23
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L23:
	ldr	r3, [fp, #-140]
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldr	r3, [fp, #-140]
	add	r3, r3, #12
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, #12
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, #12
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r2, r2, r3
	ldr	r3, .L57+72
	cmp	r2, r3
	bne	.L24
	ldr	r0, .L57+76
	bl	puts
	b	.L6
.L24:
	ldr	r0, [fp, #-152]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r2, #4
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	b	.L25
.L36:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	str	r3, [fp, #-144]
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+80
	cmp	r2, r3
	bne	.L26
	ldr	r0, .L57+84
	bl	puts
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-212]
	adc	r3, r1, r3
	str	r3, [fp, #-208]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	mov	r2, r3
	subs	r2, r2, #4
	str	r2, [fp, #-220]
	mov	r3, r4
	sbc	r3, r3, #0
	str	r3, [fp, #-216]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #220
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bcs	.L27
	ldr	r0, .L57+88
	bl	puts
	b	.L6
.L27:
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-228]
	adc	r3, r1, r3
	str	r3, [fp, #-224]
	sub	r4, fp, #228
	ldmia	r4, {r3-r4}
	mov	r2, r3
	adds	r2, r2, #12
	str	r2, [fp, #-236]
	mov	r3, r4
	adc	r3, r3, #0
	str	r3, [fp, #-232]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bcs	.L28
	ldr	r0, .L57+92
	bl	puts
	b	.L6
.L28:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L29
.L30:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-372]
	adc	r3, r1, r3
	str	r3, [fp, #-368]
	sub	r4, fp, #372
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #24
	orr	r0, r0, r3, lsl #8
	lsr	r1, r3, #24
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #16
	orr	r0, r0, r3, lsl #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #13
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #8
	orr	r0, r0, r3, lsl #24
	lsr	r1, r3, #8
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #14
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, r3, #15
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	strb	r3, [r2]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-380]
	adc	r3, r3, #0
	str	r3, [fp, #-376]
	sub	r4, fp, #380
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-76]
	str	r4, [fp, #-72]
.L29:
	ldr	r3, [fp, #-120]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L30
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-244]
	adc	r3, r1, r3
	str	r3, [fp, #-240]
	sub	r4, fp, #244
	ldmia	r4, {r3-r4}
	mov	r2, r3
	subs	r2, r2, #4
	str	r2, [fp, #-388]
	mov	r3, r4
	sbc	r3, r3, #0
	str	r3, [fp, #-384]
	sub	r4, fp, #388
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-84]
	str	r4, [fp, #-80]
	b	.L31
.L26:
	ldr	r2, [fp, #-144]
	ldr	r3, .L57+96
	cmp	r2, r3
	bne	.L31
	ldr	r0, .L57+100
	bl	puts
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	sub	r2, r3, #4
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-252]
	adc	r3, r1, r3
	str	r3, [fp, #-248]
	sub	r4, fp, #252
	ldmia	r4, {r3-r4}
	mov	r2, r3
	subs	r2, r2, #4
	str	r2, [fp, #-260]
	mov	r3, r4
	sbc	r3, r3, #0
	str	r3, [fp, #-256]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #260
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bcs	.L32
	ldr	r0, .L57+88
	bl	puts
	b	.L6
.L32:
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r1, r3, #24
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r3, [fp, #-84]
	add	r2, r3, #8
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-268]
	adc	r3, r1, r3
	str	r3, [fp, #-264]
	sub	r4, fp, #268
	ldmia	r4, {r3-r4}
	mov	r2, r3
	adds	r2, r2, #12
	str	r2, [fp, #-276]
	mov	r3, r4
	adc	r3, r3, #0
	str	r3, [fp, #-272]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #276
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bcs	.L33
	ldr	r0, .L57+92
	bl	puts
	b	.L6
.L33:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L34
.L58:
	.align	2
.L57:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	1718909296
	.word	.LC3
	.word	.LC4
	.word	1718773093
	.word	1786080875
	.word	1835295092
	.word	1836019574
	.word	1886285684
	.word	1936419184
	.word	2003395685
	.word	1346978644
	.word	1970628964
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1668116342
	.word	.LC8
	.word	1937007471
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	1668232756
	.word	.LC12
	.word	.LC2
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
.L35:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r2, #24
	mov	r4, #0
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r2, #16
	mov	r0, #0
	orr	r3, r4, r0
	str	r3, [fp, #-284]
	orr	r3, r5, r1
	str	r3, [fp, #-280]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r2, #8
	mov	r0, #0
	sub	r4, fp, #284
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-292]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-288]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	mov	r1, r2
	mov	r0, #0
	sub	r4, fp, #292
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-300]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-296]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	lsr	r1, r2, #8
	str	r1, [fp, #-304]
	lsl	r3, r2, #24
	str	r3, [fp, #-308]
	sub	r2, fp, #300
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #308
	ldmia	r4, {r3-r4}
	mov	ip, r3
	orr	r0, r0, ip
	str	r0, [fp, #-316]
	mov	r3, r4
	orr	r3, r2, r3
	str	r3, [fp, #-312]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #16
	orr	r1, r1, r2, lsr #16
	lsl	r0, r2, #16
	sub	r4, fp, #316
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-324]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-320]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	sub	r4, fp, #324
	ldmia	r4, {r3-r4}
	mov	r2, r3
	orr	r2, r2, r0
	str	r2, [fp, #-332]
	mov	r3, r4
	orr	r3, r3, r1
	str	r3, [fp, #-328]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	sub	r1, fp, #332
	ldmia	r1, {r0-r1}
	mov	ip, r0
	orr	ip, ip, r2
	str	ip, [fp, #-396]
	orr	r3, r1, r3
	str	r3, [fp, #-392]
	sub	r4, fp, #396
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-404]
	adc	r3, r1, r3
	str	r3, [fp, #-400]
	sub	r4, fp, #404
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #24
	mov	r1, #0
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #12
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #16
	mov	r1, #0
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #13
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #8
	mov	r1, #0
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #14
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	mov	r0, r3
	mov	r1, #0
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #15
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #24
	orr	r0, r0, r3, lsl #8
	lsr	r1, r3, #24
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #16
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #16
	orr	r0, r0, r3, lsl #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #17
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #8
	orr	r0, r0, r3, lsl #24
	lsr	r1, r3, #8
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #18
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r2, r3, #19
	ldr	r3, [fp, #-140]
	add	r2, r3, r2
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	strb	r3, [r2]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-412]
	adc	r3, r3, #0
	str	r3, [fp, #-408]
	sub	r4, fp, #412
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-76]
	str	r4, [fp, #-72]
.L34:
	ldr	r3, [fp, #-120]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L35
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-340]
	adc	r3, r1, r3
	str	r3, [fp, #-336]
	sub	r4, fp, #340
	ldmia	r4, {r3-r4}
	mov	r2, r3
	subs	r2, r2, #4
	str	r2, [fp, #-420]
	mov	r3, r4
	sbc	r3, r3, #0
	str	r3, [fp, #-416]
	sub	r4, fp, #420
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-84]
	str	r4, [fp, #-80]
.L31:
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-428]
	adc	r3, r3, #0
	str	r3, [fp, #-424]
	sub	r4, fp, #428
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-84]
	str	r4, [fp, #-80]
.L25:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	subs	r1, r2, #4
	str	r1, [fp, #-348]
	sbc	r3, r3, #0
	str	r3, [fp, #-344]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #348
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L36
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L57+104
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-152]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L37:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	blt	.L38
	ldr	r3, [fp, #-68]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	fseeko
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L39:
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-436]
	sbc	r3, r1, r3
	str	r3, [fp, #-432]
	sub	r4, fp, #436
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
.L38:
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L57+108
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L40:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L41
	ldr	r0, .L57+112
	bl	puts
	ldr	r1, [fp, #-92]
	ldr	r3, [fp, #-148]
	mov	r2, #1
	ldr	r0, [fp, #-136]
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L41
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L41:
	ldr	r0, .L57+116
	bl	puts
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-148]
	mov	r2, #1
	ldr	r0, [fp, #-140]
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L42
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L42:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r0, #33554432
	mov	r1, #0
	cmp	r0, r2
	sbcs	r1, r1, r3
	bge	.L43
	mov	r2, #33554432
	mov	r3, #0
.L43:
	mov	r3, r2
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L44
	ldr	r1, [fp, #-128]
	ldr	r0, .L57+120
	bl	printf
	b	.L6
.L44:
	ldr	r0, .L57+124
	bl	puts
	b	.L45
.L49:
	ldr	r3, [fp, #-128]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	ip, r1, r3
	bge	.L46
	mov	r2, r0
	mov	r3, r1
.L46:
	mov	r3, r2
	str	r3, [fp, #-128]
	ldr	r1, [fp, #-128]
	ldr	r3, [fp, #-152]
	mov	r2, #1
	ldr	r0, [fp, #-132]
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L47
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L47:
	ldr	r1, [fp, #-128]
	ldr	r3, [fp, #-148]
	mov	r2, #1
	ldr	r0, [fp, #-132]
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L48
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L6
.L48:
	ldr	r3, [fp, #-128]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	subs	ip, r0, r2
	str	ip, [fp, #-444]
	sbc	r3, r1, r3
	str	r3, [fp, #-440]
	sub	r4, fp, #444
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
.L45:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L49
	ldr	r0, [fp, #-152]
	bl	fclose
	ldr	r0, [fp, #-148]
	bl	fclose
	ldr	r0, [fp, #-140]
	bl	free
	ldr	r0, [fp, #-136]
	bl	free
	ldr	r0, [fp, #-132]
	bl	free
	mov	r3, #0
	b	.L52
.L6:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L50
	ldr	r0, [fp, #-152]
	bl	fclose
.L50:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L51
	ldr	r0, [fp, #-148]
	bl	fclose
.L51:
	ldr	r0, [fp, #-140]
	bl	free
	ldr	r0, [fp, #-136]
	bl	free
	ldr	r0, [fp, #-132]
	bl	free
	mov	r3, #1
.L52:
	ldr	r2, .L57+128
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
