	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_src_set_fmt_order
_fimc_src_set_fmt_order:                ## @fimc_src_set_fmt_order
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DRM_DEV_DEBUG_KMS
	movq	_EXYNOS_CISCCTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	cmpl	$134, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$137, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$138, %ebx
	jne	LBB0_5
## %bb.3:
	movq	_EXYNOS_CISCCTRL_INRGB_FMT_RGB565@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	_EXYNOS_CISCCTRL_INRGB_FMT_RGB888@GOTPCREL(%rip), %rax
LBB0_15:
	orl	(%rax), %esi
LBB0_16:
	movl	(%r15), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_write                     ## TAILCALL
LBB0_5:
	movq	_EXYNOS_MSCTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_fimc_read
	movq	_EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK@GOTPCREL(%rip), %rdx
	movq	_EXYNOS_MSCTRL_C_INT_IN_2PLANE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %esi
	orl	%ecx, %esi
	movq	_EXYNOS_MSCTRL_ORDER422_YCBYCR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %esi
	notl	%esi
	andl	%eax, %esi
	addl	$-128, %ebx
	cmpl	$14, %ebx
	ja	LBB0_16
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_12:
	movq	_EXYNOS_MSCTRL_C_INT_IN_3PLANE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	_EXYNOS_MSCTRL_ORDER422_CRYCBY@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_EXYNOS_MSCTRL_ORDER2P_LSB_CBCR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_EXYNOS_MSCTRL_ORDER2P_LSB_CRCB@GOTPCREL(%rip), %rax
LBB0_14:
	orl	%ecx, %esi
	jmp	LBB0_15
LBB0_8:
	movq	_EXYNOS_MSCTRL_ORDER422_YCRYCB@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	orl	%edx, %esi
	jmp	LBB0_16
LBB0_9:
	movq	_EXYNOS_MSCTRL_ORDER422_CBYCRY@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_CISCCTRL,4,2            ## @EXYNOS_CISCCTRL
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK,4,2 ## @EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB565,4,2 ## @EXYNOS_CISCCTRL_INRGB_FMT_RGB565
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB888,4,2 ## @EXYNOS_CISCCTRL_INRGB_FMT_RGB888
	.comm	_EXYNOS_MSCTRL,4,2              ## @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK,4,2 ## @EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK
	.comm	_EXYNOS_MSCTRL_C_INT_IN_2PLANE,4,2 ## @EXYNOS_MSCTRL_C_INT_IN_2PLANE
	.comm	_EXYNOS_MSCTRL_ORDER422_YCBYCR,4,2 ## @EXYNOS_MSCTRL_ORDER422_YCBYCR
	.comm	_EXYNOS_MSCTRL_ORDER422_YCRYCB,4,2 ## @EXYNOS_MSCTRL_ORDER422_YCRYCB
	.comm	_EXYNOS_MSCTRL_ORDER422_CBYCRY,4,2 ## @EXYNOS_MSCTRL_ORDER422_CBYCRY
	.comm	_EXYNOS_MSCTRL_ORDER422_CRYCBY,4,2 ## @EXYNOS_MSCTRL_ORDER422_CRYCBY
	.comm	_EXYNOS_MSCTRL_ORDER2P_LSB_CRCB,4,2 ## @EXYNOS_MSCTRL_ORDER2P_LSB_CRCB
	.comm	_EXYNOS_MSCTRL_C_INT_IN_3PLANE,4,2 ## @EXYNOS_MSCTRL_C_INT_IN_3PLANE
	.comm	_EXYNOS_MSCTRL_ORDER2P_LSB_CBCR,4,2 ## @EXYNOS_MSCTRL_ORDER2P_LSB_CBCR
	.no_dead_strip	_fimc_src_set_fmt_order
.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_order
_fimc_src_set_fmt_order:                ; @fimc_src_set_fmt_order
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DRM_DEV_DEBUG_KMS
Lloh2:
	adrp	x8, _EXYNOS_CISCCTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXYNOS_CISCCTRL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_fimc_read
Lloh5:
	adrp	x8, _EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w8, w0, w8
	cmp	w20, #134
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #137
	b.eq	LBB0_4
; %bb.2:
	cmp	w20, #138
	b.ne	LBB0_6
; %bb.3:
Lloh8:
	adrp	x9, _EXYNOS_CISCCTRL_INRGB_FMT_RGB565@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EXYNOS_CISCCTRL_INRGB_FMT_RGB565@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x9, _EXYNOS_CISCCTRL_INRGB_FMT_RGB888@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EXYNOS_CISCCTRL_INRGB_FMT_RGB888@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh12:
	adrp	x21, _EXYNOS_CISCCTRL@GOTPAGE
Lloh13:
	ldr	x21, [x21, _EXYNOS_CISCCTRL@GOTPAGEOFF]
	b	LBB0_18
