	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_jpeg_subsampling_decode
_s5p_jpeg_subsampling_decode:           ## @s5p_jpeg_subsampling_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	addl	$-17, %esi
	cmpl	$48, %esi
	ja	LBB0_9
## %bb.1:
	movq	_V4L2_JPEG_CHROMA_SUBSAMPLING_444@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	_V4L2_JPEG_CHROMA_SUBSAMPLING_422@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_3:
	movq	_V4L2_JPEG_CHROMA_SUBSAMPLING_420@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	movq	_V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %eax
	movl	%eax, (%rdi)
	movl	$1, %eax
LBB0_9:
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movq	_SJPEG_EXYNOS3250@GOTPCREL(%rip), %rsi
	movq	_V4L2_JPEG_CHROMA_SUBSAMPLING_411@GOTPCREL(%rip), %rcx
	cmpl	(%rsi), %edx
	je	LBB0_8
## %bb.6:
	movq	_SJPEG_EXYNOS5420@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_8
## %bb.7:
	movq	_SJPEG_EXYNOS5433@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_9
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_444,4,2 ## @V4L2_JPEG_CHROMA_SUBSAMPLING_444
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_422,4,2 ## @V4L2_JPEG_CHROMA_SUBSAMPLING_422
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_420,4,2 ## @V4L2_JPEG_CHROMA_SUBSAMPLING_420
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY,4,2 ## @V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY
	.comm	_SJPEG_EXYNOS3250,4,2           ## @SJPEG_EXYNOS3250
	.comm	_SJPEG_EXYNOS5420,4,2           ## @SJPEG_EXYNOS5420
	.comm	_SJPEG_EXYNOS5433,4,2           ## @SJPEG_EXYNOS5433
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_411,4,2 ## @V4L2_JPEG_CHROMA_SUBSAMPLING_411
	.no_dead_strip	_s5p_jpeg_subsampling_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_jpeg_subsampling_decode
_s5p_jpeg_subsampling_decode:           ; @s5p_jpeg_subsampling_decode
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	sub	w10, w1, #17
	cmp	w10, #48
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_444@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_444@GOTPAGEOFF]
Lloh2:
	adrp	x11, lJTI0_0@PAGE
Lloh3:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh4:
	adrp	x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_422@GOTPAGE
Lloh5:
	ldr	x9, [x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_422@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_420@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_420@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _SJPEG_EXYNOS3250@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SJPEG_EXYNOS3250@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _SJPEG_EXYNOS5420@GOTPAGE
Lloh14:
	ldr	x10, [x10, _SJPEG_EXYNOS5420@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _SJPEG_EXYNOS5433@GOTPAGE
Lloh17:
	ldr	x11, [x11, _SJPEG_EXYNOS5433@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_9
; %bb.6:
Lloh19:
	adrp	x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_411@GOTPAGE
Lloh20:
	ldr	x9, [x9, _V4L2_JPEG_CHROMA_SUBSAMPLING_411@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x9]
	str	w8, [x0]
	mov	w8, #1
LBB0_8:
	mov	x0, x8
	ret
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cf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-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_444,4,2 ; @V4L2_JPEG_CHROMA_SUBSAMPLING_444
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_422,4,2 ; @V4L2_JPEG_CHROMA_SUBSAMPLING_422
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_420,4,2 ; @V4L2_JPEG_CHROMA_SUBSAMPLING_420
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY,4,2 ; @V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY
	.comm	_SJPEG_EXYNOS3250,4,2           ; @SJPEG_EXYNOS3250
	.comm	_SJPEG_EXYNOS5420,4,2           ; @SJPEG_EXYNOS5420
	.comm	_SJPEG_EXYNOS5433,4,2           ; @SJPEG_EXYNOS5433
	.comm	_V4L2_JPEG_CHROMA_SUBSAMPLING_411,4,2 ; @V4L2_JPEG_CHROMA_SUBSAMPLING_411
	.no_dead_strip	_s5p_jpeg_subsampling_decode
.subsections_via_symbols
