	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_init_controls
_sd_init_controls:                      ## @sd_init_controls
	.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
	movq	%rdi, %r12
	leaq	32(%rdi), %r14
	movq	%r14, 24(%rdi)
	movq	%r14, %rdi
	movl	$14, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 96(%r12)
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$20, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 88(%r12)
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$25, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$40, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 80(%r12)
	movq	_V4L2_CID_RED_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$24, %ecx
	movl	$40, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r12)
	movq	_V4L2_CID_BLUE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$24, %ecx
	movl	$40, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 72(%r12)
	movq	_V4L2_CID_GAMMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$20, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$40, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 64(%r12)
	movq	(%r12), %rax
	movq	_SENSOR_OM6802@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_V4L2_CID_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %eax
	movl	$90, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%r12)
	movq	_F_ILLUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_2
## %bb.1:
	movq	_V4L2_CID_ILLUMINATORS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r12)
LBB0_2:
	movq	(%r12), %rax
	movq	_SENSOR_PO2030N@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1024, (%rsp)                   ## imm = 0x400
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$500, %ecx                      ## imm = 0x1F4
	movl	$1500, %r8d                     ## imm = 0x5DC
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r12)
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$15, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %ecx
	movl	$49, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%r12)
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 40(%r12)
	movq	(%r12), %rax
LBB0_4:
	movq	_SENSOR_ADCM1700@GOTPCREL(%rip), %rcx
	movq	_SENSOR_OV7660@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.5:
	cmpq	(%r15), %rax
	je	LBB0_10
## %bb.6:
	movq	_SENSOR_PO1030@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:
	movq	_SENSOR_SOI768@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	movq	_SENSOR_SP80708@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_V4L2_CID_AUTOGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, (%r12)
LBB0_10:
	movq	_SENSOR_HV7131R@GOTPCREL(%rip), %rcx
	movq	_SENSOR_OV7630@GOTPCREL(%rip), %rbx
	movq	_SENSOR_OV7648@GOTPCREL(%rip), %r13
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.11:
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_14
## %bb.12:
	movq	(%r13), %rdx
	cmpq	%rdx, %rax
	je	LBB0_14
## %bb.13:
	movq	_SENSOR_PO2030N@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_15
LBB0_14:
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r12)
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	movq	(%r13), %rdx
LBB0_15:
	cmpq	%rcx, %rax
	je	LBB0_19
## %bb.16:
	cmpq	%rdx, %rax
	je	LBB0_19
## %bb.17:
	cmpq	(%r15), %rax
	je	LBB0_19
## %bb.18:
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_22
LBB0_21:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	(%r14), %ebx
	jmp	LBB0_24
LBB0_19:
	movq	_V4L2_CID_POWER_LINE_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_50HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movl	%eax, 32(%r12)
	testl	%eax, %eax
	jne	LBB0_21
LBB0_22:
	leaq	24(%r12), %rsi
	movl	$2, %edi
	callq	_v4l2_ctrl_cluster
	movq	(%r12), %rax
	xorl	%ebx, %ebx
	movq	_SENSOR_PO2030N@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.23:
	leaq	16(%r12), %rsi
	movl	$2, %edi
	callq	_v4l2_ctrl_cluster
	xorl	%ebx, %ebx
	movl	$3, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sd_ctrl_ops,4,2                ## @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_RED_BALANCE,4,2       ## @V4L2_CID_RED_BALANCE
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ## @V4L2_CID_BLUE_BALANCE
	.comm	_V4L2_CID_GAMMA,4,2             ## @V4L2_CID_GAMMA
	.comm	_SENSOR_OM6802,8,3              ## @SENSOR_OM6802
	.comm	_V4L2_CID_SHARPNESS,4,2         ## @V4L2_CID_SHARPNESS
	.comm	_F_ILLUM,4,2                    ## @F_ILLUM
	.comm	_V4L2_CID_ILLUMINATORS_1,4,2    ## @V4L2_CID_ILLUMINATORS_1
	.comm	_SENSOR_PO2030N,8,3             ## @SENSOR_PO2030N
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_SENSOR_ADCM1700,8,3            ## @SENSOR_ADCM1700
	.comm	_SENSOR_OV7660,8,3              ## @SENSOR_OV7660
	.comm	_SENSOR_PO1030,8,3              ## @SENSOR_PO1030
	.comm	_SENSOR_SOI768,8,3              ## @SENSOR_SOI768
	.comm	_SENSOR_SP80708,8,3             ## @SENSOR_SP80708
	.comm	_V4L2_CID_AUTOGAIN,4,2          ## @V4L2_CID_AUTOGAIN
	.comm	_SENSOR_HV7131R,8,3             ## @SENSOR_HV7131R
	.comm	_SENSOR_OV7630,8,3              ## @SENSOR_OV7630
	.comm	_SENSOR_OV7648,8,3              ## @SENSOR_OV7648
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_50HZ,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_50HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not initialize controls\n"

	.comm	_COLORS_DEF,4,2                 ## @COLORS_DEF
	.comm	_CONTRAST_MAX,4,2               ## @CONTRAST_MAX
	.comm	_GAMMA_DEF,4,2                  ## @GAMMA_DEF
	.no_dead_strip	_sd_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_init_controls
