	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_dst_set_fmt
_fimc_dst_set_fmt:                      ## @fimc_dst_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_CIEXTEN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_fimc_read
	movq	_DRM_FORMAT_AYUV@GOTPCREL(%rip), %rcx
	movq	_EXYNOS_CIEXTEN_YUV444_OUT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%r14d, (%rcx)
	jne	LBB0_2
## %bb.1:
	orl	%eax, %esi
	jmp	LBB0_9
LBB0_2:
	notl	%esi
	andl	%esi, %eax
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_fimc_write
	movq	_EXYNOS_CITRGFMT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CITRGFMT_OUTFORMAT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	leal	-128(%r14), %eax
	cmpl	$13, %eax
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_EXYNOS_CITRGFMT_OUTFORMAT_RGB@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %esi
LBB0_9:
	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_W_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	testl	%r15d, %r15d
	jne	LBB0_10
## %bb.11:
	movq	_EXYNOS_CIDMAPARAM_W_MODE_LINEAR@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_EXYNOS_CIDMAPARAM_W_MODE_64X32@GOTPCREL(%rip), %rax
LBB0_12:
	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_dst_set_fmt_order         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_CIEXTEN,4,2             ## @EXYNOS_CIEXTEN
	.comm	_DRM_FORMAT_AYUV,4,2            ## @DRM_FORMAT_AYUV
	.comm	_EXYNOS_CIEXTEN_YUV444_OUT,4,2  ## @EXYNOS_CIEXTEN_YUV444_OUT
	.comm	_EXYNOS_CITRGFMT,4,2            ## @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_MASK,4,2 ## @EXYNOS_CITRGFMT_OUTFORMAT_MASK
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_RGB,4,2 ## @EXYNOS_CITRGFMT_OUTFORMAT_RGB
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE,4,2 ## @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422,4,2 ## @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420,4,2 ## @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420
	.comm	_EXYNOS_CIDMAPARAM,4,2          ## @EXYNOS_CIDMAPARAM
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_MASK,4,2 ## @EXYNOS_CIDMAPARAM_W_MODE_MASK
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_64X32,4,2 ## @EXYNOS_CIDMAPARAM_W_MODE_64X32
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_LINEAR,4,2 ## @EXYNOS_CIDMAPARAM_W_MODE_LINEAR
	.no_dead_strip	_fimc_dst_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_dst_set_fmt
_fimc_dst_set_fmt:                      ; @fimc_dst_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_CIEXTEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EXYNOS_CIEXTEN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_read
Lloh4:
	adrp	x8, _DRM_FORMAT_AYUV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRM_FORMAT_AYUV@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
Lloh7:
	adrp	x8, _EXYNOS_CIEXTEN_YUV444_OUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXYNOS_CIEXTEN_YUV444_OUT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w9, w19
	b.ne	LBB0_2
; %bb.1:
	orr	w1, w8, w0
Lloh10:
	adrp	x22, _EXYNOS_CIEXTEN@GOTPAGE
Lloh11:
	ldr	x22, [x22, _EXYNOS_CIEXTEN@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	bic	w1, w0, w8
	ldr	w2, [x22]
	mov	x0, x20
	bl	_fimc_write
Lloh12:
	adrp	x22, _EXYNOS_CITRGFMT@GOTPAGE
Lloh13:
	ldr	x22, [x22, _EXYNOS_CITRGFMT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_read
Lloh14:
	adrp	x8, _EXYNOS_CITRGFMT_OUTFORMAT_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_OUTFORMAT_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w1, w0, w8
	sub	w8, w19, #128
	cmp	w8, #13
	b.hi	LBB0_9
; %bb.3:
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh19:
	adrp	x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh21:
	adrp	x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh23:
	adrp	x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh25:
	adrp	x8, _EXYNOS_CITRGFMT_OUTFORMAT_RGB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_OUTFORMAT_RGB@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	orr	w1, w8, w1
Lloh27:
	adrp	x22, _EXYNOS_CITRGFMT@GOTPAGE
Lloh28:
	ldr	x22, [x22, _EXYNOS_CITRGFMT@GOTPAGEOFF]
LBB0_9:
	ldr	w2, [x22]
	mov	x0, x20
	bl	_fimc_write
Lloh29:
	adrp	x22, _EXYNOS_CIDMAPARAM@GOTPAGE
Lloh30:
	ldr	x22, [x22, _EXYNOS_CIDMAPARAM@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_read
Lloh31:
	adrp	x8, _EXYNOS_CIDMAPARAM_W_MODE_MASK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EXYNOS_CIDMAPARAM_W_MODE_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _EXYNOS_CIDMAPARAM_W_MODE_LINEAR@GOTPAGE
Lloh35:
	ldr	x9, [x9, _EXYNOS_CIDMAPARAM_W_MODE_LINEAR@GOTPAGEOFF]
Lloh36:
	adrp	x10, _EXYNOS_CIDMAPARAM_W_MODE_64X32@GOTPAGE
Lloh37:
	ldr	x10, [x10, _EXYNOS_CIDMAPARAM_W_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_dst_set_fmt_order
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_CIEXTEN,4,2             ; @EXYNOS_CIEXTEN
	.comm	_DRM_FORMAT_AYUV,4,2            ; @DRM_FORMAT_AYUV
	.comm	_EXYNOS_CIEXTEN_YUV444_OUT,4,2  ; @EXYNOS_CIEXTEN_YUV444_OUT
	.comm	_EXYNOS_CITRGFMT,4,2            ; @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_MASK,4,2 ; @EXYNOS_CITRGFMT_OUTFORMAT_MASK
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_RGB,4,2 ; @EXYNOS_CITRGFMT_OUTFORMAT_RGB
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE,4,2 ; @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422,4,2 ; @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422
	.comm	_EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420,4,2 ; @EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420
	.comm	_EXYNOS_CIDMAPARAM,4,2          ; @EXYNOS_CIDMAPARAM
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_MASK,4,2 ; @EXYNOS_CIDMAPARAM_W_MODE_MASK
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_64X32,4,2 ; @EXYNOS_CIDMAPARAM_W_MODE_64X32
	.comm	_EXYNOS_CIDMAPARAM_W_MODE_LINEAR,4,2 ; @EXYNOS_CIDMAPARAM_W_MODE_LINEAR
	.no_dead_strip	_fimc_dst_set_fmt
.subsections_via_symbols
