	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ml86v7667_s_ctrl
_ml86v7667_s_ctrl:                      ## @ml86v7667_s_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_to_sd
	movq	%rax, %rdi
	callq	_v4l2_get_subdevdata
	movl	(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_LUMC_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_LUMC_ONOFF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rbx), %ebx
	movq	_LUMC_ONOFF_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	_ACCC_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ACCC_CHROMA_CR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rbx), %ebx
	movq	_ACCC_CHROMA_CR_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_8:
	movq	_HUE_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	4(%rbx), %ecx
	movq	%rax, %rdi
	movl	$-1, %edx
	jmp	LBB0_4
LBB0_5:
	movq	_CLC_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CLC_CONTRAST_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_12:
	movq	_CHRCA_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CHRCA_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rbx), %ebx
	movq	_CHRCA_MODE_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_ACCRC_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ACCRC_CHROMA_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rbx), %ebx
	movq	_ACCRC_CHROMA_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_2:
	movq	_SSEPL_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SSEPL_LUMINANCE_MASK@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movl	4(%rbx), %ecx
	movq	%rax, %rdi
	jmp	LBB0_4
LBB0_10:
	movq	_ACCC_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ACCC_CHROMA_CB_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rbx), %ebx
	movq	_ACCC_CHROMA_CB_SHIFT@GOTPCREL(%rip), %rcx
LBB0_7:
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	%rax, %rdi
	movl	%ebx, %ecx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ml86v7667_mask_set             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SSEPL_REG,4,2                  ## @SSEPL_REG
	.comm	_SSEPL_LUMINANCE_MASK,4,2       ## @SSEPL_LUMINANCE_MASK
	.comm	_CLC_REG,4,2                    ## @CLC_REG
	.comm	_CLC_CONTRAST_MASK,4,2          ## @CLC_CONTRAST_MASK
	.comm	_ACCRC_REG,4,2                  ## @ACCRC_REG
	.comm	_ACCRC_CHROMA_MASK,4,2          ## @ACCRC_CHROMA_MASK
	.comm	_ACCRC_CHROMA_SHIFT,4,2         ## @ACCRC_CHROMA_SHIFT
	.comm	_HUE_REG,4,2                    ## @HUE_REG
	.comm	_ACCC_REG,4,2                   ## @ACCC_REG
	.comm	_ACCC_CHROMA_CR_MASK,4,2        ## @ACCC_CHROMA_CR_MASK
	.comm	_ACCC_CHROMA_CR_SHIFT,4,2       ## @ACCC_CHROMA_CR_SHIFT
	.comm	_ACCC_CHROMA_CB_MASK,4,2        ## @ACCC_CHROMA_CB_MASK
	.comm	_ACCC_CHROMA_CB_SHIFT,4,2       ## @ACCC_CHROMA_CB_SHIFT
	.comm	_LUMC_REG,4,2                   ## @LUMC_REG
	.comm	_LUMC_ONOFF_MASK,4,2            ## @LUMC_ONOFF_MASK
	.comm	_LUMC_ONOFF_SHIFT,4,2           ## @LUMC_ONOFF_SHIFT
	.comm	_CHRCA_REG,4,2                  ## @CHRCA_REG
	.comm	_CHRCA_MODE_MASK,4,2            ## @CHRCA_MODE_MASK
	.comm	_CHRCA_MODE_SHIFT,4,2           ## @CHRCA_MODE_SHIFT
	.no_dead_strip	_ml86v7667_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ml86v7667_s_ctrl
