	.file	"210604.c"
	.intel_syntax noprefix
	.text
	.globl	infile
	.bss
	.align 8
	.type	infile, @object
	.size	infile, 8
infile:
	.zero	8
	.globl	fname
	.align 8
	.type	fname, @object
	.size	fname, 8
fname:
	.zero	8
	.globl	warncnt
	.align 4
	.type	warncnt, @object
	.size	warncnt, 4
warncnt:
	.zero	4
	.globl	myname
	.align 8
	.type	myname, @object
	.size	myname, 8
myname:
	.zero	8
	.text
	.globl	getname
	.type	getname, @function
getname:
.LFB6:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	rbx, rax
	test	rbx, rbx
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR myname[rip], rax
	jmp	.L4
.L2:
	add	rbx, 1
	mov	QWORD PTR myname[rip], rbx
.L4:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getname, .-getname
	.section	.rodata
.LC0:
	.string	"%s: "
	.text
	.type	introduction, @function
introduction:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR warncnt[rip]
	add	eax, 1
	mov	DWORD PTR warncnt[rip], eax
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR myname[rip]
	test	rax, rax
	je	.L7
	mov	rdx, QWORD PTR myname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	introduction, .-introduction
	.globl	warn
	.type	warn, @function
warn:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L9
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L9:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	call	introduction
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	va_start@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	va_end@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	warn, .-warn
	.globl	quit
	.type	quit, @function
quit:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L12
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L12:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	call	introduction
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	va_start@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	va_end@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	quit, .-quit
	.section	.rodata
.LC1:
	.string	"\nbetter get help!\n"
	.text
	.globl	fatal
	.type	fatal, @function
fatal:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L15
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L15:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	call	introduction
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	va_start@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	va_end@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	abort@PLT
	.cfi_endproc
.LFE10:
	.size	fatal, .-fatal
	.globl	toption
	.bss
	.align 4
	.type	toption, @object
	.size	toption, 4
toption:
	.zero	4
	.globl	dqt
	.align 32
	.type	dqt, @object
	.size	dqt, 4096
dqt:
	.zero	4096
	.section	.rodata
.LC2:
	.string	"unexpected EOF"
	.text
	.globl	get1
	.type	get1, @function
