	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_set_color_effect
_fimc_set_color_effect:                 ## @fimc_set_color_effect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_FIMC_REG_CIIMGEFF_FIN_SILHOUETTE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movzbl	%al, %ecx
	sarl	$8, %eax
	movl	%eax, 8(%rdi)
	movl	%ecx, 12(%rdi)
	jmp	LBB0_11
LBB0_5:
	movq	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movabsq	$622770258035, %rax             ## imm = 0x9100000073
	jmp	LBB0_10
LBB0_6:
	movq	_FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_FIMC_REG_CIIMGEFF_FIN_NEGATIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movq	_FIMC_REG_CIIMGEFF_FIN_EMBOSSING@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movabsq	$549755814016, %rax             ## imm = 0x8000000080
LBB0_10:
	movq	%rax, 8(%rdi)
	jmp	LBB0_11
LBB0_12:
	movq	_FIMC_REG_CIIMGEFF_FIN_ARTFREEZE@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
LBB0_11:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,8,3 ## @FIMC_REG_CIIMGEFF_FIN_BYPASS
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY,8,3 ## @FIMC_REG_CIIMGEFF_FIN_ARBITRARY
	.comm	_FIMC_REG_CIIMGEFF_FIN_NEGATIVE,8,3 ## @FIMC_REG_CIIMGEFF_FIN_NEGATIVE
	.comm	_FIMC_REG_CIIMGEFF_FIN_EMBOSSING,8,3 ## @FIMC_REG_CIIMGEFF_FIN_EMBOSSING
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARTFREEZE,8,3 ## @FIMC_REG_CIIMGEFF_FIN_ARTFREEZE
	.comm	_FIMC_REG_CIIMGEFF_FIN_SILHOUETTE,8,3 ## @FIMC_REG_CIIMGEFF_FIN_SILHOUETTE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_fimc_set_color_effect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function fimc_set_color_effect
lCPI0_0:
	.long	115                             ; 0x73
	.long	145                             ; 0x91
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fimc_set_color_effect:                 ; @fimc_set_color_effect
	.cfi_startproc
; %bb.0:
	sub	w9, w1, #128
	cmp	w9, #7
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w0, #0
Lloh2:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_SILHOUETTE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_SILHOUETTE@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	mov	w0, #0
Lloh7:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	str	x9, [x8, #16]
	ldr	x9, [x8]
	ldr	w9, [x9]
	asr	w10, w9, #8
	and	w9, w9, #0xff
	stp	w10, w9, [x8, #8]
	ret
LBB0_5:
	mov	w0, #0
Lloh10:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x9, [x8, #16]
Lloh13:
	adrp	x9, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8, #8]
	ret
LBB0_6:
	mov	w0, #0
Lloh15:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	mov	w0, #0
Lloh17:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_NEGATIVE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_NEGATIVE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	mov	w0, #0
Lloh19:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_EMBOSSING@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_EMBOSSING@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
Lloh21:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_ARBITRARY@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	str	x9, [x8, #16]
	movi.2s	v0, #128
	str	d0, [x8, #8]
	ret
LBB0_10:
	mov	w0, #0
Lloh24:
	adrp	x9, _FIMC_REG_CIIMGEFF_FIN_ARTFREEZE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FIMC_REG_CIIMGEFF_FIN_ARTFREEZE@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	str	x9, [x8, #16]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,8,3 ; @FIMC_REG_CIIMGEFF_FIN_BYPASS
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARBITRARY,8,3 ; @FIMC_REG_CIIMGEFF_FIN_ARBITRARY
	.comm	_FIMC_REG_CIIMGEFF_FIN_NEGATIVE,8,3 ; @FIMC_REG_CIIMGEFF_FIN_NEGATIVE
	.comm	_FIMC_REG_CIIMGEFF_FIN_EMBOSSING,8,3 ; @FIMC_REG_CIIMGEFF_FIN_EMBOSSING
	.comm	_FIMC_REG_CIIMGEFF_FIN_ARTFREEZE,8,3 ; @FIMC_REG_CIIMGEFF_FIN_ARTFREEZE
	.comm	_FIMC_REG_CIIMGEFF_FIN_SILHOUETTE,8,3 ; @FIMC_REG_CIIMGEFF_FIN_SILHOUETTE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_fimc_set_color_effect
.subsections_via_symbols
