	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos4_jpeg_parse_q_tbl
_exynos4_jpeg_parse_q_tbl:              ## @exynos4_jpeg_parse_q_tbl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	24(%rdi), %edi
	callq	_v4l2_m2m_next_src_buf
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%rax,%r14,4), %eax
	movl	%eax, -72(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_vb2_plane_vaddr
	movq	16(%rbx), %rcx
	addq	(%rcx,%r14,8), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -68(%rbp)
	cmpl	$65, -72(%rbp)
	jl	LBB0_3
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	leaq	-72(%rbp), %rdi
	callq	_get_byte
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	testb	$-16, -44(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	andb	$15, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=3
	addl	$8, %r15d
	movl	%r14d, %r13d
	movl	%r12d, %ebx
	cmpl	$64, %r12d
	je	LBB0_5
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	-72(%rbp), %rdi
	callq	_get_byte
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	%eax, %r14d
	movl	%r15d, %ecx
	andb	$24, %cl
	shll	%cl, %r14d
	orl	%r13d, %r14d
	leal	1(%rbx), %r12d
	testb	$3, %r12b
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	andl	$2147483644, %ebx               ## imm = 0x7FFFFFFC
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rbx
	movzbl	-44(%rbp), %edi                 ## 1-byte Folded Reload
	callq	_EXYNOS4_QTBL_CONTENT
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	-72(%rbp), %eax
	subl	-68(%rbp), %eax
	cmpl	$65, %eax
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movq	%rdx, %rcx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rdx
	jl	LBB0_2
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_exynos4_jpeg_parse_q_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos4_jpeg_parse_q_tbl
_exynos4_jpeg_parse_q_tbl:              ; @exynos4_jpeg_parse_q_tbl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x23, [x0, #32]
	ldr	w0, [x0, #24]
	bl	_v4l2_m2m_next_src_buf
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x20, x0
	mov	x24, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x24, lsl #2]
	str	w8, [sp]
	mov	x0, x20
	mov	w1, #0
	bl	_vb2_plane_vaddr
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x24, lsl #3]
	add	x8, x8, x0
	str	x8, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w8, [sp]
	cmp	w8, #65
	b.lt	LBB0_10
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
	mov	x0, sp
	bl	_get_byte
	cmn	w0, #1
	and	w8, w0, #0xf0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	w25, #0
	mov	w22, #0
	mov	w26, #0
	and	w21, w0, #0xf
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=3
	add	w25, w25, #8
	mov	x26, x27
	cmp	w27, #64
	b.eq	LBB0_9
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, sp
	bl	_get_byte
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=3
	and	w8, w25, #0x18
	lsl	w8, w0, w8
	orr	w22, w8, w22
	add	w27, w26, #1
	tst	w27, #0x3
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=3
	ldr	x28, [x23]
	mov	x0, x21
	bl	_EXYNOS4_QTBL_CONTENT
	and	w8, w26, #0x7ffffffc
	add	x8, x28, x8
	add	x1, x8, x0
	mov	x0, x22
	bl	_writel
	mov	w22, #0
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldp	w8, w9, [sp]
	sub	w8, w8, w9
	cmp	w8, #65
	b.ge	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_exynos4_jpeg_parse_q_tbl
.subsections_via_symbols
