	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_set_type_ctrl
_fimc_set_type_ctrl:                    ## @fimc_set_type_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_EXYNOS_CIGCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_fimc_read
	movq	_EXYNOS_CIGCTRL_TESTPATTERN_MASK@GOTPCREL(%rip), %rcx
	movq	_EXYNOS_CIGCTRL_SELCAM_ITU_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_EXYNOS_CIGCTRL_SELCAM_MIPI_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_EXYNOS_CIGCTRL_SELCAM_FIMC_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_EXYNOS_CIGCTRL_SELWB_CAMIF_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_EXYNOS_CIGCTRL_SELWRITEBACK_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_EXYNOS_CIGCTRL_SELCAM_ITU_A@GOTPCREL(%rip), %rax
	movq	_EXYNOS_CIGCTRL_SELWRITEBACK_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	orl	%edx, %esi
	movq	_EXYNOS_CIGCTRL_SELCAM_MIPI_A@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_EXYNOS_CIGCTRL_SELCAM_FIMC_ITU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fimc_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EXYNOS_CIGCTRL,4,2             ## @EXYNOS_CIGCTRL
	.comm	_EXYNOS_CIGCTRL_TESTPATTERN_MASK,4,2 ## @EXYNOS_CIGCTRL_TESTPATTERN_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_ITU_MASK,4,2 ## @EXYNOS_CIGCTRL_SELCAM_ITU_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_MIPI_MASK,4,2 ## @EXYNOS_CIGCTRL_SELCAM_MIPI_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_FIMC_MASK,4,2 ## @EXYNOS_CIGCTRL_SELCAM_FIMC_MASK
	.comm	_EXYNOS_CIGCTRL_SELWB_CAMIF_MASK,4,2 ## @EXYNOS_CIGCTRL_SELWB_CAMIF_MASK
	.comm	_EXYNOS_CIGCTRL_SELWRITEBACK_MASK,4,2 ## @EXYNOS_CIGCTRL_SELWRITEBACK_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_ITU_A,4,2 ## @EXYNOS_CIGCTRL_SELCAM_ITU_A
	.comm	_EXYNOS_CIGCTRL_SELWRITEBACK_A,4,2 ## @EXYNOS_CIGCTRL_SELWRITEBACK_A
	.comm	_EXYNOS_CIGCTRL_SELCAM_MIPI_A,4,2 ## @EXYNOS_CIGCTRL_SELCAM_MIPI_A
	.comm	_EXYNOS_CIGCTRL_SELCAM_FIMC_ITU,4,2 ## @EXYNOS_CIGCTRL_SELCAM_FIMC_ITU
	.no_dead_strip	_fimc_set_type_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_set_type_ctrl
_fimc_set_type_ctrl:                    ; @fimc_set_type_ctrl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _EXYNOS_CIGCTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EXYNOS_CIGCTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_fimc_read
Lloh2:
	adrp	x8, _EXYNOS_CIGCTRL_TESTPATTERN_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXYNOS_CIGCTRL_TESTPATTERN_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _EXYNOS_CIGCTRL_SELCAM_ITU_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EXYNOS_CIGCTRL_SELCAM_ITU_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _EXYNOS_CIGCTRL_SELCAM_MIPI_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EXYNOS_CIGCTRL_SELCAM_MIPI_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _EXYNOS_CIGCTRL_SELCAM_FIMC_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EXYNOS_CIGCTRL_SELCAM_FIMC_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _EXYNOS_CIGCTRL_SELWB_CAMIF_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EXYNOS_CIGCTRL_SELWB_CAMIF_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _EXYNOS_CIGCTRL_SELWRITEBACK_MASK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _EXYNOS_CIGCTRL_SELWRITEBACK_MASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh19:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w8, w0, w8
Lloh20:
	adrp	x9, _EXYNOS_CIGCTRL_SELCAM_ITU_A@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EXYNOS_CIGCTRL_SELCAM_ITU_A@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _EXYNOS_CIGCTRL_SELWRITEBACK_A@GOTPAGE
Lloh24:
	ldr	x10, [x10, _EXYNOS_CIGCTRL_SELWRITEBACK_A@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	adrp	x11, _EXYNOS_CIGCTRL_SELCAM_MIPI_A@GOTPAGE
Lloh27:
	ldr	x11, [x11, _EXYNOS_CIGCTRL_SELCAM_MIPI_A@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh28:
	ldr	w10, [x11]
Lloh29:
	adrp	x11, _EXYNOS_CIGCTRL_SELCAM_FIMC_ITU@GOTPAGE
Lloh30:
	ldr	x11, [x11, _EXYNOS_CIGCTRL_SELCAM_FIMC_ITU@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w1, w8, w11
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fimc_write
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EXYNOS_CIGCTRL,4,2             ; @EXYNOS_CIGCTRL
	.comm	_EXYNOS_CIGCTRL_TESTPATTERN_MASK,4,2 ; @EXYNOS_CIGCTRL_TESTPATTERN_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_ITU_MASK,4,2 ; @EXYNOS_CIGCTRL_SELCAM_ITU_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_MIPI_MASK,4,2 ; @EXYNOS_CIGCTRL_SELCAM_MIPI_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_FIMC_MASK,4,2 ; @EXYNOS_CIGCTRL_SELCAM_FIMC_MASK
	.comm	_EXYNOS_CIGCTRL_SELWB_CAMIF_MASK,4,2 ; @EXYNOS_CIGCTRL_SELWB_CAMIF_MASK
	.comm	_EXYNOS_CIGCTRL_SELWRITEBACK_MASK,4,2 ; @EXYNOS_CIGCTRL_SELWRITEBACK_MASK
	.comm	_EXYNOS_CIGCTRL_SELCAM_ITU_A,4,2 ; @EXYNOS_CIGCTRL_SELCAM_ITU_A
	.comm	_EXYNOS_CIGCTRL_SELWRITEBACK_A,4,2 ; @EXYNOS_CIGCTRL_SELWRITEBACK_A
	.comm	_EXYNOS_CIGCTRL_SELCAM_MIPI_A,4,2 ; @EXYNOS_CIGCTRL_SELCAM_MIPI_A
	.comm	_EXYNOS_CIGCTRL_SELCAM_FIMC_ITU,4,2 ; @EXYNOS_CIGCTRL_SELCAM_FIMC_ITU
	.no_dead_strip	_fimc_set_type_ctrl
.subsections_via_symbols
