	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_dst_set_transf
_fimc_dst_set_transf:                   ## @fimc_dst_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_DRM_MODE_ROTATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%esi, %ebx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_DRM_DEV_DEBUG_KMS
	movq	_EXYNOS_CITRGFMT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CITRGFMT_FLIP_MASK@GOTPCREL(%rip), %rdx
	movq	_EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %esi
	orl	%ecx, %esi
	notl	%esi
	andl	%eax, %esi
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	orl	%ecx, %esi
LBB0_3:
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	je	LBB0_5
## %bb.4:
	movq	_EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%eax, %esi
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.6:
	movq	_EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_11
LBB0_8:
	movq	_EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %esi
	movl	%edx, %ecx
	orl	%eax, %ecx
	orl	%esi, %ecx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	andl	%r12d, %edi
	notl	%edx
	xorl	%esi, %esi
	cmpl	$1, %edi
	sbbl	%esi, %esi
	orl	%edx, %esi
	andl	%ecx, %esi
	jmp	LBB0_9
LBB0_7:
	movq	_EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %esi
	movl	%esi, %edx
	orl	%eax, %edx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	andl	%r12d, %edi
	notl	%ecx
	xorl	%esi, %esi
	cmpl	$1, %edi
	sbbl	%esi, %esi
	orl	%ecx, %esi
	andl	%edx, %esi
LBB0_9:
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_11
## %bb.10:
	notl	%eax
	andl	%eax, %esi
LBB0_11:
	movl	(%r15), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_write                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_3
	.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[0x%x]\n"

	.comm	_EXYNOS_CITRGFMT,4,2            ## @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_FLIP_MASK,4,2  ## @EXYNOS_CITRGFMT_FLIP_MASK
	.comm	_EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE,4,2 ## @EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_EXYNOS_CITRGFMT_FLIP_X_MIRROR,4,2 ## @EXYNOS_CITRGFMT_FLIP_X_MIRROR
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
	.comm	_EXYNOS_CITRGFMT_FLIP_Y_MIRROR,4,2 ## @EXYNOS_CITRGFMT_FLIP_Y_MIRROR
	.no_dead_strip	_fimc_dst_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_dst_set_transf
_fimc_dst_set_transf:                   ; @fimc_dst_set_transf
	.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
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w1
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DRM_DEV_DEBUG_KMS
Lloh5:
	adrp	x21, _EXYNOS_CITRGFMT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _EXYNOS_CITRGFMT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_fimc_read
Lloh7:
	adrp	x8, _EXYNOS_CITRGFMT_FLIP_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_FLIP_MASK@GOTPAGEOFF]
Lloh9:
	adrp	x9, _EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x8]
Lloh12:
	ldr	w8, [x9]
	orr	w9, w8, w10
	bic	w1, w0, w9
	sub	w9, w22, #128
	cmp	w9, #3
	b.hi	LBB0_9
; %bb.1:
Lloh13:
	adrp	x10, lJTI0_0@PAGE
Lloh14:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh15:
	adrp	x9, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w8, w1, w8
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGE
Lloh19:
	ldr	x10, [x10, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w1, w8, w9
	b	LBB0_7
LBB0_3:
Lloh21:
	adrp	x9, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGEOFF]
Lloh23:
	adrp	x10, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGE
Lloh24:
	ldr	x10, [x10, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	ldr	w10, [x10]
	orr	w8, w1, w8
	orr	w8, w8, w9
Lloh27:
	adrp	x11, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh28:
	ldr	x11, [x11, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w8, w8, w10
Lloh29:
	ldr	w11, [x11]
	tst	w11, w20
	mov	w11, #-1
	csinv	w9, w11, w9, eq
	and	w8, w9, w8
Lloh30:
	adrp	x9, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh31:
	ldr	x9, [x9, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w20
	bic	w9, w8, w10
	b	LBB0_5
LBB0_4:
Lloh33:
	adrp	x8, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w10, w8, w1
Lloh39:
	adrp	x11, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh40:
	ldr	x11, [x11, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w10, w10, w9
Lloh41:
	ldr	w11, [x11]
	tst	w11, w20
	mov	w11, #-1
	csinv	w8, w11, w8, eq
	and	w8, w8, w10
Lloh42:
	adrp	x10, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh43:
	ldr	x10, [x10, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	tst	w10, w20
	bic	w9, w8, w9
LBB0_5:
	csel	w1, w8, w9, eq
	b	LBB0_9
LBB0_6:
Lloh45:
	adrp	x8, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGE
Lloh49:
	ldr	x9, [x9, _EXYNOS_CITRGFMT_FLIP_X_MIRROR@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
	orr	w1, w8, w1
LBB0_7:
Lloh51:
	adrp	x8, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
Lloh54:
	adrp	x8, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _EXYNOS_CITRGFMT_FLIP_Y_MIRROR@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_9:
	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	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-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[0x%x]\n"

	.comm	_EXYNOS_CITRGFMT,4,2            ; @EXYNOS_CITRGFMT
	.comm	_EXYNOS_CITRGFMT_FLIP_MASK,4,2  ; @EXYNOS_CITRGFMT_FLIP_MASK
	.comm	_EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE,4,2 ; @EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_EXYNOS_CITRGFMT_FLIP_X_MIRROR,4,2 ; @EXYNOS_CITRGFMT_FLIP_X_MIRROR
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
	.comm	_EXYNOS_CITRGFMT_FLIP_Y_MIRROR,4,2 ; @EXYNOS_CITRGFMT_FLIP_Y_MIRROR
	.no_dead_strip	_fimc_dst_set_transf
.subsections_via_symbols
