	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_is_s_ctrl
_fimc_is_s_ctrl:                        ## @fimc_is_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ctrl_to_fimc_isp
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_fimc_isp_to_is
	movq	%rax, %r14
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_ISP_ADJUST_COMMAND_MANUAL_SHARPNESS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	testl	%r12d, %r12d
	jns	LBB0_17
	jmp	LBB0_22
LBB0_4:
	movq	_ISP_ADJUST_COMMAND_MANUAL_SATURATION@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ctrl_set_afc
	jmp	LBB0_15
LBB0_6:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ctrl_set_iso
	jmp	LBB0_15
LBB0_7:
	movq	_ISP_ADJUST_COMMAND_MANUAL_HUE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ctrl_set_metering
	jmp	LBB0_15
LBB0_9:
	movq	_ISP_ADJUST_COMMAND_MANUAL_EXPOSURE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_ISP_ADJUST_COMMAND_MANUAL_CONTRAST@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ctrl_set_image_effect
	jmp	LBB0_17
LBB0_12:
	movq	_ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	___is_set_isp_adjust
	jmp	LBB0_17
LBB0_14:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ctrl_set_white_balance
LBB0_15:
	movl	%eax, %r12d
	testl	%r12d, %r12d
	js	LBB0_22
LBB0_17:
	movq	_IS_ST_STREAM_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_is_itf_s_param            ## TAILCALL
LBB0_19:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_20:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___ctrl_set_aewb_lock
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jns	LBB0_23
## %bb.21:
	movl	%eax, %r12d
LBB0_22:
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_v4l2_err
LBB0_23:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_20, LBB0_20-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_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_ISP_ADJUST_COMMAND_MANUAL_CONTRAST,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_CONTRAST
	.comm	_ISP_ADJUST_COMMAND_MANUAL_SATURATION,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_SATURATION
	.comm	_ISP_ADJUST_COMMAND_MANUAL_SHARPNESS,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_SHARPNESS
	.comm	_ISP_ADJUST_COMMAND_MANUAL_EXPOSURE,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_EXPOSURE
	.comm	_ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS
	.comm	_ISP_ADJUST_COMMAND_MANUAL_HUE,4,2 ## @ISP_ADJUST_COMMAND_MANUAL_HUE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set control: %s (%d)\n"

	.comm	_IS_ST_STREAM_ON,4,2            ## @IS_ST_STREAM_ON
	.no_dead_strip	_fimc_is_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_is_s_ctrl
_fimc_is_s_ctrl:                        ; @fimc_is_s_ctrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_ctrl_to_fimc_isp
	mov	x21, x0
	bl	_fimc_isp_to_is
	mov	x19, x0
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_21
; %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, _ISP_ADJUST_COMMAND_MANUAL_SHARPNESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_SHARPNESS@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh4:
	adrp	x8, _ISP_ADJUST_COMMAND_MANUAL_SATURATION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_SATURATION@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	___ctrl_set_afc
	tbz	w0, #31, LBB0_13
	b	LBB0_18
LBB0_5:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	___ctrl_set_iso
	tbz	w0, #31, LBB0_13
	b	LBB0_18
LBB0_6:
Lloh6:
	adrp	x8, _ISP_ADJUST_COMMAND_MANUAL_HUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_HUE@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	___ctrl_set_metering
	tbz	w0, #31, LBB0_13
	b	LBB0_18
LBB0_8:
Lloh8:
	adrp	x8, _ISP_ADJUST_COMMAND_MANUAL_EXPOSURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_EXPOSURE@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh10:
	adrp	x8, _ISP_ADJUST_COMMAND_MANUAL_CONTRAST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_CONTRAST@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	___ctrl_set_image_effect
	b	LBB0_13
LBB0_11:
Lloh12:
	adrp	x8, _ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	___is_set_isp_adjust
LBB0_13:
Lloh14:
	adrp	x8, _IS_ST_STREAM_ON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IS_ST_STREAM_ON@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.14:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fimc_is_itf_s_param
LBB0_15:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	___ctrl_set_white_balance
	tbz	w0, #31, LBB0_13
	b	LBB0_18
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	___ctrl_set_aewb_lock
	tbnz	w0, #31, LBB0_18
LBB0_17:
	mov	w22, #0
	b	LBB0_20
LBB0_18:
	mov	x22, x0
LBB0_19:
	ldp	w3, w2, [x20, #4]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_v4l2_err
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_21:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w22, w8
	tbz	w22, #31, LBB0_13
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-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
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_ISP_ADJUST_COMMAND_MANUAL_CONTRAST,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_CONTRAST
	.comm	_ISP_ADJUST_COMMAND_MANUAL_SATURATION,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_SATURATION
	.comm	_ISP_ADJUST_COMMAND_MANUAL_SHARPNESS,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_SHARPNESS
	.comm	_ISP_ADJUST_COMMAND_MANUAL_EXPOSURE,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_EXPOSURE
	.comm	_ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_BRIGHTNESS
	.comm	_ISP_ADJUST_COMMAND_MANUAL_HUE,4,2 ; @ISP_ADJUST_COMMAND_MANUAL_HUE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set control: %s (%d)\n"

	.comm	_IS_ST_STREAM_ON,4,2            ; @IS_ST_STREAM_ON
	.no_dead_strip	_fimc_is_s_ctrl
.subsections_via_symbols
