	.file	"538129.c"
	.intel_syntax noprefix
	.text
	.globl	info_JPEG
	.type	info_JPEG, @function
info_JPEG:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 512
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 23544[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	jpeg_init
	test	eax, eax
	je	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L4
	mov	eax, 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 2
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, 1
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	info_JPEG, .-info_JPEG
	.globl	decode0_JPEG
	.type	decode0_JPEG, @function
decode0_JPEG:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	DWORD PTR -52[rbp], r9d
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 512
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 23544[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 23568
	mov	rdi, rax
	call	jpeg_idct_init
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	jpeg_init
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 127
	mov	esi, eax
	mov	eax, DWORD PTR -52[rbp]
	cdq
	idiv	esi
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 23564[rax], edx
	mov	edx, DWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	jpeg_decode
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	decode0_JPEG, .-decode0_JPEG
	.globl	get_bits
	.type	get_bits, @function
get_bits:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23552[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 23560[rax]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L8
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	jb	.L9
	mov	WORD PTR -14[rbp], 0
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -15[rbp], al
	cmp	BYTE PTR -15[rbp], -1
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	jb	.L12
	mov	WORD PTR -14[rbp], 0
	jmp	.L10
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
.L11:
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 8
	mov	rdx, rax
	movzx	eax, BYTE PTR -15[rbp]
	or	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 8
.L8:
	cmp	DWORD PTR -12[rbp], 16
	jle	.L13
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	mov	esi, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	and	eax, esi
	mov	WORD PTR -14[rbp], ax
	mov	eax, DWORD PTR -28[rbp]
	sub	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 23560[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 23552[rax], rdx
.L10:
	movzx	eax, WORD PTR -14[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	get_bits, .-get_bits
	.globl	jpeg_sof
	.type	jpeg_sof, @function
jpeg_sof:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 23536[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L25
	mov	DWORD PTR -16[rbp], 0
	jmp	.L19
.L22:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	add	rcx, 4
	mov	DWORD PTR 12[rax+rcx*4], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -17[rbp], al
	movzx	edx, BYTE PTR -17[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	add	rcx, 8
	mov	DWORD PTR 8[rax+rcx*4], edx
	movzx	eax, BYTE PTR -17[rbp]
	shr	al, 4
	movzx	eax, al
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 12
	mov	DWORD PTR 4[rax+rdx*4], ecx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 12
	mov	eax, DWORD PTR 4[rax+rdx*4]
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, BYTE PTR -17[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], edx
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L21
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 20[rax], edx
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	add	rcx, 16
	mov	DWORD PTR 12[rax+rcx*4], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 23536[rax], rdx
	add	DWORD PTR -16[rbp], 1
.L19:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L22
	mov	eax, 0
	jmp	.L23
.L24:
	nop
	jmp	.L17
.L25:
	nop
.L17:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 23544[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, 1
.L23:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	jpeg_sof, .-jpeg_sof
	.globl	jpeg_dqt
	.type	jpeg_dqt, @function
jpeg_dqt:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L39
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	sub	eax, 2
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L40
	jmp	.L30
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	sub	DWORD PTR -8[rbp], 1
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 7
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 17364[rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 17364[rax], edx
.L31:
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 248
	test	eax, eax
	je	.L32
	mov	DWORD PTR -12[rbp], 0
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rsi, ecx
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	sal	rcx, 6
	add	rcx, rsi
	add	rcx, 4148
	mov	DWORD PTR 4[rax+rcx*4], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	add	DWORD PTR -12[rbp], 1
.L33:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L34
	add	DWORD PTR -8[rbp], -128
	jmp	.L30
.L32:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rsi, ecx
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	sal	rcx, 6
	add	rcx, rsi
	add	rcx, 4148
	mov	DWORD PTR 4[rax+rcx*4], edx
	add	DWORD PTR -12[rbp], 1
.L35:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L36
	sub	DWORD PTR -8[rbp], 64
.L30:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L37
	mov	eax, 0
	jmp	.L38
.L39:
	nop
	jmp	.L28
.L40:
	nop
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23544[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, 1
.L38:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	jpeg_dqt, .-jpeg_dqt
	.globl	jpeg_dht
	.type	jpeg_dht, @function
jpeg_dht:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L63
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	sub	eax, 2
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR 23536[rax], rdx
	jmp	.L44
.L59:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 17[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L64
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -121[rbp], al
	movzx	eax, BYTE PTR -121[rbp]
	shr	al, 4
	movzx	eax, al
	and	eax, 15
	mov	DWORD PTR -96[rbp], eax
	movzx	eax, BYTE PTR -121[rbp]
	and	eax, 15
	mov	DWORD PTR -92[rbp], eax
	mov	edx, DWORD PTR -92[rbp]
	mov	rax, rdx
	sal	rax, 8
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -96[rbp]
	imul	rdx, rdx, 3084
	add	rax, rdx
	lea	rdx, 17360[rax]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -116[rbp], 1
	jmp	.L46
.L49:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	add	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -108[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -108[rbp], edx
	mov	edx, DWORD PTR -116[rbp]
	mov	ecx, edx
	mov	rdx, QWORD PTR -88[rbp]
	cdqe
	mov	BYTE PTR 516[rdx+rax], cl
	add	DWORD PTR -112[rbp], 1
.L47:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L48
	add	DWORD PTR -116[rbp], 1
.L46:
	cmp	DWORD PTR -116[rbp], 16
	jle	.L49
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 17[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR 516[rax]
	movzx	eax, al
	mov	DWORD PTR -116[rbp], eax
	jmp	.L50
.L52:
	mov	edx, DWORD PTR -120[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -108[rbp], ecx
	mov	ecx, edx
	mov	rdx, QWORD PTR -88[rbp]
	cdqe
	mov	WORD PTR 4[rdx+rax*2], cx
.L51:
	mov	rdx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	eax, BYTE PTR 516[rdx+rax]
	movzx	eax, al
	cmp	DWORD PTR -116[rbp], eax
	je	.L52
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jge	.L65
.L53:
	sal	DWORD PTR -120[rbp]
	add	DWORD PTR -116[rbp], 1
	mov	rdx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	eax, BYTE PTR 516[rdx+rax]
	movzx	eax, al
	cmp	DWORD PTR -116[rbp], eax
	jne	.L53
.L50:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L51
	jmp	.L54
.L65:
	nop
.L54:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L66
	mov	DWORD PTR -108[rbp], 0
	jmp	.L57
.L58:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	BYTE PTR 772[rdx+rax], cl
	add	DWORD PTR -108[rbp], 1
.L57:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L58
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, DWORD PTR -104[rbp]
	add	eax, 18
	sub	DWORD PTR -100[rbp], eax
.L44:
	cmp	DWORD PTR -100[rbp], 0
	jg	.L59
	mov	eax, 0
	jmp	.L61
.L63:
	nop
	jmp	.L43
.L64:
	nop
	jmp	.L43
.L66:
	nop
.L43:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 23544[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	eax, 1
.L61:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	jpeg_dht, .-jpeg_dht
	.globl	jpeg_init
	.type	jpeg_init, @function
jpeg_init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16584[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16588[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16592[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 17364[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 20[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 23560[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23552[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 164[rax], 0
.L87:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L89
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L90
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	cmp	BYTE PTR -9[rbp], -40
	je	.L91
	cmp	BYTE PTR -9[rbp], -39
	je	.L92
	cmp	BYTE PTR -9[rbp], -64
	jne	.L75
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	jpeg_sof
	jmp	.L87
.L75:
	cmp	BYTE PTR -9[rbp], -60
	jne	.L76
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	jpeg_dht
	jmp	.L87
.L76:
	cmp	BYTE PTR -9[rbp], -37
	jne	.L77
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	jpeg_dqt
	jmp	.L87
.L77:
	cmp	BYTE PTR -9[rbp], -35
	jne	.L78
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L93
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 164[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	jmp	.L87
.L78:
	cmp	BYTE PTR -9[rbp], -38
	jne	.L80
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L94
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 88[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 88[rax]
	add	eax, eax
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L95
	mov	DWORD PTR -4[rbp], 0
	jmp	.L83
.L84:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	add	rcx, 20
	mov	DWORD PTR 12[rax+rcx*4], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	add	rcx, 28
	mov	DWORD PTR 4[rax+rcx*4], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 24
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	add	DWORD PTR -4[rbp], 1
.L83:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 88[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L84
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	jmp	.L85
.L80:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23544[rax]
	cmp	rdx, rax
	ja	.L96
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23536[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 23536[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, ecx
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	jmp	.L87
.L91:
	nop
	jmp	.L87
.L89:
	nop
	jmp	.L69
.L92:
	nop
	jmp	.L69
.L93:
	nop
	jmp	.L69
.L94:
	nop
	jmp	.L69
.L95:
	nop
	jmp	.L69
.L96:
	nop
.L69:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 23544[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 23536[rax], rdx
	jmp	.L71
.L90:
	nop
.L71:
	add	DWORD PTR -8[rbp], 1
.L85:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	jpeg_init, .-jpeg_init
	.globl	jpeg_decode_init
	.type	jpeg_decode_init, @function
jpeg_decode_init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L98
.L103:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L99
.L102:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rdx, 20
	mov	edx, DWORD PTR 12[rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	add	rcx, 4
	mov	eax, DWORD PTR 12[rax+rcx*4]
	cmp	edx, eax
	jne	.L100
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 12
	mov	edx, DWORD PTR 4[rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	add	rcx, 32
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	add	rcx, 32
	mov	DWORD PTR 12[rax+rcx*4], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 12[rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	add	rcx, 36
	mov	DWORD PTR 8[rax+rcx*4], edx
	jmp	.L101
.L100:
	add	DWORD PTR -4[rbp], 1
.L99:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L102
.L101:
	add	DWORD PTR -8[rbp], 1
.L98:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 88[rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L103
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 20[rax]
	lea	edx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	DWORD PTR -8[rbp], 0
	jmp	.L104
.L105:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rdx, 40
	mov	DWORD PTR 8[rax+rdx*4], 128
	add	DWORD PTR -8[rbp], 1
.L104:
	cmp	DWORD PTR -8[rbp], 4095
	jle	.L105
	mov	DWORD PTR -8[rbp], 0
	jmp	.L106
.L107:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 168[rax]
	mov	eax, DWORD PTR -8[rbp]
	sal	eax, 10
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rdx, 2068
	mov	QWORD PTR 8[rax+rdx*8], rcx
	add	DWORD PTR -8[rbp], 1
.L106:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 88[rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L107
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	jpeg_decode_init, .-jpeg_decode_init
	.globl	jpeg_huff_decode
	.type	jpeg_huff_decode, @function
jpeg_huff_decode:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 3084
	add	rax, rdx
	lea	rdx, 17360[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L110
.L116:
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	get_bits
	movzx	eax, ax
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L111
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L112
.L111:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, eax
	or	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L113
.L115:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR 4[rax+rdx*2]
	movzx	eax, ax
	cmp	DWORD PTR -24[rbp], eax
	jne	.L114
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	movzx	eax, BYTE PTR 772[rdx+rax]
	movzx	eax, al
	jmp	.L112
.L114:
	add	DWORD PTR -16[rbp], 1
.L113:
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	movzx	eax, BYTE PTR 516[rdx+rax]
	movzx	eax, al
	cmp	DWORD PTR -20[rbp], eax
	je	.L115
.L110:
	cmp	DWORD PTR -20[rbp], 15
	jle	.L116
	mov	eax, -1
.L112:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	jpeg_huff_decode, .-jpeg_huff_decode
	.globl	jpeg_idct_init
	.type	jpeg_idct_init, @function
jpeg_idct_init:
.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, 256
	mov	QWORD PTR -248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -144[rbp], 32768
	mov	DWORD PTR -140[rbp], 32138
	mov	DWORD PTR -136[rbp], 30274
	mov	DWORD PTR -132[rbp], 27246
	mov	DWORD PTR -128[rbp], 23170
	mov	DWORD PTR -124[rbp], 18205
	mov	DWORD PTR -120[rbp], 12540
	mov	DWORD PTR -116[rbp], 6393
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], -6393
	mov	DWORD PTR -104[rbp], -12540
	mov	DWORD PTR -100[rbp], -18205
	mov	DWORD PTR -96[rbp], -23170
	mov	DWORD PTR -92[rbp], -27246
	mov	DWORD PTR -88[rbp], -30274
	mov	DWORD PTR -84[rbp], -32138
	mov	DWORD PTR -240[rbp], 0
	jmp	.L118
.L119:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edx, DWORD PTR -240[rbp]
	lea	ecx, 16[rdx]
	neg	eax
	mov	edx, eax
	movsx	rax, ecx
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -240[rbp], 1
.L118:
	cmp	DWORD PTR -240[rbp], 15
	jle	.L119
	mov	DWORD PTR -240[rbp], 0
	jmp	.L120
.L133:
	mov	eax, DWORD PTR -240[rbp]
	mov	DWORD PTR -224[rbp], eax
	mov	eax, DWORD PTR -240[rbp]
	add	eax, eax
	mov	DWORD PTR -216[rbp], eax
	cmp	DWORD PTR -216[rbp], 0
	jne	.L121
	mov	DWORD PTR -224[rbp], 4
.L121:
	mov	DWORD PTR -232[rbp], 0
	jmp	.L122
.L123:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	DWORD PTR -208[rbp+rax*4], edx
	mov	edx, DWORD PTR -224[rbp]
	mov	eax, DWORD PTR -216[rbp]
	add	eax, edx
	and	eax, 31
	mov	DWORD PTR -224[rbp], eax
	add	DWORD PTR -232[rbp], 1
.L122:
	cmp	DWORD PTR -232[rbp], 7
	jle	.L123
	mov	DWORD PTR -236[rbp], 0
	jmp	.L124
.L132:
	mov	eax, DWORD PTR -236[rbp]
	mov	DWORD PTR -220[rbp], eax
	mov	eax, DWORD PTR -236[rbp]
	add	eax, eax
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	jne	.L125
	mov	DWORD PTR -220[rbp], 4
.L125:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L126
.L127:
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], edx
	mov	edx, DWORD PTR -220[rbp]
	mov	eax, DWORD PTR -212[rbp]
	add	eax, edx
	and	eax, 31
	mov	DWORD PTR -220[rbp], eax
	add	DWORD PTR -228[rbp], 1
.L126:
	cmp	DWORD PTR -228[rbp], 7
	jle	.L127
	mov	DWORD PTR -232[rbp], 0
	jmp	.L128
.L131:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L129
.L130:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	edx, DWORD PTR -208[rbp+rax*4]
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	imul	eax, edx
	mov	edx, DWORD PTR -240[rbp]
	lea	ecx, 0[0+rdx*8]
	mov	edx, DWORD PTR -236[rbp]
	add	edx, ecx
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 8
	mov	rdx, QWORD PTR -248[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR -232[rbp]
	lea	esi, 0[0+rcx*8]
	mov	ecx, DWORD PTR -228[rbp]
	add	esi, ecx
	sar	eax, 15
	mov	ecx, eax
	movsx	rax, esi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -228[rbp], 1
.L129:
	cmp	DWORD PTR -228[rbp], 7
	jle	.L130
	add	DWORD PTR -232[rbp], 1
.L128:
	cmp	DWORD PTR -232[rbp], 7
	jle	.L131
	add	DWORD PTR -236[rbp], 1
.L124:
	cmp	DWORD PTR -236[rbp], 7
	jle	.L132
	add	DWORD PTR -240[rbp], 1
.L120:
	cmp	DWORD PTR -240[rbp], 7
	jle	.L133
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L135
	call	__stack_chk_fail@PLT
.L135:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	jpeg_idct_init, .-jpeg_idct_init
	.globl	jpeg_idct
	.type	jpeg_idct, @function
jpeg_idct:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L137
.L138:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -12[rbp], 1
.L137:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L138
	mov	DWORD PTR -12[rbp], 0
	jmp	.L139
.L143:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L140
	mov	DWORD PTR -8[rbp], 0
	jmp	.L141
.L142:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	imul	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -8[rbp], 1
.L141:
	cmp	DWORD PTR -8[rbp], 63
	jle	.L142
.L140:
	add	DWORD PTR -12[rbp], 1
.L139:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L143
	mov	DWORD PTR -12[rbp], 0
	jmp	.L144
.L145:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sar	edx, 17
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -12[rbp], 1
.L144:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L145
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	jpeg_idct, .-jpeg_idct
	.globl	jpeg_get_value
	.type	jpeg_get_value, @function
jpeg_get_value:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -28[rbp], 0
	je	.L148
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	get_bits
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L149
	mov	eax, DWORD PTR -4[rbp]
	neg	eax
	or	eax, 65536
	mov	DWORD PTR -4[rbp], eax
	jmp	.L148
.L149:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L148
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	sub	DWORD PTR -4[rbp], eax
.L148:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	jpeg_get_value, .-jpeg_get_value
	.globl	jpeg_decode_huff
	.type	jpeg_decode_huff, @function
jpeg_decode_huff:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 36
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cdqe
	sal	rax, 8
	lea	rdx, 16592[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 4
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 28
	mov	edx, DWORD PTR 4[rax+rdx*4]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	jpeg_huff_decode
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jns	.L152
	mov	eax, 0
	jmp	.L153
.L152:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	jpeg_get_value
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 4144
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 4144
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 4144
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -20[rbp], 1
	jmp	.L154
.L161:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 24
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	jpeg_huff_decode
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	js	.L164
	cmp	DWORD PTR -16[rbp], 0
	je	.L165
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 4
	and	eax, 15
	mov	DWORD PTR -24[rbp], eax
	and	DWORD PTR -16[rbp], 15
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	jpeg_get_value
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 65535
	jle	.L159
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L153
.L160:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
.L159:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -24[rbp], edx
	test	eax, eax
	jg	.L160
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movzx	edx, dl
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	imul	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -20[rbp], 1
.L154:
	cmp	DWORD PTR -20[rbp], 63
	jle	.L161
	jmp	.L162
.L164:
	nop
	jmp	.L162
.L165:
	nop
	jmp	.L162
.L163:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
.L162:
	cmp	DWORD PTR -20[rbp], 63
	jle	.L163
	mov	eax, 0
.L153:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	jpeg_decode_huff, .-jpeg_decode_huff
	.globl	jpeg_mcu_bitblt
	.type	jpeg_mcu_bitblt, @function
jpeg_mcu_bitblt:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	DWORD PTR -60[rbp], r8d
	mov	DWORD PTR -64[rbp], r9d
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR 16[rbp]
	sub	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	cdqe
	sal	rax, 2
	add	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	sub	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L167
.L170:
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 3
	cdq
	idiv	DWORD PTR -8[rbp]
	sal	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L168
.L169:
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 3
	cdq
	idiv	DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, DWORD PTR [rcx]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -20[rbp], 1
.L168:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L169
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 2
	add	QWORD PTR -48[rbp], rax
	add	DWORD PTR -16[rbp], 1
.L167:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L170
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	jpeg_mcu_bitblt, .-jpeg_mcu_bitblt
	.globl	jpeg_decode_mcu
	.type	jpeg_decode_mcu, @function
jpeg_decode_mcu:
.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, 576
	mov	QWORD PTR -568[rbp], rdi
	mov	QWORD PTR -576[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -560[rbp], 0
	jmp	.L172
.L177:
	mov	rax, QWORD PTR -568[rbp]
	mov	edx, DWORD PTR -560[rbp]
	movsx	rdx, edx
	add	rdx, 32
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -548[rbp], eax
	mov	rax, QWORD PTR -568[rbp]
	mov	edx, DWORD PTR -560[rbp]
	movsx	rdx, edx
	add	rdx, 32
	mov	eax, DWORD PTR 12[rax+rdx*4]
	mov	DWORD PTR -544[rbp], eax
	mov	DWORD PTR -552[rbp], 0
	jmp	.L173
.L176:
	mov	DWORD PTR -556[rbp], 0
	jmp	.L174
.L175:
	mov	rcx, QWORD PTR -576[rbp]
	lea	rdx, -528[rbp]
	mov	esi, DWORD PTR -560[rbp]
	mov	rax, QWORD PTR -568[rbp]
	mov	rdi, rax
	call	jpeg_decode_huff
	mov	DWORD PTR -540[rbp], eax
	mov	rax, QWORD PTR -568[rbp]
	lea	rdx, 23568[rax]
	lea	rcx, -272[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	jpeg_idct
	mov	rax, QWORD PTR -568[rbp]
	lea	rdx, 168[rax]
	mov	eax, DWORD PTR -560[rbp]
	sal	eax, 10
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -536[rbp], rax
	mov	rax, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR -552[rbp]
	add	edx, 1
	imul	eax, edx
	cdq
	idiv	DWORD PTR -544[rbp]
	mov	edi, eax
	mov	rax, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edx, DWORD PTR -556[rbp]
	add	edx, 1
	imul	eax, edx
	cdq
	idiv	DWORD PTR -548[rbp]
	mov	r9d, eax
	mov	rax, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, DWORD PTR -552[rbp]
	cdq
	idiv	DWORD PTR -544[rbp]
	mov	r8d, eax
	mov	rax, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR 8[rax]
	imul	eax, DWORD PTR -556[rbp]
	cdq
	idiv	DWORD PTR -548[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -568[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR -536[rbp]
	lea	rax, -272[rbp]
	push	rdi
	mov	rdi, rax
	call	jpeg_mcu_bitblt
	add	rsp, 8
	add	DWORD PTR -556[rbp], 1
.L174:
	mov	eax, DWORD PTR -556[rbp]
	cmp	eax, DWORD PTR -548[rbp]
	jl	.L175
	add	DWORD PTR -552[rbp], 1
.L173:
	mov	eax, DWORD PTR -552[rbp]
	cmp	eax, DWORD PTR -544[rbp]
	jl	.L176
	add	DWORD PTR -560[rbp], 1
.L172:
	mov	rax, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR 88[rax]
	cmp	DWORD PTR -560[rbp], eax
	jl	.L177
	nop
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L178
	call	__stack_chk_fail@PLT
.L178:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	jpeg_decode_mcu, .-jpeg_decode_mcu
	.globl	jpeg_decode_yuv
	.type	jpeg_decode_yuv, @function
jpeg_decode_yuv:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	DWORD PTR -92[rbp], r8d
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	imul	eax, DWORD PTR -76[rbp]
	sal	eax, 3
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	imul	eax, DWORD PTR -80[rbp]
	sal	eax, 3
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L180
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -56[rbp], eax
.L180:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L181
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -52[rbp], eax
.L181:
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 168
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 23564[rax]
	imul	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	and	eax, 127
	imul	eax, edx
	cdqe
	add	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 23564[rax]
	sub	eax, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -92[rbp]
	and	edx, 127
	imul	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L182
.L190:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L183
.L189:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	sal	eax, 12
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8192[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 0[0+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4096
	mov	eax, DWORD PTR [rax]
	imul	eax, eax, 7257
	add	eax, edx
	sar	eax, 12
	sub	eax, -128
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	al, 0
	test	eax, eax
	je	.L184
	mov	eax, DWORD PTR -48[rbp]
	not	eax
	sar	eax, 24
	mov	DWORD PTR -48[rbp], eax
.L184:
	mov	eax, DWORD PTR -12[rbp]
	imul	edx, eax, -2924
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sar	eax, 12
	sub	eax, -128
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	al, 0
	test	eax, eax
	je	.L185
	mov	eax, DWORD PTR -44[rbp]
	not	eax
	sar	eax, 24
	mov	DWORD PTR -44[rbp], eax
.L185:
	mov	eax, DWORD PTR -12[rbp]
	imul	edx, eax, 5742
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sar	eax, 12
	sub	eax, -128
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	al, 0
	test	eax, eax
	je	.L186
	mov	eax, DWORD PTR -40[rbp]
	not	eax
	sar	eax, 24
	mov	DWORD PTR -40[rbp], eax
.L186:
	cmp	DWORD PTR -92[rbp], 4
	jne	.L187
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 1
	mov	edx, DWORD PTR -44[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 2
	mov	edx, DWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 4
	add	QWORD PTR -88[rbp], 4
	jmp	.L188
.L187:
	cmp	DWORD PTR -92[rbp], 2
	jne	.L188
	and	DWORD PTR -40[rbp], 255
	and	DWORD PTR -44[rbp], 255
	and	DWORD PTR -48[rbp], 255
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 3
	sal	eax, 11
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	sar	eax, 2
	sal	eax, 5
	or	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	sar	eax, 3
	or	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	WORD PTR [rax], dx
	add	QWORD PTR -88[rbp], 2
.L188:
	add	DWORD PTR -64[rbp], 1
.L183:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L189
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 2
	add	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	QWORD PTR -88[rbp], rax
	add	DWORD PTR -60[rbp], 1
.L182:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L190
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	jpeg_decode_yuv, .-jpeg_decode_yuv
	.globl	jpeg_decode
	.type	jpeg_decode, @function
jpeg_decode:
.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, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -132[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -80[rbp]
	mov	DWORD PTR [rax], 268960000
	lea	rax, -80[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 167969289
	lea	rax, -80[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 421533713
	lea	rax, -80[rbp]
	add	rax, 12
	mov	DWORD PTR [rax], 84151058
	lea	rax, -80[rbp]
	add	rax, 16
	mov	DWORD PTR [rax], 555356940
	lea	rax, -80[rbp]
	add	rax, 20
	mov	DWORD PTR [rax], 573124648
	lea	rax, -80[rbp]
	add	rax, 24
	mov	DWORD PTR [rax], 101520411
	lea	rax, -80[rbp]
	add	rax, 28
	mov	DWORD PTR [rax], 471141895
	lea	rax, -80[rbp]
	add	rax, 32
	mov	DWORD PTR [rax], 942746147
	lea	rax, -80[rbp]
	add	rax, 36
	mov	DWORD PTR [rax], 606810681
	lea	rax, -80[rbp]
	add	rax, 40
	mov	DWORD PTR [rax], 386864669
	lea	rax, -80[rbp]
	add	rax, 44
	mov	DWORD PTR [rax], 858531102
	lea	rax, -80[rbp]
	add	rax, 48
	mov	DWORD PTR [rax], 758397754
	lea	rax, -80[rbp]
	add	rax, 52
	mov	DWORD PTR [rax], 774315814
	lea	rax, -80[rbp]
	add	rax, 56
	mov	DWORD PTR [rax], 909982773
	lea	rax, -80[rbp]
	add	rax, 60
	mov	DWORD PTR [rax], 1061041967
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	jpeg_decode_init
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, edx
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, DWORD PTR 8[rax]
	mov	eax, ecx
	cdq
	idiv	esi
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, edx
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	edi, DWORD PTR 12[rax]
	mov	eax, ecx
	cdq
	idiv	edi
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	jmp	.L193
.L197:
	mov	DWORD PTR -96[rbp], 0
	jmp	.L194
.L196:
	add	DWORD PTR -100[rbp], 1
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	jpeg_decode_mcu
	mov	eax, DWORD PTR -132[rbp]
	and	eax, 32767
	mov	edi, eax
	mov	rcx, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	esi, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	jpeg_decode_yuv
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 164[rax]
	test	eax, eax
	jle	.L195
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 164[rax]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L195
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 23560[rax]
	and	eax, -8
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 23560[rax], edx
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 23560[rax]
	lea	edx, -8[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 23560[rax], edx
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 16584[rax], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 16588[rax], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 16592[rax], 0
	mov	DWORD PTR -100[rbp], 0
.L195:
	add	DWORD PTR -96[rbp], 1
.L194:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L196
	add	DWORD PTR -92[rbp], 1
.L193:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L197
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L199
	call	__stack_chk_fail@PLT
.L199:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	jpeg_decode, .-jpeg_decode
	.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	"538129.c"
	.text
	.align	2
	.global	info_JPEG
	.syntax unified
	.arm
	.fpu softvfp
	.type	info_JPEG, %function
info_JPEG:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #512
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #20480
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #20480
	str	r3, [r2, #3044]
	ldr	r0, [fp, #-8]
	bl	jpeg_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L3
.L4:
	ldr	r3, [fp, #-20]
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	str	r2, [r3]
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	info_JPEG, .-info_JPEG
	.global	__aeabi_idiv
	.align	2
	.global	decode0_JPEG
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode0_JPEG, %function
decode0_JPEG:
	@ args = 8, 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #512
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #20480
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #20480
	str	r3, [r2, #3044]
	ldr	r3, [fp, #-8]
	add	r3, r3, #23296
	add	r3, r3, #244
	mov	r0, r3
	bl	jpeg_idct_init
	ldr	r0, [fp, #-8]
	bl	jpeg_init
	ldr	r3, [fp, #-28]
	and	r3, r3, #127
	mov	r1, r3
	ldr	r0, [fp, #8]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #20480
	str	r3, [r2, #3056]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #-8]
	bl	jpeg_decode
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	decode0_JPEG, .-decode0_JPEG
	.align	2
	.global	get_bits
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_bits, %function
get_bits:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3048]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3052]
	str	r3, [fp, #-8]
	b	.L8
.L13:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bcc	.L9
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	b	.L10
.L9:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #1
	ldr	r1, [fp, #-24]
	add	r1, r1, #20480
	str	r2, [r1, #3040]
	ldrb	r3, [r3]
	strb	r3, [fp, #-15]
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #255
	bne	.L11
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bcc	.L12
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	b	.L10
.L12:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
.L11:
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #8
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	orr	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	ble	.L13
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, [fp, #-12]
	lsr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	mov	r1, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, r2
	strh	r3, [fp, #-14]	@ movhi
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r3, [r2, #3052]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r3, [r2, #3048]
.L10:
	ldrh	r3, [fp, #-14]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_bits, .-get_bits
	.align	2
	.global	jpeg_sof
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_sof, %function
jpeg_sof:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L24
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-32]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	add	r2, r2, #4
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r2, r3, r2
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-32]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	add	r2, r2, #6
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r2, r3, r2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #8
	ldr	r2, [fp, #-32]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r1, [r3, #3040]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L25
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L19
.L22:
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r3, #6
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3, #1]
	strb	r3, [fp, #-21]
	ldrb	r1, [fp, #-21]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	add	r2, r2, #10
	str	r1, [r3, r2, lsl #2]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r2, r3, #15
	ldr	r1, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	and	r1, r3, #15
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	add	r2, r2, #16
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	add	r2, r2, #16
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
.L20:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #20]
.L21:
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r3, #18
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L19:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L22
	mov	r3, #0
	b	.L23
.L24:
	nop
	b	.L17
.L25:
	nop
.L17:
	ldr	r3, [fp, #-32]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	ldr	r2, [fp, #-32]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	mov	r3, #1
.L23:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	jpeg_sof, .-jpeg_sof
	.align	2
	.global	jpeg_dqt
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_dqt, %function
jpeg_dqt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #2
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L39
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	sub	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L40
	b	.L30
.L37:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #1
	ldr	r1, [fp, #-24]
	add	r1, r1, #20480
	str	r2, [r1, #3040]
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	and	r3, r3, #7
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	ldr	r3, [r3, #964]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L31
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r3, [r2, #964]
.L31:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	and	r3, r3, #248
	cmp	r3, #0
	beq	.L32
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L33
.L34:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r1, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	add	r3, r3, #4096
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r0, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L33:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L34
	ldr	r3, [fp, #-12]
	sub	r3, r3, #128
	str	r3, [fp, #-12]
	b	.L30
.L32:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L35
.L36:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #1
	ldr	r1, [fp, #-24]
	add	r1, r1, #20480
	str	r2, [r1, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r1, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	add	r3, r3, #4096
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r0, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L36
	ldr	r3, [fp, #-12]
	sub	r3, r3, #64
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L37
	mov	r3, #0
	b	.L38
.L39:
	nop
	b	.L28
.L40:
	nop
.L28:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	mov	r3, #1
.L38:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	jpeg_dqt, .-jpeg_dqt
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jpeg_dht
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_dht, %function
jpeg_dht:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #2
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L63
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-120]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	sub	r3, r3, #2
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldr	r2, [fp, #-120]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	b	.L44
.L59:
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #17
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L64
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]
	strb	r3, [fp, #-113]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	str	r3, [fp, #-88]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	and	r3, r3, #15
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	mov	r2, r3
	lsl	r2, r2, #8
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-88]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #8
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #17152
	add	r3, r3, #200
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #1
	str	r3, [fp, #-108]
	b	.L46
.L49:
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-72]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-72]
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L47
.L48:
	ldr	r3, [fp, #-100]
	add	r2, r3, #1
	str	r2, [fp, #-100]
	ldr	r2, [fp, #-108]
	and	r1, r2, #255
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #516]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L47:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-72]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L46:
	ldr	r3, [fp, #-108]
	cmp	r3, #16
	ble	.L49
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-96]
	str	r2, [r3]
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #17
	ldr	r2, [fp, #-120]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3, #516]	@ zero_extendqisi2
	str	r3, [fp, #-108]
	b	.L50
.L52:
	ldr	r2, [fp, #-112]
	add	r3, r2, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-100]
	add	r1, r3, #1
	str	r1, [fp, #-100]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	ldr	r1, [fp, #-80]
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #4
	strh	r2, [r3]	@ movhi
.L51:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	add	r3, r3, #516
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	beq	.L52
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	bge	.L65
.L53:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	add	r3, r3, #516
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	bne	.L53
.L50:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L51
	b	.L54
.L65:
	nop
.L54:
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L66
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L57
.L58:
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	add	r3, r3, #772
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L57:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L58
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r2, [r3, #3040]
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	ldr	r2, [fp, #-120]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-96]
	add	r3, r3, #18
	ldr	r2, [fp, #-92]
	sub	r3, r2, r3
	str	r3, [fp, #-92]
.L44:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bgt	.L59
	mov	r3, #0
	b	.L61
.L63:
	nop
	b	.L43
.L64:
	nop
	b	.L43
.L66:
	nop
.L43:
	ldr	r3, [fp, #-120]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	ldr	r2, [fp, #-120]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	mov	r3, #1
.L61:
	ldr	r2, .L67
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC0
	.size	jpeg_dht, .-jpeg_dht
	.align	2
	.global	jpeg_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_init, %function
jpeg_init:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #184]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #188]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #192]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #964]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #3052]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #3048]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #164]
.L89:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #2
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L91
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #255
	bne	.L92
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3, #1]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #216
	beq	.L93
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #217
	beq	.L94
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #192
	bne	.L77
	ldr	r0, [fp, #-24]
	bl	jpeg_sof
	b	.L89
.L77:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #196
	bne	.L78
	ldr	r0, [fp, #-24]
	bl	jpeg_dht
	b	.L89
.L78:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #219
	bne	.L79
	ldr	r0, [fp, #-24]
	bl	jpeg_dqt
	b	.L89
.L79:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #221
	bne	.L80
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #4
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L95
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	add	r2, r2, #3
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r2, r3, r2
	ldr	r3, [fp, #-24]
	str	r2, [r3, #164]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #4
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	b	.L89
.L80:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #218
	bne	.L82
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #3
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L96
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #88]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #88]
	lsl	r2, r2, #1
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L97
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L85
.L86:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r3, #22
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r1, r3, #15
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	add	r2, r2, #26
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L85:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L86
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	b	.L87
.L82:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	add	r2, r3, #2
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	cmp	r2, r3
	bhi	.L98
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3040]
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	ldr	r2, [r2, #3040]
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsl	r2, r2, #8
	ldr	r1, [fp, #-24]
	add	r1, r1, #20480
	ldr	r1, [r1, #3040]
	add	r1, r1, #1
	ldrb	r1, [r1]	@ zero_extendqisi2
	orr	r2, r2, r1
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	b	.L89
.L93:
	nop
	b	.L89
.L91:
	nop
	b	.L71
.L94:
	nop
	b	.L71
.L95:
	nop
	b	.L71
.L96:
	nop
	b	.L71
.L97:
	nop
	b	.L71
.L98:
	nop
.L71:
	ldr	r3, [fp, #-24]
	add	r3, r3, #20480
	ldr	r3, [r3, #3044]
	ldr	r2, [fp, #-24]
	add	r2, r2, #20480
	str	r3, [r2, #3040]
	b	.L73
.L92:
	nop
.L73:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L87:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	jpeg_init, .-jpeg_init
	.align	2
	.global	jpeg_decode_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_decode_init, %function
jpeg_decode_init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L100
.L105:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L101
.L104:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #22
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L102
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r2, r2, #32
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #16
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #34
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #18
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r2, r2, #38
	str	r1, [r3, r2, lsl #2]
	b	.L103
.L102:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L101:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L104
.L103:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L100:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L105
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L106
.L107:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r2, r2, #42
	mov	r1, #128
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L106:
	ldr	r3, [fp, #-12]
	cmp	r3, #4096
	blt	.L107
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L108
.L109:
	ldr	r3, [fp, #-16]
	add	r2, r3, #168
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #10
	lsl	r3, r3, #2
	add	r1, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4096
	add	r3, r3, #42
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L108:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L109
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	jpeg_decode_init, .-jpeg_decode_init
	.align	2
	.global	jpeg_huff_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_huff_decode, %function
jpeg_huff_decode:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	lsl	r2, r2, #8
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-36]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #8
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #17152
	add	r3, r3, #200
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L112
.L118:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	get_bits
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L113
	ldr	r3, [fp, #-8]
	b	.L114
.L113:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L115
.L117:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bne	.L116
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #772
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L114
.L116:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L115:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #516
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	beq	.L117
.L112:
	ldr	r3, [fp, #-20]
	cmp	r3, #15
	ble	.L118
	mvn	r3, #0
.L114:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	jpeg_huff_decode, .-jpeg_huff_decode
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jpeg_idct_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_idct_init, %function
jpeg_idct_init:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	str	r0, [fp, #-240]
	ldr	r3, .L138
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #32768
	str	r3, [fp, #-136]
	ldr	r3, .L138+4
	str	r3, [fp, #-132]
	ldr	r3, .L138+8
	str	r3, [fp, #-128]
	ldr	r3, .L138+12
	str	r3, [fp, #-124]
	ldr	r3, .L138+16
	str	r3, [fp, #-120]
	ldr	r3, .L138+20
	str	r3, [fp, #-116]
	ldr	r3, .L138+24
	str	r3, [fp, #-112]
	ldr	r3, .L138+28
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r3, .L138+32
	str	r3, [fp, #-100]
	ldr	r3, .L138+36
	str	r3, [fp, #-96]
	ldr	r3, .L138+40
	str	r3, [fp, #-92]
	ldr	r3, .L138+44
	str	r3, [fp, #-88]
	ldr	r3, .L138+48
	str	r3, [fp, #-84]
	ldr	r3, .L138+52
	str	r3, [fp, #-80]
	ldr	r3, .L138+56
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-232]
	b	.L120
.L121:
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-232]
	add	r3, r3, #16
	rsb	r2, r2, #0
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-132]
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L120:
	ldr	r3, [fp, #-232]
	cmp	r3, #15
	ble	.L121
	mov	r3, #0
	str	r3, [fp, #-232]
	b	.L122
.L135:
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #1
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L123
	mov	r3, #4
	str	r3, [fp, #-216]
.L123:
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L124
.L125:
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-196]
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	and	r3, r3, #31
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L124:
	ldr	r3, [fp, #-224]
	cmp	r3, #7
	ble	.L125
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L126
.L134:
	ldr	r3, [fp, #-228]
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #1
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	bne	.L127
	mov	r3, #4
	str	r3, [fp, #-212]
.L127:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L128
.L129:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-164]
	ldr	r2, [fp, #-212]
	ldr	r3, [fp, #-204]
	add	r3, r2, r3
	and	r3, r3, #31
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L128:
	ldr	r3, [fp, #-220]
	cmp	r3, #7
	ble	.L129
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L130
.L133:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L131
.L132:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-196]
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-164]
	mul	r1, r3, r2
	ldr	r3, [fp, #-232]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-228]
	add	r3, r2, r3
	lsl	r3, r3, #8
	ldr	r2, [fp, #-240]
	add	r3, r2, r3
	ldr	r2, [fp, #-224]
	lsl	r0, r2, #3
	ldr	r2, [fp, #-220]
	add	r2, r0, r2
	asr	r1, r1, #15
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L131:
	ldr	r3, [fp, #-220]
	cmp	r3, #7
	ble	.L132
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L130:
	ldr	r3, [fp, #-224]
	cmp	r3, #7
	ble	.L133
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L126:
	ldr	r3, [fp, #-228]
	cmp	r3, #7
	ble	.L134
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L122:
	ldr	r3, [fp, #-232]
	cmp	r3, #7
	ble	.L135
	nop
	ldr	r3, .L138
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L137
	bl	__stack_chk_fail
.L137:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L139:
	.align	2
.L138:
	.word	.LC1
	.word	32138
	.word	30274
	.word	27246
	.word	23170
	.word	18205
	.word	12540
	.word	6393
	.word	-6393
	.word	-12540
	.word	-18205
	.word	-23170
	.word	-27246
	.word	-30274
	.word	-32138
	.size	jpeg_idct_init, .-jpeg_idct_init
	.align	2
	.global	jpeg_idct
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_idct, %function
jpeg_idct:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L141
.L142:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L141:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L142
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L143
.L147:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L144
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L145
.L146:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-8]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-28]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L145:
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	ble	.L146
.L144:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L143:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L147
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L148
.L149:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	asr	r2, r2, #17
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L148:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	ble	.L149
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	jpeg_idct, .-jpeg_idct
	.align	2
	.global	jpeg_get_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_get_value, %function
jpeg_get_value:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L152
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	get_bits
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L153
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #0
	orr	r3, r3, #65536
	str	r3, [fp, #-8]
	b	.L152
.L153:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L152
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L152:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	jpeg_get_value, .-jpeg_get_value
	.align	2
	.global	jpeg_decode_huff
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_decode_huff, %function
jpeg_decode_huff:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	add	r2, r2, #38
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #8
	add	r3, r3, #16384
	add	r3, r3, #192
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	jpeg_huff_decode
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L156
	mov	r3, #0
	b	.L157
.L156:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	jpeg_get_value
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4096
	add	r3, r3, #46
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r1, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4096
	add	r3, r3, #46
	str	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4096
	add	r3, r3, #46
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L158
.L165:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	add	r2, r2, #26
	ldr	r3, [r3, r2, lsl #2]
	mov	r2, r3
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	jpeg_huff_decode
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L168
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L169
	ldr	r3, [fp, #-12]
	asr	r3, r3, #4
	and	r3, r3, #15
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	and	r3, r3, #15
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	jpeg_get_value
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #65536
	blt	.L163
	ldr	r3, [fp, #-8]
	b	.L157
.L164:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L163:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bgt	.L164
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-44]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-8]
	mul	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L158:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L165
	b	.L166
.L168:
	nop
	b	.L166
.L169:
	nop
	b	.L166
.L167:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L166:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L167
	mov	r3, #0
.L157:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	jpeg_decode_huff, .-jpeg_decode_huff
	.align	2
	.global	jpeg_mcu_bitblt
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_mcu_bitblt, %function
jpeg_mcu_bitblt:
	@ args = 12, 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #12]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L171
.L174:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L172
.L173:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r1, r3, #4
	str	r1, [fp, #-36]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L172:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L173
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L171:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L174
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	jpeg_mcu_bitblt, .-jpeg_mcu_bitblt
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jpeg_decode_mcu
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_decode_mcu, %function
jpeg_decode_mcu:
	@ args = 0, pretend = 0, frame = 552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #568
	str	r0, [fp, #-568]
	str	r1, [fp, #-572]
	ldr	r3, .L183
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-564]
	b	.L176
.L181:
	ldr	r3, [fp, #-568]
	ldr	r2, [fp, #-564]
	add	r2, r2, #32
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-552]
	ldr	r2, [fp, #-568]
	ldr	r3, [fp, #-564]
	add	r3, r3, #34
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-548]
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L177
.L180:
	mov	r3, #0
	str	r3, [fp, #-560]
	b	.L178
.L179:
	sub	r2, fp, #536
	ldr	r3, [fp, #-572]
	ldr	r1, [fp, #-564]
	ldr	r0, [fp, #-568]
	bl	jpeg_decode_huff
	str	r0, [fp, #-544]
	ldr	r3, [fp, #-568]
	add	r3, r3, #23296
	add	r3, r3, #244
	sub	r1, fp, #280
	sub	r0, fp, #536
	mov	r2, r3
	bl	jpeg_idct
	ldr	r3, [fp, #-568]
	add	r2, r3, #168
	ldr	r3, [fp, #-564]
	lsl	r3, r3, #10
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-568]
	ldr	r4, [r3, #8]
	ldr	r3, [fp, #-568]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-560]
	mul	r3, r2, r3
	ldr	r1, [fp, #-552]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r7, r3
	ldr	r3, [fp, #-568]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-556]
	mul	r3, r2, r3
	ldr	r1, [fp, #-548]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-568]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-560]
	add	r2, r2, #1
	mul	r3, r2, r3
	ldr	r1, [fp, #-552]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r6, r3
	ldr	r3, [fp, #-568]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-556]
	add	r2, r2, #1
	mul	r3, r2, r3
	ldr	r1, [fp, #-548]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	sub	r0, fp, #280
	str	r3, [sp, #8]
	str	r6, [sp, #4]
	str	r5, [sp]
	mov	r3, r7
	mov	r2, r4
	ldr	r1, [fp, #-540]
	bl	jpeg_mcu_bitblt
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
.L178:
	ldr	r2, [fp, #-560]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L179
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L177:
	ldr	r2, [fp, #-556]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L180
	ldr	r3, [fp, #-564]
	add	r3, r3, #1
	str	r3, [fp, #-564]
.L176:
	ldr	r3, [fp, #-568]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-564]
	cmp	r2, r3
	blt	.L181
	nop
	ldr	r2, .L183
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L182
	bl	__stack_chk_fail
.L182:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L184:
	.align	2
.L183:
	.word	.LC2
	.size	jpeg_decode_mcu, .-jpeg_decode_mcu
	.align	2
	.global	jpeg_decode_yuv
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_decode_yuv, %function
jpeg_decode_yuv:
	@ args = 4, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #84
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-76]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-80]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L186
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-56]
.L186:
	ldr	r3, [fp, #-72]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L187
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-52]
.L187:
	ldr	r3, [fp, #-72]
	add	r3, r3, #168
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-72]
	add	r3, r3, #20480
	ldr	r3, [r3, #3056]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	and	r2, r2, #127
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-84]
	add	r3, r3, r2
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-72]
	add	r3, r3, #20480
	ldr	r2, [r3, #3056]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	ldr	r2, [fp, #4]
	and	r2, r2, #127
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L188
.L196:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L189
.L195:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	lsl	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8192
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	sub	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, #4096
	ldr	r3, [r3]
	ldr	r1, .L198
	mul	r3, r1, r3
	add	r3, r2, r3
	asr	r3, r3, #12
	add	r3, r3, #128
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	bic	r3, r3, #255
	cmp	r3, #0
	beq	.L190
	ldr	r3, [fp, #-44]
	mvn	r3, r3
	asr	r3, r3, #24
	str	r3, [fp, #-44]
.L190:
	ldr	r3, [fp, #-8]
	ldr	r2, .L198+4
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	asr	r3, r3, #12
	add	r3, r3, #128
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	bic	r3, r3, #255
	cmp	r3, #0
	beq	.L191
	ldr	r3, [fp, #-40]
	mvn	r3, r3
	asr	r3, r3, #24
	str	r3, [fp, #-40]
.L191:
	ldr	r3, [fp, #-8]
	ldr	r2, .L198+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	asr	r3, r3, #12
	add	r3, r3, #128
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	bic	r3, r3, #255
	cmp	r3, #0
	beq	.L192
	ldr	r3, [fp, #-36]
	mvn	r3, r3
	asr	r3, r3, #24
	str	r3, [fp, #-36]
.L192:
	ldr	r3, [fp, #4]
	cmp	r3, #4
	bne	.L193
	ldr	r3, [fp, #-44]
	and	r2, r3, #255
	ldr	r3, [fp, #-84]
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	ldr	r2, [fp, #-40]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	ldr	r2, [fp, #-36]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #4
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	str	r3, [fp, #-84]
	b	.L194
.L193:
	ldr	r3, [fp, #4]
	cmp	r3, #2
	bne	.L194
	ldr	r3, [fp, #-36]
	and	r3, r3, #255
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	and	r3, r3, #255
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	and	r3, r3, #255
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	asr	r3, r3, #3
	lsl	r3, r3, #11
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-40]
	asr	r3, r3, #2
	lsl	r3, r3, #5
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-44]
	asr	r3, r3, #3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-84]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	str	r3, [fp, #-84]
.L194:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L189:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L195
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L188:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L196
	nop
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L199:
	.align	2
.L198:
	.word	7257
	.word	-2924
	.word	5742
	.size	jpeg_decode_yuv, .-jpeg_decode_yuv
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jpeg_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_decode, %function
jpeg_decode:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	ldr	r3, .L208
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #72
	ldr	r2, .L208+4
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #4
	ldr	r2, .L208+8
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #8
	ldr	r2, .L208+12
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #12
	ldr	r2, .L208+16
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #16
	ldr	r2, .L208+20
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #20
	ldr	r2, .L208+24
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #24
	ldr	r2, .L208+28
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #28
	ldr	r2, .L208+32
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #32
	ldr	r2, .L208+36
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #36
	ldr	r2, .L208+40
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #40
	ldr	r2, .L208+44
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #44
	ldr	r2, .L208+48
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #48
	ldr	r2, .L208+52
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #52
	ldr	r2, .L208+56
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #56
	ldr	r2, .L208+60
	str	r2, [r3]
	sub	r3, fp, #72
	add	r3, r3, #60
	ldr	r2, .L208+64
	str	r2, [r3]
	ldr	r0, [fp, #-96]
	bl	jpeg_decode_init
	ldr	r3, [fp, #-96]
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #8]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #8]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #12]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L201
.L205:
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L202
.L204:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, [fp, #-96]
	bl	jpeg_decode_mcu
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #17
	lsr	r3, r3, #17
	str	r3, [sp]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-96]
	bl	jpeg_decode_yuv
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #164]
	cmp	r3, #0
	ble	.L203
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #164]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L203
	ldr	r3, [fp, #-96]
	add	r3, r3, #20480
	ldr	r3, [r3, #3052]
	bic	r3, r3, #7
	ldr	r2, [fp, #-96]
	add	r2, r2, #20480
	str	r3, [r2, #3052]
	ldr	r3, [fp, #-96]
	add	r3, r3, #20480
	ldr	r3, [r3, #3052]
	sub	r3, r3, #8
	ldr	r2, [fp, #-96]
	add	r2, r2, #20480
	str	r3, [r2, #3052]
	ldr	r3, [fp, #-96]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #184]
	ldr	r3, [fp, #-96]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #188]
	ldr	r3, [fp, #-96]
	add	r3, r3, #16384
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #192]
	mov	r3, #0
	str	r3, [fp, #-92]
.L203:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L202:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L204
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L201:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L205
	nop
	ldr	r3, .L208
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L207
	bl	__stack_chk_fail
.L207:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L209:
	.align	2
.L208:
	.word	.LC3
	.word	268960000
	.word	167969289
	.word	421533713
	.word	84151058
	.word	555356940
	.word	573124648
	.word	101520411
	.word	471141895
	.word	942746147
	.word	606810681
	.word	386864669
	.word	858531102
	.word	758397754
	.word	774315814
	.word	909982773
	.word	1061041967
	.size	jpeg_decode, .-jpeg_decode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