LBB0_6:
Lloh14:
	adrp	x21, _EXYNOS_MSCTRL@GOTPAGE
Lloh15:
	ldr	x21, [x21, _EXYNOS_MSCTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_fimc_read
Lloh16:
	adrp	x8, _EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x8]
Lloh19:
	adrp	x8, _EXYNOS_MSCTRL_C_INT_IN_2PLANE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXYNOS_MSCTRL_C_INT_IN_2PLANE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x10, _EXYNOS_MSCTRL_ORDER422_YCBYCR@GOTPAGE
Lloh23:
	ldr	x10, [x10, _EXYNOS_MSCTRL_ORDER422_YCBYCR@GOTPAGEOFF]
	orr	w11, w8, w9
Lloh24:
	ldr	w9, [x10]
	orr	w10, w11, w9
	bic	w1, w0, w10
	sub	w10, w20, #128
	cmp	w10, #14
	b.hi	LBB0_18
; %bb.7:
Lloh25:
	adrp	x11, lJTI0_0@PAGE
Lloh26:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_8
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_8:
Lloh27:
	adrp	x8, _EXYNOS_MSCTRL_C_INT_IN_3PLANE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EXYNOS_MSCTRL_C_INT_IN_3PLANE@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
Lloh29:
	adrp	x8, _EXYNOS_MSCTRL_ORDER422_CRYCBY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EXYNOS_MSCTRL_ORDER422_CRYCBY@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh31:
	adrp	x9, _EXYNOS_MSCTRL_ORDER2P_LSB_CBCR@GOTPAGE
Lloh32:
	ldr	x9, [x9, _EXYNOS_MSCTRL_ORDER2P_LSB_CBCR@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh33:
	adrp	x9, _EXYNOS_MSCTRL_ORDER2P_LSB_CRCB@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EXYNOS_MSCTRL_ORDER2P_LSB_CRCB@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	orr	w8, w1, w8
	orr	w1, w8, w9
	b	LBB0_17
LBB0_13:
Lloh35:
	adrp	x8, _EXYNOS_MSCTRL_ORDER422_YCRYCB@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EXYNOS_MSCTRL_ORDER422_YCRYCB@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	orr	w1, w1, w9
	b	LBB0_17
LBB0_15:
Lloh37:
	adrp	x8, _EXYNOS_MSCTRL_ORDER422_CBYCRY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EXYNOS_MSCTRL_ORDER422_CBYCRY@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_17:
Lloh39:
	adrp	x21, _EXYNOS_MSCTRL@GOTPAGE
Lloh40:
	ldr	x21, [x21, _EXYNOS_MSCTRL@GOTPAGEOFF]
LBB0_18:
	ldr	w2, [x21]
	mov	x0, 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_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fmt[0x%x]\n"

	.comm	_EXYNOS_CISCCTRL,4,2            ; @EXYNOS_CISCCTRL
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK,4,2 ; @EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB565,4,2 ; @EXYNOS_CISCCTRL_INRGB_FMT_RGB565
	.comm	_EXYNOS_CISCCTRL_INRGB_FMT_RGB888,4,2 ; @EXYNOS_CISCCTRL_INRGB_FMT_RGB888
	.comm	_EXYNOS_MSCTRL,4,2              ; @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK,4,2 ; @EXYNOS_MSCTRL_ORDER2P_SHIFT_MASK
	.comm	_EXYNOS_MSCTRL_C_INT_IN_2PLANE,4,2 ; @EXYNOS_MSCTRL_C_INT_IN_2PLANE
	.comm	_EXYNOS_MSCTRL_ORDER422_YCBYCR,4,2 ; @EXYNOS_MSCTRL_ORDER422_YCBYCR
	.comm	_EXYNOS_MSCTRL_ORDER422_YCRYCB,4,2 ; @EXYNOS_MSCTRL_ORDER422_YCRYCB
	.comm	_EXYNOS_MSCTRL_ORDER422_CBYCRY,4,2 ; @EXYNOS_MSCTRL_ORDER422_CBYCRY
	.comm	_EXYNOS_MSCTRL_ORDER422_CRYCBY,4,2 ; @EXYNOS_MSCTRL_ORDER422_CRYCBY
	.comm	_EXYNOS_MSCTRL_ORDER2P_LSB_CRCB,4,2 ; @EXYNOS_MSCTRL_ORDER2P_LSB_CRCB
	.comm	_EXYNOS_MSCTRL_C_INT_IN_3PLANE,4,2 ; @EXYNOS_MSCTRL_C_INT_IN_3PLANE
	.comm	_EXYNOS_MSCTRL_ORDER2P_LSB_CBCR,4,2 ; @EXYNOS_MSCTRL_ORDER2P_LSB_CBCR
	.no_dead_strip	_fimc_src_set_fmt_order
.subsections_via_symbols
