	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_hw_set_effect             ## -- Begin function fimc_hw_set_effect
	.p2align	4, 0x90
_fimc_hw_set_effect:                    ## @fimc_hw_set_effect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	16(%rdi), %rcx
	movl	(%rdi), %edx
	movq	_FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	cmpl	(%rsi), %edx
	je	LBB0_3
## %bb.1:
	movq	_FIMC_REG_CIIMGEFF_IE_SC_AFTER@GOTPCREL(%rip), %rsi
	movq	_FIMC_REG_CIIMGEFF_IE_ENABLE@GOTPCREL(%rip), %r8
	movl	(%rsi), %edi
	orl	%edx, %edi
	orl	(%r8), %edi
	movq	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_3
## %bb.2:
	movl	4(%rax), %edx
	shll	$13, %edx
	orl	8(%rax), %edi
	orl	%edx, %edi
LBB0_3:
	movq	_FIMC_REG_CIIMGEFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rcx), %rsi
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,4,2 ## @FIMC_REG_CIIMGEFF_FIN_BYPASS
	.comm	_FIMC_REG_CIIMGEFF_IE_SC_AFTER,4,2 ## @FIMC_REG_CIIMGEFF_IE_SC_AFTER
	.comm	_FIMC_REG_CIIMGEFF_IE_ENABLE,4,2 ## @FIMC_REG_CIIMGEFF_IE_ENABLE
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY,4,2 ## @FIMC_REG_CIIMGEFF_FIN_ARBITRARY
	.comm	_FIMC_REG_CIIMGEFF,8,3          ## @FIMC_REG_CIIMGEFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_hw_set_effect             ; -- Begin function fimc_hw_set_effect
	.p2align	2
_fimc_hw_set_effect:                    ; @fimc_hw_set_effect
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #16]
	ldr	w10, [x0]
Lloh0:
	adrp	x8, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _FIMC_REG_CIIMGEFF_IE_SC_AFTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIMC_REG_CIIMGEFF_IE_SC_AFTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x11, _FIMC_REG_CIIMGEFF_IE_ENABLE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FIMC_REG_CIIMGEFF_IE_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w8, w8, w10
	orr	w8, w8, w11
Lloh9:
	adrp	x11, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGE
Lloh10:
	ldr	x11, [x11, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.3:
	ldp	w10, w11, [x0, #4]
	orr	w8, w11, w8
	orr	w8, w8, w10, lsl #13
LBB0_4:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _FIMC_REG_CIIMGEFF@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FIMC_REG_CIIMGEFF@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	b	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,4,2 ; @FIMC_REG_CIIMGEFF_FIN_BYPASS
	.comm	_FIMC_REG_CIIMGEFF_IE_SC_AFTER,4,2 ; @FIMC_REG_CIIMGEFF_IE_SC_AFTER
	.comm	_FIMC_REG_CIIMGEFF_IE_ENABLE,4,2 ; @FIMC_REG_CIIMGEFF_IE_ENABLE
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY,4,2 ; @FIMC_REG_CIIMGEFF_FIN_ARBITRARY
	.comm	_FIMC_REG_CIIMGEFF,8,3          ; @FIMC_REG_CIIMGEFF
.subsections_via_symbols
