	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_src_set_transf
_fimc_src_set_transf:                   ## @fimc_src_set_transf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_DRM_MODE_ROTATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%esi, %r13d
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_DRM_DEV_DEBUG_KMS
	movq	_EXYNOS_MSCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fimc_read
	movq	_EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rdx
	movq	_EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rdx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_EXYNOS_CITRGFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CITRGFMT_INROT90_CLOCKWISE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %r12d
	notl	%r12d
	andl	%eax, %r12d
	addl	$-128, %r13d
	cmpl	$3, %r13d
	ja	LBB0_15
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%r13,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_6:
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r15d, %edx
	je	LBB0_8
## %bb.7:
	movq	_EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%eax, %ecx
	orl	%edx, %ebx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_14
## %bb.9:
	movq	_EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_14
LBB0_10:
	movq	_EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %ebx
	movl	%ebx, %edx
	orl	%eax, %edx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%r15d, %esi
	notl	%ecx
	xorl	%ebx, %ebx
	cmpl	$1, %esi
	sbbl	%ebx, %ebx
	orl	%ecx, %ebx
	andl	%edx, %ebx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_15
## %bb.11:
	notl	%eax
	andl	%eax, %ebx
	jmp	LBB0_15
LBB0_2:
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	je	LBB0_4
## %bb.3:
	movq	_EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %ebx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.5:
	movq	_EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_15
LBB0_12:
	movq	_EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%esi, %ebx
	movl	%ebx, %edi
	orl	%edx, %edi
	orl	%eax, %ecx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	notl	%esi
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	sbbl	%ebx, %ebx
	orl	%esi, %ebx
	andl	%edi, %ebx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_14
## %bb.13:
	notl	%edx
	andl	%edx, %ebx
LBB0_14:
	movl	%ecx, %r12d
LBB0_15:
	movq	_EXYNOS_MSCTRL@GOTPCREL(%rip), %rax
	movq	_EXYNOS_CITRGFMT@GOTPCREL(%rip), %r15
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_fimc_write
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_write                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_DRM_MODE_ROTATE_MASK,4,2       ## @DRM_MODE_ROTATE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rotation[%x]\n"

	.comm	_EXYNOS_MSCTRL,4,2              ## @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_FLIP_X_MIRROR,4,2 ## @EXYNOS_MSCTRL_FLIP_X_MIRROR
	.comm	_EXYNOS_MSCTRL_FLIP_Y_MIRROR,4,2 ## @EXYNOS_MSCTRL_FLIP_Y_MIRROR
	.comm	_EXYNOS_CITRGFMT,4,2            ## @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_INROT90_CLOCKWISE,4,2 ## @EXYNOS_CITRGFMT_INROT90_CLOCKWISE
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
	.no_dead_strip	_fimc_src_set_transf
.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_transf
_fimc_src_set_transf:                   ; @fimc_src_set_transf
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w27, w8, w1
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_DRM_DEV_DEBUG_KMS
Lloh5:
	adrp	x23, _EXYNOS_MSCTRL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EXYNOS_MSCTRL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_fimc_read
Lloh7:
	adrp	x26, _EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPAGE
Lloh8:
	ldr	x26, [x26, _EXYNOS_MSCTRL_FLIP_X_MIRROR@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh9:
	adrp	x25, _EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPAGE
Lloh10:
	ldr	x25, [x25, _EXYNOS_MSCTRL_FLIP_Y_MIRROR@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w9, w8
	bic	w22, w0, w8
Lloh11:
	adrp	x24, _EXYNOS_CITRGFMT@GOTPAGE
Lloh12:
	ldr	x24, [x24, _EXYNOS_CITRGFMT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_fimc_read
Lloh13:
	adrp	x8, _EXYNOS_CITRGFMT_INROT90_CLOCKWISE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_INROT90_CLOCKWISE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	bic	w20, w0, w8
	sub	w9, w27, #128
	cmp	w9, #3
	b.hi	LBB0_8
; %bb.1:
Lloh16:
	adrp	x10, lJTI0_0@PAGE
Lloh17:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	orr	w20, w8, w0
LBB0_3:
Lloh18:
	adrp	x8, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x26]
	tst	w8, w21
	csel	w8, wzr, w9, eq
	orr	w22, w8, w22
Lloh21:
	adrp	x8, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x25]
	orr	w22, w8, w22
	b	LBB0_8
LBB0_5:
	ldr	w9, [x26]
	ldr	w10, [x25]
	orr	w11, w9, w22
	orr	w20, w8, w0
Lloh24:
	adrp	x8, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w11, w11, w10
Lloh26:
	ldr	w8, [x8]
	tst	w8, w21
	mov	w8, #-1
	csinv	w8, w8, w9, eq
	and	w8, w8, w11
Lloh27:
	adrp	x9, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w21
	bic	w9, w8, w10
	b	LBB0_7
LBB0_6:
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w10, w8, w22
Lloh30:
	adrp	x11, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh31:
	ldr	x11, [x11, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w10, w10, w9
Lloh32:
	ldr	w11, [x11]
	tst	w11, w21
	mov	w11, #-1
	csinv	w8, w11, w8, eq
	and	w8, w8, w10
Lloh33:
	adrp	x10, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh34:
	ldr	x10, [x10, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	tst	w10, w21
	bic	w9, w8, w9
LBB0_7:
	csel	w22, w8, w9, eq
LBB0_8:
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x22
	bl	_fimc_write
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_fimc_write
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_DRM_MODE_ROTATE_MASK,4,2       ; @DRM_MODE_ROTATE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rotation[%x]\n"

	.comm	_EXYNOS_MSCTRL,4,2              ; @EXYNOS_MSCTRL
	.comm	_EXYNOS_MSCTRL_FLIP_X_MIRROR,4,2 ; @EXYNOS_MSCTRL_FLIP_X_MIRROR
	.comm	_EXYNOS_MSCTRL_FLIP_Y_MIRROR,4,2 ; @EXYNOS_MSCTRL_FLIP_Y_MIRROR
	.comm	_EXYNOS_CITRGFMT,4,2            ; @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_INROT90_CLOCKWISE,4,2 ; @EXYNOS_CITRGFMT_INROT90_CLOCKWISE
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
	.no_dead_strip	_fimc_src_set_transf
.subsections_via_symbols