get1:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR infile[rip]
	lea	rax, -9[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L18
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	quit
.L18:
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	get1, .-get1
	.globl	get2
	.type	get2, @function
get2:
.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, 16
	call	get1
	sal	eax, 8
	mov	DWORD PTR -4[rbp], eax
	call	get1
	or	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	get2, .-get2
	.section	.rodata
.LC3:
	.string	"%02x len=%d\n"
	.text
	.globl	eatmarker
	.type	eatmarker, @function
eatmarker:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	call	get2
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 2
	jmp	.L24
.L25:
	call	get1
	sub	DWORD PTR -4[rbp], 1
.L24:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L25
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	eatmarker, .-eatmarker
	.globl	sofName
	.section	.rodata
	.align 8
.LC4:
	.string	"Baseline sequential DCT - Huffman coding"
	.align 8
.LC5:
	.string	"Extended sequential DCT - Huffman coding"
	.align 8
.LC6:
	.string	"Progressive DCT - Huffman coding"
.LC7:
	.string	"Lossless - Huffman coding"
.LC8:
	.string	"4 is otherwise used"
	.align 8
.LC9:
	.string	"Sequential DCT - differential Huffman coding"
	.align 8
.LC10:
	.string	"Progressive DCT - differential Huffman coding"
	.align 8
.LC11:
	.string	"Lossless - differential Huffman coding"
.LC12:
	.string	"8 is reserved"
	.align 8
.LC13:
	.string	"Extended Sequential DCT - arithmetic coding"
	.align 8
.LC14:
	.string	"Progressive DCT - arithmetic coding"
.LC15:
	.string	"Lossless - arithmetic coding"
.LC16:
	.string	"c is otherwise used"
	.align 8
.LC17:
	.string	"Sequential DCT - differential arithmetic coding"
	.align 8
.LC18:
	.string	"Progressive DCT - differential arithmetic coding"
	.align 8
.LC19:
	.string	"Lossless - differential arithmetic coding"
	.section	.data.rel.local,"aw"
	.align 32
	.type	sofName, @object
	.size	sofName, 128
sofName:
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.section	.rodata
.LC20:
	.string	"SOF%d:\t%s\n"
	.align 8
.LC21:
	.string	"\t%d wide, %d high, %d deep, %d components\n"
	.align 8
.LC22:
	.string	"\tcomponent %d: %d hsample, %d vsample, quantization table %d\n"
	.text
	.globl	get_sof
	.type	get_sof, @function
get_sof:
.LFB14:
	.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	DWORD PTR -52[rbp], edi
	call	get2
	mov	DWORD PTR -32[rbp], eax
	call	get1
	mov	DWORD PTR -28[rbp], eax
	call	get2
	mov	DWORD PTR -24[rbp], eax
	call	get2
	mov	DWORD PTR -20[rbp], eax
	call	get1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 192
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sofName[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -52[rbp]
	lea	ecx, -192[rdx]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L27
.L28:
	call	get1
	mov	DWORD PTR -12[rbp], eax
	call	get1
	mov	DWORD PTR -8[rbp], eax
	call	get1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	sar	eax, 4
	mov	edx, eax
	mov	esi, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	get_sof, .-get_sof
	.section	.rodata
.LC23:
	.string	"COM len=%d '"
.LC24:
	.string	"'"
	.text
	.globl	get_com
	.type	get_com, @function
get_com:
.LFB15:
	.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	DWORD PTR -20[rbp], edi
	call	get2
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -8[rbp], 2
	jmp	.L30
.L31:
	call	get1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
	sub	DWORD PTR -8[rbp], 1
.L30:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L31
	lea	rdi, .LC24[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	get_com, .-get_com
	.section	.rodata
.LC25:
	.string	"APP%d len=%d\n"
.LC26:
	.string	"%.*s"
	.text
	.globl	get_app
	.type	get_app, @function
get_app:
.LFB16:
	.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	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	get2
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	lea	ecx, -224[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -32[rbp], 1
	sub	DWORD PTR -36[rbp], 2
	jmp	.L33
.L39:
	call	get1
	mov	DWORD PTR -20[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 5
	jbe	.L35
	cmp	DWORD PTR -32[rbp], 0
	jne	.L36
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L36
	mov	edi, 32
	call	putchar@PLT
.L36:
	lea	rdx, -14[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -32[rbp], 0
.L35:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	mov	edx, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR -14[rbp+rax], dl
	add	DWORD PTR -24[rbp], 1
	jmp	.L37
.L34:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 5
	jbe	.L38
	cmp	DWORD PTR -28[rbp], 0
	jle	.L38
	lea	rdx, -14[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L38:
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
.L37:
	sub	DWORD PTR -36[rbp], 1
.L33:
	cmp	DWORD PTR -36[rbp], 0
	jg	.L39
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 5
	jbe	.L43
	cmp	DWORD PTR -28[rbp], 0
	jle	.L43
	cmp	DWORD PTR -32[rbp], 0
	jne	.L41
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L41
	mov	edi, 32
	call	putchar@PLT
.L41:
	lea	rdx, -14[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	get_app, .-get_app
	.globl	get_dac
	.type	get_dac, @function
get_dac:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	eatmarker
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	get_dac, .-get_dac
	.section	.rodata
.LC27:
	.string	"DQT:\tp = %d, table = %d\n"
.LC28:
	.string	"\t%q[%02d] = %d\n"
	.text
	.globl	get1dqt
	.type	get1dqt, @function
get1dqt:
.LFB18:
	.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
	call	get1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 4
	mov	DWORD PTR -12[rbp], eax
	and	DWORD PTR -16[rbp], 15
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 8
	mov	rdx, rax
	lea	rax, dqt[rip]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L46
.L49:
	cmp	DWORD PTR -12[rbp], 0
	je	.L47
	call	get2
	jmp	.L48
.L47:
	call	get1
.L48:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -20[rbp], 1
.L46:
	cmp	DWORD PTR -20[rbp], 63
	jle	.L49
	mov	eax, DWORD PTR toption[rip]
	test	eax, eax
	je	.L50
	mov	DWORD PTR -20[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L51:
	cmp	DWORD PTR -20[rbp], 63
	jle	.L52
.L50:
	cmp	DWORD PTR -12[rbp], 0
	je	.L53
	mov	eax, 65
	jmp	.L55
.L53:
	mov	eax, 129
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	get1dqt, .-get1dqt
	.globl	get_dqt
	.type	get_dqt, @function
get_dqt:
.LFB19:
	.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	DWORD PTR -20[rbp], edi
	call	get2
	sub	eax, 2
	mov	DWORD PTR -4[rbp], eax
	jmp	.L57
.L58:
	call	get1dqt
	sub	DWORD PTR -4[rbp], eax
.L57:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L58
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	get_dqt, .-get_dqt
	.section	.rodata
.LC29:
	.string	"DHT:\tclass = %d, table = %d\n"
.LC30:
	.string	"\t%l[%02d] = %d\n"
.LC31:
	.string	"\t%v[%02d,%02d] = %d\n"
	.text
	.globl	get1dht
	.type	get1dht, @function
get1dht:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	get1
	mov	DWORD PTR -16468[rbp], eax
	mov	eax, DWORD PTR -16468[rbp]
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -16468[rbp]
	sar	eax, 4
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16476[rbp], 0
	jmp	.L60
.L61:
	call	get1
	mov	edx, DWORD PTR -16476[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -16464[rbp+rdx*4], eax
	add	DWORD PTR -16476[rbp], 1
.L60:
	cmp	DWORD PTR -16476[rbp], 15
	jle	.L61
	mov	DWORD PTR -16480[rbp], 17
	mov	DWORD PTR -16476[rbp], 0
	jmp	.L62
.L65:
	mov	DWORD PTR -16472[rbp], 0
	jmp	.L63
.L64:
	call	get1
	mov	edx, DWORD PTR -16472[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -16476[rbp]
	movsx	rdx, edx
	sal	rdx, 8
	add	rdx, rcx
	mov	DWORD PTR -16400[rbp+rdx*4], eax
	add	DWORD PTR -16480[rbp], 1
	add	DWORD PTR -16472[rbp], 1
.L63:
	mov	eax, DWORD PTR -16476[rbp]
	cdqe
	mov	eax, DWORD PTR -16464[rbp+rax*4]
	cmp	DWORD PTR -16472[rbp], eax
	jl	.L64
	add	DWORD PTR -16476[rbp], 1
.L62:
	cmp	DWORD PTR -16476[rbp], 15
	jle	.L65
	mov	eax, DWORD PTR toption[rip]
	test	eax, eax
	je	.L66
	mov	DWORD PTR -16476[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -16476[rbp]
	cdqe
	mov	eax, DWORD PTR -16464[rbp+rax*4]
	mov	edx, DWORD PTR -16476[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16476[rbp], 1
.L67:
	cmp	DWORD PTR -16476[rbp], 15
	jle	.L68
	mov	DWORD PTR -16476[rbp], 0
	jmp	.L69
.L72:
	mov	DWORD PTR -16472[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -16472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16476[rbp]
	cdqe
	sal	rax, 8
	add	rax, rdx
	mov	eax, DWORD PTR -16400[rbp+rax*4]
	mov	edx, DWORD PTR -16472[rbp]
	add	edx, 1
	mov	ecx, DWORD PTR -16476[rbp]
	lea	esi, 1[rcx]
	mov	ecx, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16472[rbp], 1
.L70:
	mov	eax, DWORD PTR -16476[rbp]
	cdqe
	mov	eax, DWORD PTR -16464[rbp+rax*4]
	cmp	DWORD PTR -16472[rbp], eax
	jl	.L71
	add	DWORD PTR -16476[rbp], 1
.L69:
	cmp	DWORD PTR -16476[rbp], 15
	jle	.L72
.L66:
	mov	eax, DWORD PTR -16480[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	get1dht, .-get1dht
	.globl	get_dht
	.type	get_dht, @function
get_dht:
.LFB21:
	.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	DWORD PTR -20[rbp], edi
	call	get2
	sub	eax, 2
	mov	DWORD PTR -4[rbp], eax
	jmp	.L76
.L77:
	call	get1dht
	sub	DWORD PTR -4[rbp], eax
.L76:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L77
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	get_dht, .-get_dht
	.section	.rodata
.LC32:
	.string	"SOS:\t%d components\n"
.LC33:
	.string	"\tcomponent %d: %d DC, %d AC\n"
.LC34:
	.string	"\tstart spectral %d\n"
.LC35:
	.string	"\tend spectral %d\n"
.LC36:
	.string	"\tah = %d, al = %d\n"
	.text
	.globl	get_sos
	.type	get_sos, @function
get_sos:
.LFB22:
	.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	DWORD PTR -36[rbp], edi
	call	get2
	mov	DWORD PTR -20[rbp], eax
	call	get1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L79
.L80:
	call	get1
	mov	DWORD PTR -8[rbp], eax
	call	get1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	sar	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L79:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L80
	call	get1
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	call	get1
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	call	get1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	sar	eax, 4
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	get_sos, .-get_sos
	.section	.rodata
.LC37:
	.string	"bad option '%c'"
.LC38:
	.string	"r"
.LC39:
	.string	"can't open %s\n"
.LC40:
	.string	"expected marker, got %2x"
.LC41:
	.string	"SOI"
.LC42:
	.string	"EOI"
	.align 8
.LC43:
	.string	"sequence length %d with %d stuffs\n"
.LC44:
	.string	"restart %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L82
.L86:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 116
	jne	.L83
	mov	DWORD PTR toption[rip], 1
	jmp	.L84
.L83:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	warn
.L84:
	sub	DWORD PTR -20[rbp], 1
	add	QWORD PTR -32[rbp], 8
.L82:
	cmp	DWORD PTR -20[rbp], 1
	jle	.L85
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L86
.L85:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR fname[rip], rax
	mov	rax, QWORD PTR fname[rip]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR infile[rip], rax
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	jne	.L114
	mov	rax, QWORD PTR fname[rip]
	mov	rsi, rax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	quit
	jmp	.L106
.L114:
	nop
.L87:
.L106:
	call	get1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 255
	je	.L89
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	quit
.L89:
	call	get1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 255
	je	.L89
	nop
.L90:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 192
	cmp	eax, 62
	ja	.L91
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L93[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L93[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L93:
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L101-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L100-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L99-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L98-.L93
	.long	.L97-.L93
	.long	.L96-.L93
	.long	.L95-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L94-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L91-.L93
	.long	.L92-.L93
	.text
.L99:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_sof
	jmp	.L102
.L101:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_dht
	jmp	.L102
.L100:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_dac
	jmp	.L102
.L98:
	lea	rdi, .LC41[rip]
	call	puts@PLT
	jmp	.L102
.L94:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_app
	jmp	.L102
.L96:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_sos
	jmp	.L103
.L95:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_dqt
	jmp	.L102
.L92:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	get_com
	jmp	.L102
.L97:
	lea	rdi, .LC42[rip]
	call	puts@PLT
	mov	rax, QWORD PTR infile[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L104
	mov	edi, 0
	call	exit@PLT
.L104:
	mov	rdx, QWORD PTR infile[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	jmp	.L106
.L91:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	eatmarker
.L102:
	jmp	.L106
.L103:
	mov	DWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
.L107:
	jmp	.L108
.L109:
	add	DWORD PTR -12[rbp], 1
.L108:
	call	get1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 255
	jne	.L109
	jmp	.L110
.L111:
	call	get1
	mov	DWORD PTR -4[rbp], eax
.L110:
	cmp	DWORD PTR -4[rbp], 255
	je	.L111
	cmp	DWORD PTR -4[rbp], 0
	jne	.L112
	add	DWORD PTR -8[rbp], 1
	jmp	.L107
.L112:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 207
	jle	.L90
	cmp	DWORD PTR -4[rbp], 215
	jg	.L90
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 208
	mov	esi, eax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L103
	.cfi_endproc
.LFE23:
	.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	"210604.c"
	.text
	.comm	infile,4,4
	.comm	fname,4,4
	.comm	warncnt,4,4
	.comm	myname,4,4
	.align	2
	.global	getname
	.syntax unified
	.arm
	.fpu softvfp
	.type	getname, %function
getname:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	mov	r1, #47
	ldr	r0, [fp, #-16]
	bl	strrchr
	mov	r4, r0
	cmp	r4, #0
	bne	.L2
	ldr	r2, .L5
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L4
.L2:
	add	r4, r4, #1
	ldr	r3, .L5
	str	r4, [r3]
.L4:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L6:
	.align	2
.L5:
	.word	myname
	.size	getname, .-getname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	introduction, %function
introduction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L10
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r2, [r2]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	fprintf
.L9:
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	warncnt
	.word	stdout
	.word	myname
	.word	stderr
	.word	.LC0
	.size	introduction, .-introduction
	.align	2
	.global	warn
	.syntax unified
	.arm
	.fpu softvfp
	.type	warn, %function
warn:
	@ args = 4, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	introduction
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #-8]
	bl	va_start
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	vfprintf
	ldr	r0, [fp, #-8]
	bl	va_end
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L14:
	.align	2
.L13:
	.word	stderr
	.size	warn, .-warn
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 4, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	introduction
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #-8]
	bl	va_start
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	vfprintf
	ldr	r0, [fp, #-8]
	bl	va_end
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #1
	bl	exit
.L17:
	.align	2
.L16:
	.word	stderr
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012better get help!\012\000"
	.text
	.align	2
	.global	fatal
	.syntax unified
	.arm
	.fpu softvfp
	.type	fatal, %function
fatal:
	@ args = 4, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	introduction
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #-8]
	bl	va_start
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	vfprintf
	ldr	r0, [fp, #-8]
	bl	va_end
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L19+4
	bl	fwrite
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	abort
.L20:
	.align	2
.L19:
	.word	stderr
	.word	.LC1
	.size	fatal, .-fatal
	.global	toption
	.bss
	.align	2
	.type	toption, %object
	.size	toption, 4
toption:
	.space	4
	.comm	dqt,4096,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"unexpected EOF\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get1
	.syntax unified
	.arm
	.fpu softvfp
	.type	get1, %function
get1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r0, fp, #9
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L25+8
	bl	quit
.L22:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	infile
	.word	.LC2
	.size	get1, .-get1
	.align	2
	.global	get2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get2, %function
get2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	get1
	mov	r3, r0
	lsl	r3, r3, #8
	str	r3, [fp, #-8]
	bl	get1
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get2, .-get2
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%02x len=%d\012\000"
	.text
	.align	2
	.global	eatmarker
	.syntax unified
	.arm
	.fpu softvfp
	.type	eatmarker, %function
eatmarker:
	@ 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]
	bl	get2
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L32
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	str	r3, [fp, #-8]
	b	.L30
.L31:
	bl	get1
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.size	eatmarker, .-eatmarker
	.global	sofName
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Baseline sequential DCT - Huffman coding\000"
	.align	2
.LC6:
	.ascii	"Extended sequential DCT - Huffman coding\000"
	.align	2
.LC7:
	.ascii	"Progressive DCT - Huffman coding\000"
	.align	2
.LC8:
	.ascii	"Lossless - Huffman coding\000"
	.align	2
.LC9:
	.ascii	"4 is otherwise used\000"
	.align	2
.LC10:
	.ascii	"Sequential DCT - differential Huffman coding\000"
	.align	2
.LC11:
	.ascii	"Progressive DCT - differential Huffman coding\000"
	.align	2
.LC12:
	.ascii	"Lossless - differential Huffman coding\000"
	.align	2
.LC13:
	.ascii	"8 is reserved\000"
	.align	2
.LC14:
	.ascii	"Extended Sequential DCT - arithmetic coding\000"
	.align	2
.LC15:
	.ascii	"Progressive DCT - arithmetic coding\000"
	.align	2
.LC16:
	.ascii	"Lossless - arithmetic coding\000"
	.align	2
.LC17:
	.ascii	"c is otherwise used\000"
	.align	2
.LC18:
	.ascii	"Sequential DCT - differential arithmetic coding\000"
	.align	2
.LC19:
	.ascii	"Progressive DCT - differential arithmetic coding\000"
	.align	2
.LC20:
	.ascii	"Lossless - differential arithmetic coding\000"
	.data
	.align	2
	.type	sofName, %object
	.size	sofName, 64
sofName:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.section	.rodata
	.align	2
.LC21:
	.ascii	"SOF%d:\011%s\012\000"
	.align	2
.LC22:
	.ascii	"\011%d wide, %d high, %d deep, %d components\012\000"
	.align	2
.LC23:
	.ascii	"\011component %d: %d hsample, %d vsample, quantizat"
	.ascii	"ion table %d\012\000"
	.text
	.align	2
	.global	get_sof
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_sof, %function
get_sof:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	bl	get2
	str	r0, [fp, #-36]
	bl	get1
	str	r0, [fp, #-32]
	bl	get2
	str	r0, [fp, #-28]
	bl	get2
	str	r0, [fp, #-24]
	bl	get1
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-48]
	sub	r1, r3, #192
	ldr	r3, [fp, #-48]
	sub	r3, r3, #192
	ldr	r2, .L37
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L37+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L35
.L36:
	bl	get1
	str	r0, [fp, #-16]
	bl	get1
	str	r0, [fp, #-12]
	bl	get1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	asr	r2, r3, #4
	ldr	r3, [fp, #-12]
	and	r1, r3, #15
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-16]
	ldr	r0, .L37+12
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L35:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L36
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	sofName
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	get_sof, .-get_sof
	.section	.rodata
	.align	2
.LC24:
	.ascii	"COM len=%d '\000"
	.align	2
.LC25:
	.ascii	"'\000"
	.text
	.align	2
	.global	get_com
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_com, %function
get_com:
	@ 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]
	bl	get2
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L42
	bl	printf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #2
	str	r3, [fp, #-12]
	b	.L40
.L41:
	bl	get1
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	putchar
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L41
	ldr	r0, .L42+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC24
	.word	.LC25
	.size	get_com, .-get_com
	.section	.rodata
	.align	2
.LC26:
	.ascii	"APP%d len=%d\012\000"
	.align	2
.LC27:
	.ascii	"%.*s\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_app
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_app, %function
get_app:
	@ 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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	get2
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #224
	ldr	r2, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L56+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #2
	str	r3, [fp, #-36]
	b	.L45
.L51:
	bl	get1
	str	r0, [fp, #-20]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	bls	.L47
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L48
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L48
	mov	r0, #32
	bl	putchar
.L48:
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, .L56+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
.L47:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L49
.L46:
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	bls	.L50
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L50
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, .L56+8
	bl	printf
.L50:
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
.L49:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
.L45:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bgt	.L51
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	bls	.L55
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L55
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L53
	mov	r0, #32
	bl	putchar
.L53:
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, .L56+8
	bl	printf
.L55:
	nop
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC28
	.word	.LC26
	.word	.LC27
	.size	get_app, .-get_app
	.align	2
	.global	get_dac
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dac, %function
get_dac:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	eatmarker
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_dac, .-get_dac
	.section	.rodata
	.align	2
.LC29:
	.ascii	"DQT:\011p = %d, table = %d\012\000"
	.align	2
.LC30:
	.ascii	"\011%q[%02d] = %d\012\000"
	.text
	.align	2
	.global	get1dqt
	.syntax unified
	.arm
	.fpu softvfp
	.type	get1dqt, %function
get1dqt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	get1
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	and	r3, r3, #15
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, .L70
	bl	printf
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	ldr	r2, .L70+4
	add	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L60
.L63:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L61
	bl	get2
	mov	r3, r0
	b	.L62
.L61:
	bl	get1
	mov	r3, r0
.L62:
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L60:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L63
	ldr	r3, .L70+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L65
.L66:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L70+12
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L65:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L66
.L64:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L67
	mov	r3, #65
	b	.L69
.L67:
	mov	r3, #129
.L69:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC29
	.word	dqt
	.word	toption
	.word	.LC30
	.size	get1dqt, .-get1dqt
	.align	2
	.global	get_dqt
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dqt, %function
get_dqt:
	@ 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]
	bl	get2
	mov	r3, r0
	sub	r3, r3, #2
	str	r3, [fp, #-8]
	b	.L73
.L74:
	bl	get1dqt
	mov	r2, r0
	ldr	r3, [fp, #-8]
	sub	r3, r3, r2
	str	r3, [fp, #-8]
.L73:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L74
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_dqt, .-get_dqt
	.section	.rodata
	.align	2
.LC31:
	.ascii	"DHT:\011class = %d, table = %d\012\000"
	.align	2
.LC32:
	.ascii	"\011%l[%02d] = %d\012\000"
	.align	2
.LC33:
	.ascii	"\011%v[%02d,%02d] = %d\012\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get1dht
	.syntax unified
	.arm
	.fpu softvfp
	.type	get1dht, %function
get1dht:
	@ args = 0, pretend = 0, frame = 16472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #16384
	sub	sp, sp, #92
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	bl	get1
	str	r0, [r4, #-72]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	asr	r1, r3, #4
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	and	r3, r3, #15
	mov	r2, r3
	ldr	r0, .L91+4
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-80]
	b	.L76
.L77:
	bl	get1
	mov	r2, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-68]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #1
	str	r3, [r2, #-80]
.L76:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	cmp	r3, #15
	ble	.L77
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #17
	str	r3, [r2, #-84]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-80]
	b	.L78
.L81:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-76]
	b	.L79
.L80:
	bl	get1
	mov	r1, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r2, r3, #8
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-4]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-84]
	add	r3, r3, #1
	str	r3, [r2, #-84]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	add	r3, r3, #1
	str	r3, [r2, #-76]
.L79:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-76]
	cmp	r2, r3
	blt	.L80
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #1
	str	r3, [r2, #-80]
.L78:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	cmp	r3, #15
	ble	.L81
	ldr	r3, .L91+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L82
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-80]
	b	.L83
.L84:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r1, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	mov	r2, r3
	ldr	r0, .L91+12
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #1
	str	r3, [r2, #-80]
.L83:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	cmp	r3, #15
	ble	.L84
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-80]
	b	.L85
.L88:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-76]
	b	.L86
.L87:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r1, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	add	r0, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r2, r3, #8
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, ip, r3
	ldr	r3, [r3, #-4]
	mov	r2, r0
	ldr	r0, .L91+16
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	add	r3, r3, #1
	str	r3, [r2, #-76]
.L86:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-76]
	cmp	r2, r3
	blt	.L87
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #1
	str	r3, [r2, #-80]
.L85:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	cmp	r3, #15
	ble	.L88
.L82:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-84]
	ldr	r2, .L91
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L90
	bl	__stack_chk_fail
.L90:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC34
	.word	.LC31
	.word	toption
	.word	.LC32
	.word	.LC33
	.size	get1dht, .-get1dht
	.align	2
	.global	get_dht
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dht, %function
get_dht:
	@ 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]
	bl	get2
	mov	r3, r0
	sub	r3, r3, #2
	str	r3, [fp, #-8]
	b	.L94
.L95:
	bl	get1dht
	mov	r2, r0
	ldr	r3, [fp, #-8]
	sub	r3, r3, r2
	str	r3, [fp, #-8]
.L94:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L95
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_dht, .-get_dht
	.section	.rodata
	.align	2
.LC35:
	.ascii	"SOS:\011%d components\012\000"
	.align	2
.LC36:
	.ascii	"\011component %d: %d DC, %d AC\012\000"
	.align	2
.LC37:
	.ascii	"\011start spectral %d\012\000"
	.align	2
.LC38:
	.ascii	"\011end spectral %d\012\000"
	.align	2
.LC39:
	.ascii	"\011ah = %d, al = %d\012\000"
	.text
	.align	2
	.global	get_sos
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_sos, %function
get_sos:
	@ 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]
	bl	get2
	str	r0, [fp, #-24]
	bl	get1
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L99
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L97
.L98:
	bl	get1
	str	r0, [fp, #-12]
	bl	get1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	asr	r2, r3, #4
	ldr	r3, [fp, #-8]
	and	r3, r3, #15
	ldr	r1, [fp, #-12]
	ldr	r0, .L99+4
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L97:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L98
	bl	get1
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L99+8
	bl	printf
	bl	get1
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L99+12
	bl	printf
	bl	get1
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r1, r3, #4
	ldr	r3, [fp, #-16]
	and	r3, r3, #15
	mov	r2, r3
	ldr	r0, .L99+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.size	get_sos, .-get_sos
	.section	.rodata
	.align	2
.LC40:
	.ascii	"bad option '%c'\000"
	.align	2
.LC41:
	.ascii	"r\000"
	.align	2
.LC42:
	.ascii	"can't open %s\012\000"
	.align	2
.LC43:
	.ascii	"expected marker, got %2x\000"
	.align	2
.LC44:
	.ascii	"SOI\000"
	.align	2
.LC45:
	.ascii	"EOI\000"
	.align	2
.LC46:
	.ascii	"sequence length %d with %d stuffs\012\000"
	.align	2
.LC47:
	.ascii	"restart %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	b	.L102
.L106:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L103
	ldr	r3, .L134
	mov	r2, #1
	str	r2, [r3]
	b	.L104
.L103:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L134+4
	bl	warn
.L104:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L102:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L105
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L106
.L105:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r2, .L134+8
	str	r3, [r2]
	ldr	r3, .L134+8
	ldr	r3, [r3]
	ldr	r1, .L134+12
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L134+16
	str	r3, [r2]
	ldr	r3, .L134+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L133
	ldr	r3, .L134+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L134+20
	bl	quit
	b	.L125
.L133:
	nop
.L107:
.L125:
	bl	get1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	beq	.L109
	ldr	r1, [fp, #-8]
	ldr	r0, .L134+24
	bl	quit
.L109:
	bl	get1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	beq	.L109
	nop
.L110:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #192
	cmp	r3, #62
	ldrls	pc, [pc, r3, asl #2]
	b	.L111
.L113:
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L121
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L120
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L118
	.word	.L117
	.word	.L116
	.word	.L115
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L114
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L111
	.word	.L112
.L119:
	ldr	r0, [fp, #-8]
	bl	get_sof
	b	.L122
.L121:
	ldr	r0, [fp, #-8]
	bl	get_dht
	b	.L122
.L120:
	ldr	r0, [fp, #-8]
	bl	get_dac
	b	.L122
.L118:
	ldr	r0, .L134+28
	bl	puts
	b	.L122
.L114:
	ldr	r0, [fp, #-8]
	bl	get_app
	b	.L122
.L116:
	ldr	r0, [fp, #-8]
	bl	get_sos
	b	.L123
.L115:
	ldr	r0, [fp, #-8]
	bl	get_dqt
	b	.L122
.L112:
	ldr	r0, [fp, #-8]
	bl	get_com
	b	.L122
.L117:
	ldr	r0, .L134+32
	bl	puts
	ldr	r3, .L134+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L124
	mov	r0, #0
	bl	exit
.L124:
	ldr	r3, .L134+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	ungetc
	b	.L125
.L111:
	ldr	r0, [fp, #-8]
	bl	eatmarker
.L122:
	b	.L125
.L123:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
.L126:
	b	.L127
.L128:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L127:
	bl	get1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	bne	.L128
	b	.L129
.L130:
	bl	get1
	str	r0, [fp, #-8]
.L129:
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	beq	.L130
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L131
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L126
.L131:
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L134+36
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #207
	ble	.L110
	ldr	r3, [fp, #-8]
	cmp	r3, #215
	bgt	.L110
	ldr	r3, [fp, #-8]
	sub	r3, r3, #208
	mov	r1, r3
	ldr	r0, .L134+40
	bl	printf
	b	.L123
.L135:
	.align	2
.L134:
	.word	toption
	.word	.LC40
	.word	fname
	.word	.LC41
	.word	infile
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
