	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	24(%rdi), %r14
	movq	%r14, 16(%rdi)
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_valid_controls@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%r15), %rax
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 56(%rcx,%rdx)
	je	LBB0_2
## %bb.1:
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SEN_OV7660@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$6, %eax
	movl	$255, %r8d
	cmovel	%eax, %r8d
	movl	$3, %eax
	movl	$127, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%r15)
	movq	(%r12), %rcx
	movq	(%r15), %rax
LBB0_2:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 48(%rcx,%rdx)
	je	LBB0_7
## %bb.3:
	movq	_SEN_OV7660@GOTPCREL(%rip), %rcx
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	$3, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$6, %r8d
	jmp	LBB0_6
LBB0_5:
	movq	_SEN_OV6630@GOTPCREL(%rip), %rcx
	movq	_SEN_OV66308AF@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	movl	$200, %esi
	movl	$127, %edi
	cmovel	%esi, %edi
	cmpq	(%rcx), %rax
	cmovel	%esi, %edi
	movl	%edi, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$255, %r8d
LBB0_6:
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_7:
	movq	(%r12), %rcx
	movq	(%r15), %rax
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 40(%rcx,%rdx)
	je	LBB0_9
## %bb.8:
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SEN_OV7660@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$4, %eax
	movl	$255, %r8d
	cmovel	%eax, %r8d
	movl	$2, %eax
	movl	$127, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	(%r12), %rcx
	movq	(%r15), %rax
LBB0_9:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 32(%rcx,%rdx)
	je	LBB0_11
## %bb.10:
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$127, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%r15)
	movq	(%r12), %rcx
	movq	(%r15), %rax
LBB0_11:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 24(%rcx,%rdx)
	je	LBB0_13
## %bb.12:
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r15)
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r15)
	movq	(%r12), %rcx
	movq	(%r15), %rax
LBB0_13:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 16(%rcx,%rdx)
	je	LBB0_15
## %bb.14:
	movq	_V4L2_CID_AUTOBRIGHTNESS@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, 24(%r15)
	movq	(%r12), %rcx
	movq	(%r15), %rax
LBB0_15:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, 8(%rcx,%rdx)
	je	LBB0_17
## %bb.16:
	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, (%r15)
	movq	(%r12), %rcx
LBB0_17:
	movq	%rax, %rdx
	shlq	$6, %rdx
	cmpq	$0, (%rcx,%rdx)
	je	LBB0_22
## %bb.18:
	movq	_SEN_OV7670@GOTPCREL(%rip), %rcx
	movq	_V4L2_CID_POWER_LINE_FREQUENCY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	movl	%ecx, %r9d
	jmp	LBB0_21
LBB0_20:
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
LBB0_21:
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 40(%r15)
LBB0_22:
	movq	8(%r15), %rax
	movq	_BRIDGE_W9968CF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.23:
	movq	_V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QUALITY_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_QUALITY_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_QUALITY_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%r15)
LBB0_24:
	cmpl	$0, (%r14)
	je	LBB0_26
## %bb.25:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_gspca_err
	movl	24(%r15), %ebx
	jmp	LBB0_32
LBB0_26:
	cmpq	$0, (%r15)
	je	LBB0_28
## %bb.27:
	movl	$3, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_auto_cluster
LBB0_28:
	cmpq	$0, (%r14)
	je	LBB0_30
## %bb.29:
	movl	$2, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
LBB0_30:
	xorl	%ebx, %ebx
	cmpq	$0, 16(%r15)
	je	LBB0_32
## %bb.31:
	addq	$16, %r15
	movl	$2, %edi
	movq	%r15, %rsi
	callq	_v4l2_ctrl_cluster
