	.file	"extr_rcar_jpu.c_jpu_device_run.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"src and dst formats do not match.\n"
	.text
	.p2align 4
	.type	jpu_device_run, @function
jpu_device_run:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r12, QWORD PTR [rdi]
	mov	rdi, r12
	call	jpu_wait_reset@PLT
	mov	esi, 1
	test	rax, rax
	jne	.L15
	mov	rdi, QWORD PTR 0[rbp]
	xor	esi, esi
	call	spin_lock_irqsave@PLT
	mov	QWORD PTR 8[r12], rbp
	mov	edi, DWORD PTR 72[rbp]
	call	v4l2_m2m_next_src_buf@PLT
	mov	edi, DWORD PTR 72[rbp]
	mov	r14, rax
	call	v4l2_m2m_next_dst_buf@PLT
	cmp	QWORD PTR 16[rbp], 0
	mov	r13, rax
	jne	.L17
	mov	rdi, r14
	call	vb2_to_jpu_buffer@PLT
	lea	rdx, 24[rbp]
	mov	rcx, rax
.L4:
	mov	rax, QWORD PTR 16[rdx]
	cmp	QWORD PTR 16[rbp], 0
	mov	r15d, DWORD PTR 8[rdx]
	mov	ebx, DWORD PTR 12[rdx]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 24[rsp], eax
	mov	rax, QWORD PTR [rdx]
	movzx	r8d, BYTE PTR 1[rax]
	jne	.L18
	cmp	BYTE PTR [rcx], r8b
	je	.L11
	mov	rax, QWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR 4[rax]
	call	dev_err@PLT
	mov	rdi, QWORD PTR 0[rbp]
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	xor	esi, esi
.L15:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	jpu_cleanup@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rax
	call	vb2_to_jpu_buffer@PLT
	lea	rdx, 48[rbp]
	mov	rcx, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	xor	esi, esi
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rdx
	call	vb2_dma_contig_plane_dma_addr@PLT
	xor	esi, esi
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	vb2_dma_contig_plane_dma_addr@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	r14, rax
	mov	rax, QWORD PTR [rdx]
	cmp	BYTE PTR [rax], 1
	ja	.L19
	imul	r15d, ebx
	add	r15, r14