_ml86v7667_s_ctrl:                      ; @ml86v7667_s_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
	bl	_to_sd
	bl	_v4l2_get_subdevdata
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _LUMC_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LUMC_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _LUMC_ONOFF_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LUMC_ONOFF_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh8:
	adrp	x9, _LUMC_ONOFF_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LUMC_ONOFF_SHIFT@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh13:
	adrp	x8, _ACCC_REG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ACCC_REG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _ACCC_CHROMA_CR_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACCC_CHROMA_CR_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh19:
	adrp	x9, _ACCC_CHROMA_CR_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ACCC_CHROMA_CR_SHIFT@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh21:
	adrp	x8, _HUE_REG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HUE_REG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w3, [x19, #4]
	mov	w2, #-1
	b	LBB0_13
LBB0_6:
Lloh24:
	adrp	x8, _CLC_REG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CLC_REG@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _CLC_CONTRAST_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CLC_CONTRAST_MASK@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh29:
	adrp	x8, _CHRCA_REG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CHRCA_REG@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _CHRCA_MODE_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CHRCA_MODE_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh35:
	adrp	x9, _CHRCA_MODE_SHIFT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CHRCA_MODE_SHIFT@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh37:
	adrp	x8, _ACCRC_REG@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACCRC_REG@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _ACCRC_CHROMA_MASK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ACCRC_CHROMA_MASK@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh43:
	adrp	x9, _ACCRC_CHROMA_SHIFT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ACCRC_CHROMA_SHIFT@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh45:
	adrp	x8, _SSEPL_REG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SSEPL_REG@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x8, _SSEPL_LUMINANCE_MASK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SSEPL_LUMINANCE_MASK@GOTPAGEOFF]
LBB0_10:
	ldr	w2, [x8]
	ldr	w3, [x19, #4]
	b	LBB0_13
LBB0_11:
Lloh50:
	adrp	x8, _ACCC_REG@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ACCC_REG@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x8, _ACCC_CHROMA_CB_MASK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ACCC_CHROMA_CB_MASK@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh56:
	adrp	x9, _ACCC_CHROMA_CB_SHIFT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ACCC_CHROMA_CB_SHIFT@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	lsl	w3, w8, w9
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ml86v7667_mask_set
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.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_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SSEPL_REG,4,2                  ; @SSEPL_REG
	.comm	_SSEPL_LUMINANCE_MASK,4,2       ; @SSEPL_LUMINANCE_MASK
	.comm	_CLC_REG,4,2                    ; @CLC_REG
	.comm	_CLC_CONTRAST_MASK,4,2          ; @CLC_CONTRAST_MASK
	.comm	_ACCRC_REG,4,2                  ; @ACCRC_REG
	.comm	_ACCRC_CHROMA_MASK,4,2          ; @ACCRC_CHROMA_MASK
	.comm	_ACCRC_CHROMA_SHIFT,4,2         ; @ACCRC_CHROMA_SHIFT
	.comm	_HUE_REG,4,2                    ; @HUE_REG
	.comm	_ACCC_REG,4,2                   ; @ACCC_REG
	.comm	_ACCC_CHROMA_CR_MASK,4,2        ; @ACCC_CHROMA_CR_MASK
	.comm	_ACCC_CHROMA_CR_SHIFT,4,2       ; @ACCC_CHROMA_CR_SHIFT
	.comm	_ACCC_CHROMA_CB_MASK,4,2        ; @ACCC_CHROMA_CB_MASK
	.comm	_ACCC_CHROMA_CB_SHIFT,4,2       ; @ACCC_CHROMA_CB_SHIFT
	.comm	_LUMC_REG,4,2                   ; @LUMC_REG
	.comm	_LUMC_ONOFF_MASK,4,2            ; @LUMC_ONOFF_MASK
	.comm	_LUMC_ONOFF_SHIFT,4,2           ; @LUMC_ONOFF_SHIFT
	.comm	_CHRCA_REG,4,2                  ; @CHRCA_REG
	.comm	_CHRCA_MODE_MASK,4,2            ; @CHRCA_MODE_MASK
	.comm	_CHRCA_MODE_SHIFT,4,2           ; @CHRCA_MODE_SHIFT
	.no_dead_strip	_ml86v7667_s_ctrl
.subsections_via_symbols
