	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k6aa_set_colorfx
_s5k6aa_set_colorfx:                    ## @s5k6aa_set_colorfx
	.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, %r12d
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	leaq	_s5k6aa_set_colorfx.colorfx(%rip), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	leaq	_s5k6aa_set_colorfx.colorfx+8(%rip), %r13
	xorl	%ebx, %ebx
	leaq	_s5k6aa_set_colorfx.colorfx(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, -4(%r13)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_REG_G_SPEC_EFFECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5k6aa_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @s5k6aa_set_colorfx.colorfx
_s5k6aa_set_colorfx.colorfx:
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	132                             ## 0x84
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	130                             ## 0x82
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_REG_G_SPEC_EFFECTS,4,2         ## @REG_G_SPEC_EFFECTS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_s5k6aa_set_colorfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k6aa_set_colorfx
_s5k6aa_set_colorfx:                    ; @s5k6aa_set_colorfx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_v4l2_get_subdevdata
	mov	x20, x0
Lloh0:
	adrp	x0, _s5k6aa_set_colorfx.colorfx@PAGE
Lloh1:
	add	x0, x0, _s5k6aa_set_colorfx.colorfx@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _s5k6aa_set_colorfx.colorfx@PAGE+8
Lloh3:
	add	x23, x23, _s5k6aa_set_colorfx.colorfx@PAGEOFF+8
Lloh4:
	adrp	x21, _s5k6aa_set_colorfx.colorfx@PAGE
Lloh5:
	add	x21, x21, _s5k6aa_set_colorfx.colorfx@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x23, #-4]
	cmp	w8, w19
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	mov	x0, x21
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh9:
	adrp	x8, _REG_G_SPEC_EFFECTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_G_SPEC_EFFECTS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_s5k6aa_write
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @s5k6aa_set_colorfx.colorfx
_s5k6aa_set_colorfx.colorfx:
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	132                             ; 0x84
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	130                             ; 0x82
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_REG_G_SPEC_EFFECTS,4,2         ; @REG_G_SPEC_EFFECTS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_s5k6aa_set_colorfx
.subsections_via_symbols