_sd_init_controls:                      ; @sd_init_controls
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x20, x0, #32
	mov	x21, x0
	str	x20, [x21, #24]!
	mov	x0, x20
	mov	w1, #14
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x22, _sd_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x22, [x22, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #96]
Lloh5:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #20
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #88]
Lloh8:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #40
	mov	w5, #1
	mov	w6, #25
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #80]
Lloh11:
	adrp	x8, _V4L2_CID_RED_BALANCE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CID_RED_BALANCE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #24
	mov	w4, #40
	mov	w5, #1
	mov	w6, #32
	bl	_v4l2_ctrl_new_std
	str	x0, [x21]
Lloh14:
	adrp	x8, _V4L2_CID_BLUE_BALANCE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_BLUE_BALANCE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #24
	mov	w4, #40
	mov	w5, #1
	mov	w6, #32
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #72]
Lloh17:
	adrp	x8, _V4L2_CID_GAMMA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CID_GAMMA@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #40
	mov	w5, #1
	mov	w6, #20
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #64]
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _SENSOR_OM6802@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SENSOR_OM6802@GOTPAGEOFF]
Lloh22:
	adrp	x10, _V4L2_CID_SHARPNESS@GOTPAGE
Lloh23:
	ldr	x10, [x10, _V4L2_CID_SHARPNESS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	ldr	w2, [x10]
	cmp	x8, x9
	mov	w8, #90
	mov	w9, #16
	csel	w6, w9, w8, eq
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
	ldr	w8, [x19, #8]
Lloh26:
	adrp	x9, _F_ILLUM@GOTPAGE
Lloh27:
	ldr	x9, [x9, _F_ILLUM@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh29:
	adrp	x8, _V4L2_CID_ILLUMINATORS_1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_CID_ILLUMINATORS_1@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh33:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #48]
LBB0_2:
	ldr	x0, [x19]
Lloh34:
	adrp	x23, _SENSOR_PO2030N@GOTPAGE
Lloh35:
	ldr	x23, [x23, _SENSOR_PO2030N@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh36:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x22, _sd_ctrl_ops@GOTPAGE
Lloh40:
	ldr	x22, [x22, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #500
	mov	w4, #1500
	mov	w5, #1
	mov	w6, #1024
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #16]
Lloh41:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #4
	mov	w4, #49
	mov	w5, #1
	mov	w6, #15
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #8]
Lloh44:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #40]
	ldr	x0, [x19]
LBB0_4:
Lloh47:
	adrp	x8, _SENSOR_ADCM1700@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SENSOR_ADCM1700@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
Lloh50:
	adrp	x22, _SENSOR_OV7660@GOTPAGE
Lloh51:
	ldr	x22, [x22, _SENSOR_OV7660@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.5:
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.6:
Lloh52:
	adrp	x8, _SENSOR_PO1030@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SENSOR_PO1030@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.7:
Lloh55:
	adrp	x8, _SENSOR_SOI768@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SENSOR_SOI768@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.8:
Lloh58:
	adrp	x8, _SENSOR_SP80708@GOTPAGE
Lloh59:
	ldr	x8, [x8, _SENSOR_SP80708@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.9:
Lloh61:
	adrp	x8, _V4L2_CID_AUTOGAIN@GOTPAGE
Lloh62:
	ldr	x8, [x8, _V4L2_CID_AUTOGAIN@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
Lloh64:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh65:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19]
LBB0_10:
Lloh66:
	adrp	x8, _SENSOR_HV7131R@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SENSOR_HV7131R@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
Lloh69:
	adrp	x25, _SENSOR_OV7630@GOTPAGE
Lloh70:
	ldr	x25, [x25, _SENSOR_OV7630@GOTPAGEOFF]
Lloh71:
	adrp	x24, _SENSOR_OV7648@GOTPAGE
Lloh72:
	ldr	x24, [x24, _SENSOR_OV7648@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.11:
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.12:
	ldr	x9, [x24]
	cmp	x0, x9
	b.eq	LBB0_14
; %bb.13:
	ldr	x10, [x23]
	cmp	x0, x10
	b.ne	LBB0_15
LBB0_14:
Lloh73:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh74:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
Lloh76:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh77:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #16]
	ldr	x0, [x19]
	ldr	x8, [x25]
	ldr	x9, [x24]
LBB0_15:
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.16:
	cmp	x0, x9
	b.eq	LBB0_20
; %bb.17:
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.18:
	ldr	w0, [x20]
	cbz	w0, LBB0_21
LBB0_19:
Lloh78:
	adrp	x0, l_.str@PAGE
Lloh79:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w0, [x20]
	b	LBB0_24
LBB0_20:
Lloh80:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGE
Lloh81:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
Lloh83:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGE
Lloh84:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGEOFF]
Lloh85:
	ldr	w3, [x8]
Lloh86:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_50HZ@GOTPAGE
Lloh87:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_50HZ@GOTPAGEOFF]
Lloh88:
	ldr	w5, [x8]
Lloh89:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh90:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	str	w0, [x19, #32]
	cbnz	w0, LBB0_19
LBB0_21:
	mov	w0, #2
	mov	x1, x21
	bl	_v4l2_ctrl_cluster
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	add	x1, x19, #16
	mov	w0, #2
	bl	_v4l2_ctrl_cluster
	mov	w0, #3
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_sd_ctrl_ops,4,2                ; @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_RED_BALANCE,4,2       ; @V4L2_CID_RED_BALANCE
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ; @V4L2_CID_BLUE_BALANCE
	.comm	_V4L2_CID_GAMMA,4,2             ; @V4L2_CID_GAMMA
	.comm	_SENSOR_OM6802,8,3              ; @SENSOR_OM6802
	.comm	_V4L2_CID_SHARPNESS,4,2         ; @V4L2_CID_SHARPNESS
	.comm	_F_ILLUM,4,2                    ; @F_ILLUM
	.comm	_V4L2_CID_ILLUMINATORS_1,4,2    ; @V4L2_CID_ILLUMINATORS_1
	.comm	_SENSOR_PO2030N,8,3             ; @SENSOR_PO2030N
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_SENSOR_ADCM1700,8,3            ; @SENSOR_ADCM1700
	.comm	_SENSOR_OV7660,8,3              ; @SENSOR_OV7660
	.comm	_SENSOR_PO1030,8,3              ; @SENSOR_PO1030
	.comm	_SENSOR_SOI768,8,3              ; @SENSOR_SOI768
	.comm	_SENSOR_SP80708,8,3             ; @SENSOR_SP80708
	.comm	_V4L2_CID_AUTOGAIN,4,2          ; @V4L2_CID_AUTOGAIN
	.comm	_SENSOR_HV7131R,8,3             ; @SENSOR_HV7131R
	.comm	_SENSOR_OV7630,8,3              ; @SENSOR_OV7630
	.comm	_SENSOR_OV7648,8,3              ; @SENSOR_OV7648
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_50HZ,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_50HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize controls\n"

	.comm	_COLORS_DEF,4,2                 ; @COLORS_DEF
	.comm	_CONTRAST_MAX,4,2               ; @CONTRAST_MAX
	.comm	_GAMMA_DEF,4,2                  ; @GAMMA_DEF
	.no_dead_strip	_sd_init_controls
.subsections_via_symbols