LBB0_32:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_valid_controls,8,3             ## @valid_controls
	.comm	_sd_ctrl_ops,4,2                ## @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_SEN_OV7660,8,3                 ## @SEN_OV7660
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_SEN_OV6630,8,3                 ## @SEN_OV6630
	.comm	_SEN_OV66308AF,8,3              ## @SEN_OV66308AF
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_AUTOBRIGHTNESS,4,2    ## @V4L2_CID_AUTOBRIGHTNESS
	.comm	_V4L2_CID_AUTOGAIN,4,2          ## @V4L2_CID_AUTOGAIN
	.comm	_SEN_OV7670,8,3                 ## @SEN_OV7670
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_AUTO
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_BRIDGE_W9968CF,8,3             ## @BRIDGE_W9968CF
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ## @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_QUALITY_MIN,4,2                ## @QUALITY_MIN
	.comm	_QUALITY_MAX,4,2                ## @QUALITY_MAX
	.comm	_QUALITY_DEF,4,2                ## @QUALITY_DEF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not initialize controls\n"

	.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	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	x19, x0
	add	x20, x0, #24
	str	x20, [x0, #16]
	mov	x0, x20
	mov	w1, #10
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x22, _valid_controls@GOTPAGE
Lloh1:
	ldr	x22, [x22, _valid_controls@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x8, [x19]
	add	x10, x9, x8, lsl #6
	ldr	x10, [x10, #56]
Lloh2:
	adrp	x21, _SEN_OV7660@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SEN_OV7660@GOTPAGEOFF]
	cbz	x10, LBB0_2
; %bb.1:
Lloh4:
	adrp	x9, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x9]
	ldr	x9, [x21]
	cmp	x8, x9
	mov	w8, #255
	mov	w9, #6
	csel	w4, w9, w8, eq
	mov	w8, #127
	mov	w9, #3
	csel	w6, w9, w8, eq
Lloh7:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh8:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
	ldr	x9, [x22]
	ldr	x8, [x19]
LBB0_2:
	add	x9, x9, x8, lsl #6
	ldr	x9, [x9, #48]
	cbz	x9, LBB0_7
; %bb.3:
	ldr	x9, [x21]
Lloh9:
	adrp	x10, _V4L2_CID_CONTRAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x10]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh13:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #6
	mov	w5, #1
	mov	w6, #3
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x9, _SEN_OV6630@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SEN_OV6630@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _SEN_OV66308AF@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SEN_OV66308AF@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	mov	w8, #127
	mov	w9, #200
	csel	w6, w9, w8, eq
Lloh20:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh21:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
LBB0_6:
	bl	_v4l2_ctrl_new_std
LBB0_7:
	ldr	x8, [x22]
	ldr	x0, [x19]
	add	x9, x8, x0, lsl #6
	ldr	x9, [x9, #40]
	cbz	x9, LBB0_9
; %bb.8:
Lloh22:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	x8, [x21]
	cmp	x0, x8
	mov	w8, #255
	mov	w9, #4
	csel	w4, w9, w8, eq
	mov	w8, #127
	mov	w9, #2
	csel	w6, w9, w8, eq
Lloh25:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh26:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	ldr	x8, [x22]
	ldr	x0, [x19]
LBB0_9:
	add	x9, x8, x0, lsl #6
	ldr	x9, [x9, #32]
	cbz	x9, LBB0_11
; %bb.10:
Lloh27:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh31:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #127
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #8]
	ldr	x8, [x22]
	ldr	x0, [x19]
LBB0_11:
	add	x9, x8, x0, lsl #6
	ldr	x9, [x9, #24]
	cbz	x9, LBB0_13
; %bb.12:
Lloh32:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x21, _sd_ctrl_ops@GOTPAGE
Lloh36:
	ldr	x21, [x21, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #16]
Lloh37:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #48]
	ldr	x8, [x22]
	ldr	x0, [x19]
LBB0_13:
	add	x9, x8, x0, lsl #6
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_15
; %bb.14:
Lloh40:
	adrp	x8, _V4L2_CID_AUTOBRIGHTNESS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _V4L2_CID_AUTOBRIGHTNESS@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh44:
	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, #24]
	ldr	x8, [x22]
	ldr	x0, [x19]
LBB0_15:
	add	x9, x8, x0, lsl #6
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_17
; %bb.16:
Lloh45:
	adrp	x8, _V4L2_CID_AUTOGAIN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_CID_AUTOGAIN@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh49:
	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]
	ldr	x8, [x22]
LBB0_17:
	lsl	x9, x0, #6
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_22
; %bb.18:
Lloh50:
	adrp	x8, _SEN_OV7670@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SEN_OV7670@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
Lloh53:
	adrp	x9, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGE
Lloh54:
	ldr	x9, [x9, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x9]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.19:
Lloh56:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
Lloh59:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh60:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w4, #0
	mov	x5, x3
	b	LBB0_21
LBB0_20:
Lloh61:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGE
Lloh62:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGEOFF]
Lloh63:
	ldr	w3, [x8]
Lloh64:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh65:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w4, #0
	mov	w5, #0
LBB0_21:
	bl	_v4l2_ctrl_new_std_menu
	str	x0, [x19, #40]
LBB0_22:
	ldr	x8, [x19, #8]
Lloh66:
	adrp	x9, _BRIDGE_W9968CF@GOTPAGE
Lloh67:
	ldr	x9, [x9, _BRIDGE_W9968CF@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.23:
Lloh69:
	adrp	x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
Lloh72:
	adrp	x8, _QUALITY_MIN@GOTPAGE
Lloh73:
	ldr	x8, [x8, _QUALITY_MIN@GOTPAGEOFF]
Lloh74:
	ldr	w3, [x8]
Lloh75:
	adrp	x8, _QUALITY_MAX@GOTPAGE
Lloh76:
	ldr	x8, [x8, _QUALITY_MAX@GOTPAGEOFF]
Lloh77:
	ldr	w4, [x8]
Lloh78:
	adrp	x8, _QUALITY_DEF@GOTPAGE
Lloh79:
	ldr	x8, [x8, _QUALITY_DEF@GOTPAGEOFF]
Lloh80:
	ldr	w6, [x8]
Lloh81:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh82:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
LBB0_24:
	ldr	w8, [x20]
	cbz	w8, LBB0_26
; %bb.25:
Lloh83:
	adrp	x1, l_.str@PAGE
Lloh84:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gspca_err
	ldr	w0, [x19, #24]
	b	LBB0_33
LBB0_26:
	ldr	x8, [x19]
	cbz	x8, LBB0_28
; %bb.27:
	mov	w0, #3
	mov	x1, x19
	mov	w2, #0
	mov	w3, #1
	bl	_v4l2_ctrl_auto_cluster
LBB0_28:
	ldr	x8, [x20]
	cbz	x8, LBB0_30
; %bb.29:
	mov	w0, #2
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
LBB0_30:
	ldr	x8, [x19, #16]!
	cbz	x8, LBB0_32
; %bb.31:
	mov	w0, #2
	mov	x1, x19
	bl	_v4l2_ctrl_cluster
LBB0_32:
	mov	w0, #0
LBB0_33:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_valid_controls,8,3             ; @valid_controls
	.comm	_sd_ctrl_ops,4,2                ; @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_SEN_OV7660,8,3                 ; @SEN_OV7660
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_SEN_OV6630,8,3                 ; @SEN_OV6630
	.comm	_SEN_OV66308AF,8,3              ; @SEN_OV66308AF
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_AUTOBRIGHTNESS,4,2    ; @V4L2_CID_AUTOBRIGHTNESS
	.comm	_V4L2_CID_AUTOGAIN,4,2          ; @V4L2_CID_AUTOGAIN
	.comm	_SEN_OV7670,8,3                 ; @SEN_OV7670
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_AUTO
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_BRIDGE_W9968CF,8,3             ; @BRIDGE_W9968CF
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ; @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_QUALITY_MIN,4,2                ; @QUALITY_MIN
	.comm	_QUALITY_MAX,4,2                ; @QUALITY_MAX
	.comm	_QUALITY_DEF,4,2                ; @QUALITY_DEF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_sd_init_controls
.subsections_via_symbols