.L13:
	mov	edx, DWORD PTR JCMOD[rip]
	mov	esi, DWORD PTR JCMOD_DSP_DEC[rip]
	mov	rdi, r12
	or	esi, DWORD PTR JCMOD_PCTR[rip]
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFECNT[rip]
	mov	esi, DWORD PTR JIFECNT_SWAP_WB[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDCNT[rip]
	mov	esi, DWORD PTR JIFDCNT_SWAP_WB[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JINTE[rip]
	mov	esi, DWORD PTR JINTE_TRANSF_COMPL[rip]
	mov	rdi, r12
	or	esi, DWORD PTR JINTE_ERR[rip]
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDSA1[rip]
	mov	esi, DWORD PTR [rsp]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDDYA1[rip]
	mov	esi, r14d
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDDCA1[rip]
	mov	esi, r15d
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDDMW[rip]
	mov	esi, DWORD PTR 24[rsp]
	mov	rdi, r12
	call	jpu_write@PLT
.L10:
	mov	esi, DWORD PTR JCCMD_JSRT[rip]
	mov	edx, DWORD PTR JCCMD[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	rdi, QWORD PTR 0[rbp]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	movzx	eax, BYTE PTR [rax]
	xor	esi, esi
	mov	rdi, r13
	mov	BYTE PTR 31[rsp], r8b
	mov	QWORD PTR 16[rsp], rcx
	mov	BYTE PTR [rsp], al
	call	vb2_dma_contig_plane_dma_addr@PLT
	xor	esi, esi
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rax
	call	vb2_dma_contig_plane_dma_addr@PLT
	cmp	BYTE PTR [rsp], 1
	mov	rcx, QWORD PTR 16[rsp]
	movzx	r8d, BYTE PTR 31[rsp]
	mov	r13, rax
	ja	.L20
	mov	r14d, r15d
	imul	r14d, ebx
	lea	rax, [r14+rax]
	mov	QWORD PTR [rsp], rax
.L7:
	mov	eax, DWORD PTR 8[rbp]
	cmp	BYTE PTR JPU_JPEG_420[rip], r8b
	mov	DWORD PTR 4[rcx], eax
	je	.L21
	mov	eax, DWORD PTR JCMOD_REDU_422[rip]
	mov	r14d, DWORD PTR JIFECNT_INFT_422[rip]
.L9:
	mov	esi, DWORD PTR JCMOD_DSP_ENC[rip]
	mov	edx, DWORD PTR JCMOD[rip]
	mov	rdi, r12
	or	esi, DWORD PTR JCMOD_PCTR[rip]
	or	esi, DWORD PTR JCMOD_MSKIP_ENABLE[rip]
	or	esi, eax
	call	jpu_write@PLT
	mov	esi, DWORD PTR JIFECNT_SWAP_WB[rip]
	mov	edx, DWORD PTR JIFECNT[rip]
	mov	rdi, r12
	or	esi, r14d
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFDCNT[rip]
	mov	esi, DWORD PTR JIFDCNT_SWAP_WB[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JINTE[rip]
	mov	esi, DWORD PTR JINTE_TRANSF_COMPL[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFESYA1[rip]
	mov	esi, r13d
	mov	rdi, r12
	call	jpu_write@PLT
	mov	esi, DWORD PTR [rsp]
	mov	edx, DWORD PTR JIFESCA1[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	esi, DWORD PTR 24[rsp]
	mov	edx, DWORD PTR JIFESMW[rip]
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JCHSZU[rip]
	mov	esi, r15d
	mov	rdi, r12
	shr	esi, 8
	and	esi, DWORD PTR JCSZ_MASK[rip]
	call	jpu_write@PLT
	mov	esi, DWORD PTR JCSZ_MASK[rip]
	mov	edx, DWORD PTR JCHSZD[rip]
	mov	rdi, r12
	and	esi, r15d
	call	jpu_write@PLT
	mov	edx, DWORD PTR JCVSZU[rip]
	mov	esi, ebx
	mov	rdi, r12
	shr	esi, 8
	and	esi, DWORD PTR JCSZ_MASK[rip]
	call	jpu_write@PLT
	mov	esi, DWORD PTR JCSZ_MASK[rip]
	mov	edx, DWORD PTR JCVSZD[rip]
	mov	rdi, r12
	and	esi, ebx
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFESHSZ[rip]
	mov	esi, r15d
	mov	rdi, r12
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFESVSZ[rip]
	mov	esi, ebx
	mov	rdi, r12
	mov	ebx, 1
	call	jpu_write@PLT
	mov	edx, DWORD PTR JIFEDA1[rip]
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, r12
	add	esi, DWORD PTR JPU_JPEG_HDR_SIZE[rip]
	call	jpu_write@PLT
	mov	edi, 1
	mov	r14d, DWORD PTR JCQTN[rip]
	call	JCQTN_SHIFT@PLT
	mov	edi, 2
	call	JCQTN_SHIFT@PLT
	mov	edi, 3
	mov	r13d, eax
	call	JCQTN_SHIFT@PLT
	mov	esi, ebx
	mov	edx, r14d
	mov	rdi, r12
	mov	ecx, eax
	sal	esi, cl
	bts	esi, r13d
	call	jpu_write@PLT
	mov	edi, 1
	mov	r14d, DWORD PTR JCHTN[rip]
	call	JCHTN_AC_SHIFT@PLT
	mov	edi, 1
	call	JCHTN_DC_SHIFT@PLT
	mov	edi, 2
	call	JCHTN_AC_SHIFT@PLT
	mov	edi, 2
	mov	r13d, eax
	call	JCHTN_DC_SHIFT@PLT
	mov	esi, ebx
	mov	edi, 3
	mov	ecx, eax
	sal	esi, cl
	bts	esi, r13d
	mov	r13d, esi
	call	JCHTN_AC_SHIFT@PLT
	mov	esi, ebx
	mov	edi, 3
	mov	ecx, eax
	sal	esi, cl
	or	r13d, esi
	call	JCHTN_DC_SHIFT@PLT
	mov	edx, r14d
	mov	rdi, r12
	mov	ecx, eax
	sal	ebx, cl
	mov	esi, ebx
	or	esi, r13d
	call	jpu_write@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, r12
	call	jpu_set_qtbl@PLT
	mov	rdi, r12
	call	jpu_set_htbl@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, 1
	mov	rdi, r13
	call	vb2_dma_contig_plane_dma_addr@PLT
	mov	r15, rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L20:
	mov	esi, 1
	mov	rdi, r14
	call	vb2_dma_contig_plane_dma_addr@PLT
	mov	rcx, QWORD PTR 16[rsp]
	movzx	r8d, BYTE PTR 31[rsp]
	mov	QWORD PTR [rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR JCMOD_REDU_420[rip]
	mov	r14d, DWORD PTR JIFECNT_INFT_420[rip]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	jpu_device_run, .-jpu_device_run
	.comm	JPU_JPEG_HDR_SIZE,8,8
	.comm	JPU_JPEG_420,1,1
	.comm	JINTE_TRANSF_COMPL,4,4
	.comm	JINTE_ERR,4,4
	.comm	JINTE,4,4
	.comm	JIFESYA1,4,4
	.comm	JIFESVSZ,4,4
	.comm	JIFESMW,4,4
	.comm	JIFESHSZ,4,4
	.comm	JIFESCA1,4,4
	.comm	JIFEDA1,4,4
	.comm	JIFECNT_SWAP_WB,4,4
	.comm	JIFECNT_INFT_422,4,4
	.comm	JIFECNT_INFT_420,4,4
	.comm	JIFECNT,4,4
	.comm	JIFDSA1,4,4
	.comm	JIFDDYA1,4,4
	.comm	JIFDDMW,4,4
	.comm	JIFDDCA1,4,4
	.comm	JIFDCNT_SWAP_WB,4,4
	.comm	JIFDCNT,4,4
	.comm	JCVSZU,4,4
	.comm	JCVSZD,4,4
	.comm	JCSZ_MASK,4,4
	.comm	JCQTN,4,4
	.comm	JCMOD_REDU_422,4,4
	.comm	JCMOD_REDU_420,4,4
	.comm	JCMOD_PCTR,4,4
	.comm	JCMOD_MSKIP_ENABLE,4,4
	.comm	JCMOD_DSP_ENC,4,4
	.comm	JCMOD_DSP_DEC,4,4
	.comm	JCMOD,4,4
	.comm	JCHTN,4,4
	.comm	JCHSZU,4,4
	.comm	JCHSZD,4,4
	.comm	JCCMD_JSRT,4,4
	.comm	JCCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rcar_jpu.c_jpu_device_run.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"src and dst formats do not match.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpu_device_run, %function
jpu_device_run:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r0]
	mov	r4, r0
	sub	sp, sp, #12
	mov	r0, r5
	bl	jpu_wait_reset
	cmp	r0, #0
	movne	r0, r4
	movne	r1, #1
	bne	.L15
	mov	r1, #0
	ldr	r0, [r4]
	bl	spin_lock_irqsave
	ldr	r0, [r4, #44]
	str	r4, [r5, #8]
	bl	v4l2_m2m_next_src_buf
	mov	r7, r0
	ldr	r0, [r4, #44]
	bl	v4l2_m2m_next_dst_buf
	ldr	r3, [r4, #8]
	mov	r8, r0
	cmp	r3, #0
	bne	.L17
	mov	r0, r7
	bl	vb2_to_jpu_buffer
	mov	r3, r0
	add	r6, r4, #12
.L4:
	ldr	r1, [r6, #12]
	ldr	ip, [r6]
	ldr	r2, [r4, #8]
	ldr	fp, [r1]
	ldrb	r1, [ip, #1]	@ zero_extendqisi2
	cmp	r2, #0
	str	r1, [sp]
	ldmib	r6, {r9, r10}
	bne	.L18
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [sp]
	cmp	r3, r1
	beq	.L11
	ldr	r3, [r4]
	ldr	r1, .L21
	ldr	r0, [r3, #4]
	str	r2, [sp]
	bl	dev_err
	mov	r1, #0
	ldr	r0, [r4]
	bl	spin_unlock_irqrestore
	ldr	r2, [sp]
	mov	r0, r4
	mov	r1, r2
.L15:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	jpu_cleanup
.L17:
	bl	vb2_to_jpu_buffer
	add	r6, r4, #28
	mov	r3, r0
	b	.L4
.L11:
	mov	r1, r2
	mov	r0, r7
	str	r2, [sp]
	bl	vb2_dma_contig_plane_dma_addr
	ldr	r2, [sp]
	mov	r7, r0
	mov	r1, r2
	mov	r0, r8
	bl	vb2_dma_contig_plane_dma_addr
	ldr	r3, [r6]
	mov	r6, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bhi	.L19
	mla	r9, r10, r9, r0
.L13:
	ldr	r2, .L21+4
	ldr	r3, .L21+8
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L21+12
	orr	r1, r1, r2
	mov	r0, r5
	ldr	r2, [r3]
	bl	jpu_write
	ldr	r3, .L21+16
	ldr	r2, .L21+20
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+24
	ldr	r2, .L21+28
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	jpu_write
	ldr	r2, .L21+32
	ldr	r3, .L21+36
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L21+40
	orr	r1, r1, r2
	mov	r0, r5
	ldr	r2, [r3]
	bl	jpu_write
	ldr	r3, .L21+44
	mov	r1, r7
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+48
	mov	r1, r6
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+52
	mov	r1, r9
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+56
	mov	r1, fp
	mov	r0, r5
	ldr	r2, [r3]
	bl	jpu_write
.L10:
	ldr	r3, .L21+60
	ldr	r2, .L21+64
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r2, [r2]
	bl	jpu_write
	mov	r1, #0
	ldr	r0, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	spin_unlock_irqrestore
.L18:
	mov	r0, r8
	mov	r1, #0
	ldrb	r6, [ip]	@ zero_extendqisi2
	str	r3, [sp, #4]
	bl	vb2_dma_contig_plane_dma_addr
	mov	r1, #0
	mov	r8, r0
	mov	r0, r7
	bl	vb2_dma_contig_plane_dma_addr
	cmp	r6, #1
	ldr	r3, [sp, #4]
	mov	r6, r0
	bhi	.L20
	mla	r7, r10, r9, r0
.L7:
	ldr	r1, [r4, #4]
	ldr	r2, .L21+68
	str	r1, [r3, #4]
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldr	r3, [sp]
	ldr	r0, .L21+8
	cmp	r2, r3
	ldreq	r2, .L21+72
	ldrne	r2, .L21+76
	ldr	ip, .L21+80
	ldr	r1, [r2]
	ldr	r2, .L21+84
	ldr	r0, [r0]
	ldr	r2, [r2]
	ldreq	r3, .L21+88
	ldrne	r3, .L21+92
	ldr	ip, [ip]
	orr	r2, r2, r0
	ldr	r0, .L21+12
	orr	r2, r2, ip
	ldr	r3, [r3]
	orr	r1, r2, r1
	ldr	r2, [r0]
	mov	r0, r5
	str	r3, [sp]
	bl	jpu_write
	ldr	r1, .L21+16
	ldr	r3, [sp]
	ldr	r1, [r1]
	ldr	r2, .L21+20
	orr	r1, r3, r1
	mov	r0, r5
	ldr	r2, [r2]
	bl	jpu_write
	ldr	r3, .L21+24
	ldr	r2, .L21+28
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r2, [r2]
	bl	jpu_write
	ldr	r3, .L21+32
	ldr	r2, .L21+40
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r2, [r2]
	bl	jpu_write
	ldr	r3, .L21+96
	mov	r1, r6
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+100
	mov	r1, r7
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+104
	ldr	r6, .L21+108
	mov	r1, fp
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r1, [r6]
	ldr	r3, .L21+112
	and	r1, r1, r9, lsr #8
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r1, [r6]
	ldr	r3, .L21+116
	and	r1, r1, r9
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r1, [r6]
	ldr	r3, .L21+120
	and	r1, r1, r10, lsr #8
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r1, [r6]
	ldr	r3, .L21+124
	and	r1, r1, r10
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+128
	mov	r1, r9
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r3, .L21+132
	mov	r1, r10
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	ldr	r2, .L21+136
	ldr	r3, .L21+140
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, [r3]
	add	r1, r8, r1
	bl	jpu_write
	mov	r0, #1
	bl	JCQTN_SHIFT
	mov	r0, #2
	bl	JCQTN_SHIFT
	mov	r7, r0
	mov	r0, #3
	mov	r6, #1
	bl	JCQTN_SHIFT
	ldr	r2, .L21+144
	lsl	r1, r6, r0
	orr	r1, r1, r6, lsl r7
	ldr	r2, [r2]
	mov	r0, r5
	bl	jpu_write
	mov	r0, r6
	bl	JCHTN_AC_SHIFT
	mov	r0, r6
	bl	JCHTN_DC_SHIFT
	mov	r0, #2
	bl	JCHTN_AC_SHIFT
	mov	r8, r0
	mov	r0, #2
	bl	JCHTN_DC_SHIFT
	mov	r7, r0
	mov	r0, #3
	bl	JCHTN_AC_SHIFT
	mov	r1, r0
	lsl	r7, r6, r7
	orr	r7, r7, r6, lsl r8
	mov	r0, #3
	orr	r7, r7, r6, lsl r1
	bl	JCHTN_DC_SHIFT
	ldr	r3, .L21+148
	orr	r1, r7, r6, lsl r0
	ldr	r2, [r3]
	mov	r0, r5
	bl	jpu_write
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	jpu_set_qtbl
	mov	r0, r5
	bl	jpu_set_htbl
	b	.L10
.L19:
	mov	r0, r8
	mov	r1, #1
	bl	vb2_dma_contig_plane_dma_addr
	mov	r9, r0
	b	.L13
.L20:
	mov	r0, r7
	mov	r1, #1
	bl	vb2_dma_contig_plane_dma_addr
	ldr	r3, [sp, #4]
	mov	r7, r0
	b	.L7
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	JCMOD_DSP_DEC
	.word	JCMOD_PCTR
	.word	JCMOD
	.word	JIFECNT_SWAP_WB
	.word	JIFECNT
	.word	JIFDCNT_SWAP_WB
	.word	JIFDCNT
	.word	JINTE_TRANSF_COMPL
	.word	JINTE_ERR
	.word	JINTE
	.word	JIFDSA1
	.word	JIFDDYA1
	.word	JIFDDCA1
	.word	JIFDDMW
	.word	JCCMD_JSRT
	.word	JCCMD
	.word	JPU_JPEG_420
	.word	JCMOD_REDU_420
	.word	JCMOD_REDU_422
	.word	JCMOD_MSKIP_ENABLE
	.word	JCMOD_DSP_ENC
	.word	JIFECNT_INFT_420
	.word	JIFECNT_INFT_422
	.word	JIFESYA1
	.word	JIFESCA1
	.word	JIFESMW
	.word	JCSZ_MASK
	.word	JCHSZU
	.word	JCHSZD
	.word	JCVSZU
	.word	JCVSZD
	.word	JIFESHSZ
	.word	JIFESVSZ
	.word	JPU_JPEG_HDR_SIZE
	.word	JIFEDA1
	.word	JCQTN
	.word	JCHTN
	.size	jpu_device_run, .-jpu_device_run
	.comm	JPU_JPEG_HDR_SIZE,4,4
	.comm	JPU_JPEG_420,1,1
	.comm	JINTE_TRANSF_COMPL,4,4
	.comm	JINTE_ERR,4,4
	.comm	JINTE,4,4
	.comm	JIFESYA1,4,4
	.comm	JIFESVSZ,4,4
	.comm	JIFESMW,4,4
	.comm	JIFESHSZ,4,4
	.comm	JIFESCA1,4,4
	.comm	JIFEDA1,4,4
	.comm	JIFECNT_SWAP_WB,4,4
	.comm	JIFECNT_INFT_422,4,4
	.comm	JIFECNT_INFT_420,4,4
	.comm	JIFECNT,4,4
	.comm	JIFDSA1,4,4
	.comm	JIFDDYA1,4,4
	.comm	JIFDDMW,4,4
	.comm	JIFDDCA1,4,4
	.comm	JIFDCNT_SWAP_WB,4,4
	.comm	JIFDCNT,4,4
	.comm	JCVSZU,4,4
	.comm	JCVSZD,4,4
	.comm	JCSZ_MASK,4,4
	.comm	JCQTN,4,4
	.comm	JCMOD_REDU_422,4,4
	.comm	JCMOD_REDU_420,4,4
	.comm	JCMOD_PCTR,4,4
	.comm	JCMOD_MSKIP_ENABLE,4,4
	.comm	JCMOD_DSP_ENC,4,4
	.comm	JCMOD_DSP_DEC,4,4
	.comm	JCMOD,4,4
	.comm	JCHTN,4,4
	.comm	JCHSZU,4,4
	.comm	JCHSZD,4,4
	.comm	JCCMD_JSRT,4,4
	.comm	JCCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
