	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_src_set_fmt
_fimc_src_set_fmt:                      ## @fimc_src_set_fmt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_DRM_DEV_DEBUG_KMS
	movq	_EXYNOS_MSCTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_fimc_read
	movq	_EXYNOS_MSCTRL_INFORMAT_RGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	notl	%esi
	andl	%eax, %esi
	leal	-128(%r14), %edx
	cmpl	$14, %edx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_5:
	movq	_EXYNOS_MSCTRL_INFORMAT_YCBCR420@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	orl	%eax, %ecx
	movl	%ecx, %esi
	jmp	LBB0_7
LBB0_4:
	movq	_EXYNOS_MSCTRL_INFORMAT_YCBCR422@GOTPCREL(%rip), %rax
LBB0_6:
	orl	(%rax), %esi
LBB0_7:
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_fimc_write
	movq	_EXYNOS_CIDMAPARAM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CIDMAPARAM_R_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.9:
	movq	_EXYNOS_CIDMAPARAM_R_MODE_LINEAR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_EXYNOS_CIDMAPARAM_R_MODE_64X32@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_fimc_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_src_set_fmt_order         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_MSCTRL,4,2              ## @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_INFORMAT_RGB,4,2 ## @EXYNOS_MSCTRL_INFORMAT_RGB
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR420,4,2 ## @EXYNOS_MSCTRL_INFORMAT_YCBCR420
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE,4,2 ## @EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR422,4,2 ## @EXYNOS_MSCTRL_INFORMAT_YCBCR422
	.comm	_EXYNOS_CIDMAPARAM,4,2          ## @EXYNOS_CIDMAPARAM
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_MASK,4,2 ## @EXYNOS_CIDMAPARAM_R_MODE_MASK
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_64X32,4,2 ## @EXYNOS_CIDMAPARAM_R_MODE_64X32
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_LINEAR,4,2 ## @EXYNOS_CIDMAPARAM_R_MODE_LINEAR
	.no_dead_strip	_fimc_src_set_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_src_set_fmt
_fimc_src_set_fmt:                      ; @fimc_src_set_fmt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DRM_DEV_DEBUG_KMS
Lloh2:
	adrp	x22, _EXYNOS_MSCTRL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EXYNOS_MSCTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_read
Lloh4:
	adrp	x8, _EXYNOS_MSCTRL_INFORMAT_RGB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EXYNOS_MSCTRL_INFORMAT_RGB@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w1, w0, w8
	sub	w9, w19, #128
	cmp	w9, #14
	b.hi	LBB0_7
; %bb.1:
Lloh7:
	adrp	x10, lJTI0_0@PAGE
Lloh8:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh9:
	adrp	x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR420@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR420@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh11:
	adrp	x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	orr	w1, w8, w0
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR422@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXYNOS_MSCTRL_INFORMAT_YCBCR422@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_7:
	ldr	w2, [x22]
	mov	x0, x20
	bl	_fimc_write
Lloh15:
	adrp	x22, _EXYNOS_CIDMAPARAM@GOTPAGE
Lloh16:
	ldr	x22, [x22, _EXYNOS_CIDMAPARAM@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_read
Lloh17:
	adrp	x8, _EXYNOS_CIDMAPARAM_R_MODE_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXYNOS_CIDMAPARAM_R_MODE_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _EXYNOS_CIDMAPARAM_R_MODE_LINEAR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EXYNOS_CIDMAPARAM_R_MODE_LINEAR@GOTPAGEOFF]
Lloh22:
	adrp	x10, _EXYNOS_CIDMAPARAM_R_MODE_64X32@GOTPAGE
Lloh23:
	ldr	x10, [x10, _EXYNOS_CIDMAPARAM_R_MODE_64X32@GOTPAGEOFF]
	bic	w8, w0, w8
	cmp	w21, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x22]
	mov	x0, x20
	bl	_fimc_write
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fimc_src_set_fmt_order
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_MSCTRL,4,2              ; @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_INFORMAT_RGB,4,2 ; @EXYNOS_MSCTRL_INFORMAT_RGB
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR420,4,2 ; @EXYNOS_MSCTRL_INFORMAT_YCBCR420
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE,4,2 ; @EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE
	.comm	_EXYNOS_MSCTRL_INFORMAT_YCBCR422,4,2 ; @EXYNOS_MSCTRL_INFORMAT_YCBCR422
	.comm	_EXYNOS_CIDMAPARAM,4,2          ; @EXYNOS_CIDMAPARAM
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_MASK,4,2 ; @EXYNOS_CIDMAPARAM_R_MODE_MASK
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_64X32,4,2 ; @EXYNOS_CIDMAPARAM_R_MODE_64X32
	.comm	_EXYNOS_CIDMAPARAM_R_MODE_LINEAR,4,2 ; @EXYNOS_CIDMAPARAM_R_MODE_LINEAR
	.no_dead_strip	_fimc_src_set_fmt
.subsections_via_symbols
