	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m5mols_init_controls           ## -- Begin function m5mols_init_controls
	.p2align	4, 0x90
_m5mols_init_controls:                  ## @m5mols_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_to_m5mols
	movq	%rax, %r13
	movq	_AE_MAX_GAIN_MON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_m5mols_read_u16
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_REG_SAMSUNG_OPTICS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_is_manufacturer
	testq	%rax, %rax
	movl	$1, %eax
	movl	$31, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$20, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_WHITE_BALANCE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_m5mols_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$9, %ecx
	movl	$-1023, %r8d                    ## imm = 0xFC01
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 16(%r13)
	movq	_V4L2_CID_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$-4, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 24(%r13)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %r8d
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 112(%r13)
	movq	_V4L2_CID_AUTO_EXPOSURE_BIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ev_bias_qmenu@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %r14d
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r8d
	shrl	$31, %r8d
	addl	%eax, %r8d
	sarl	%r8d
	decl	%r8d
	movl	(%r12), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_v4l2_ctrl_new_int_menu
	movq	%rax, 104(%r13)
	movq	_V4L2_CID_EXPOSURE_METERING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_EXPOSURE_METERING_AVERAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$2, %ecx
	movl	$-8, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 96(%r13)
	movq	_V4L2_CID_ISO_SENSITIVITY_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$-4, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 40(%r13)
	movq	_V4L2_CID_ISO_SENSITIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_iso_qmenu@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ebx
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r8d
	shrl	$31, %r8d
	addl	%eax, %r8d
	sarl	%r8d
	decl	%r8d
	movl	(%r12), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_v4l2_ctrl_new_int_menu
	movq	%rax, 88(%r13)
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$3, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$5, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 80(%r13)
	movq	_V4L2_CID_ZOOM_ABSOLUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$70, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_v4l2_ctrl_new_std
	movq	%rax, 72(%r13)
	movq	_V4L2_CID_COLORFX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_COLORFX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 8(%r13)
	movq	_V4L2_CID_WIDE_DYNAMIC_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 64(%r13)
	movq	_V4L2_CID_IMAGE_STABILIZATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%r13)
	movq	_V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$100, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r13)
	movq	_V4L2_CID_3A_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$7, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%r13)
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_v4l2_err
	movq	%r13, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_4:
	leaq	24(%r13), %rsi
	movq	%r13, %rbx
	addq	$40, %rbx
	movl	$4, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_CTRL_FLAG_VOLATILE@GOTPCREL(%rip), %r14
	movq	_V4L2_CTRL_FLAG_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r14), %eax
	movq	40(%r13), %rcx
	orl	%eax, (%rcx)
	movl	$2, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movl	(%r14), %eax
	movq	32(%r13), %rcx
	orl	%eax, (%rcx)
	movq	24(%r13), %rdi
	movq	_REG_PARAMETER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_m5mols_set_ctrl_mode
	movq	16(%r13), %rdi
	movl	(%rbx), %esi
	callq	_m5mols_set_ctrl_mode
	movq	8(%r13), %rdi
	movq	_REG_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_m5mols_set_ctrl_mode
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_MAX_GAIN_MON,4,2            ## @AE_MAX_GAIN_MON
	.comm	_REG_SAMSUNG_OPTICS,4,2         ## @REG_SAMSUNG_OPTICS
	.comm	_m5mols_ctrl_ops,4,2            ## @m5mols_ctrl_ops
	.comm	_V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE,4,2 ## @V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE
	.comm	_V4L2_WHITE_BALANCE_AUTO,4,2    ## @V4L2_WHITE_BALANCE_AUTO
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ## @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ## @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_AUTO_EXPOSURE_BIAS,4,2 ## @V4L2_CID_AUTO_EXPOSURE_BIAS
	.comm	_ev_bias_qmenu,4,2              ## @ev_bias_qmenu
	.comm	_V4L2_CID_EXPOSURE_METERING,4,2 ## @V4L2_CID_EXPOSURE_METERING
	.comm	_V4L2_EXPOSURE_METERING_AVERAGE,4,2 ## @V4L2_EXPOSURE_METERING_AVERAGE
	.comm	_V4L2_CID_ISO_SENSITIVITY_AUTO,4,2 ## @V4L2_CID_ISO_SENSITIVITY_AUTO
	.comm	_V4L2_CID_ISO_SENSITIVITY,4,2   ## @V4L2_CID_ISO_SENSITIVITY
	.comm	_iso_qmenu,4,2                  ## @iso_qmenu
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_ZOOM_ABSOLUTE,4,2     ## @V4L2_CID_ZOOM_ABSOLUTE
	.comm	_V4L2_CID_COLORFX,4,2           ## @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_NONE,4,2          ## @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_WIDE_DYNAMIC_RANGE,4,2 ## @V4L2_CID_WIDE_DYNAMIC_RANGE
	.comm	_V4L2_CID_IMAGE_STABILIZATION,4,2 ## @V4L2_CID_IMAGE_STABILIZATION
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ## @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_V4L2_CID_3A_LOCK,4,2           ## @V4L2_CID_3A_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialize controls: %d\n"

	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ## @V4L2_CTRL_FLAG_VOLATILE
	.comm	_V4L2_CTRL_FLAG_UPDATE,4,2      ## @V4L2_CTRL_FLAG_UPDATE
	.comm	_REG_PARAMETER,4,2              ## @REG_PARAMETER
	.comm	_REG_MONITOR,4,2                ## @REG_MONITOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m5mols_init_controls           ; -- Begin function m5mols_init_controls
	.p2align	2
_m5mols_init_controls:                  ; @m5mols_init_controls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_to_m5mols
	mov	x19, x0
Lloh0:
	adrp	x8, _AE_MAX_GAIN_MON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_MAX_GAIN_MON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_m5mols_read_u16
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _REG_SAMSUNG_OPTICS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_SAMSUNG_OPTICS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_is_manufacturer
	cmp	x0, #0
	mov	w8, #31
	csinc	w23, w8, wzr, ne
	mov	x0, x19
	mov	w1, #20
	bl	_v4l2_ctrl_handler_init
Lloh6:
	adrp	x8, _V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _V4L2_WHITE_BALANCE_AUTO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_WHITE_BALANCE_AUTO@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x21, _m5mols_ctrl_ops@GOTPAGE
Lloh13:
	ldr	x21, [x21, _m5mols_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #9
	mov	w4, #-1023
	bl	_v4l2_ctrl_new_std_menu
	str	x0, [x19, #16]
Lloh14:
	adrp	x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _V4L2_EXPOSURE_AUTO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w4, #-4
	bl	_v4l2_ctrl_new_std_menu
	mov	x22, x19
	str	x0, [x22, #24]!
Lloh20:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldr	w4, [sp, #12]
	cmp	w4, #0
	cinc	w8, w4, lt
	asr	w6, w8, #1
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #112]
Lloh23:
	adrp	x8, _V4L2_CID_AUTO_EXPOSURE_BIAS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V4L2_CID_AUTO_EXPOSURE_BIAS@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
Lloh26:
	adrp	x26, _ev_bias_qmenu@GOTPAGE
Lloh27:
	ldr	x26, [x26, _ev_bias_qmenu@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_ARRAY_SIZE
	sub	w25, w0, #1
	ldr	w0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	sub	w4, w8, #1
	ldr	w5, [x26]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x25
	bl	_v4l2_ctrl_new_int_menu
	str	x0, [x19, #104]
Lloh28:
	adrp	x8, _V4L2_CID_EXPOSURE_METERING@GOTPAGE
Lloh29:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_METERING@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x8, _V4L2_EXPOSURE_METERING_AVERAGE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V4L2_EXPOSURE_METERING_AVERAGE@GOTPAGEOFF]
Lloh33:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #2
	mov	w4, #-8
	bl	_v4l2_ctrl_new_std_menu
	str	x0, [x19, #96]
Lloh34:
	adrp	x8, _V4L2_CID_ISO_SENSITIVITY_AUTO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _V4L2_CID_ISO_SENSITIVITY_AUTO@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w4, #-4
	mov	w5, #1
	bl	_v4l2_ctrl_new_std_menu
	mov	x24, x19
	str	x0, [x24, #40]!
Lloh37:
	adrp	x8, _V4L2_CID_ISO_SENSITIVITY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V4L2_CID_ISO_SENSITIVITY@GOTPAGEOFF]
Lloh39:
	ldr	w25, [x8]
Lloh40:
	adrp	x27, _iso_qmenu@GOTPAGE
Lloh41:
	ldr	x27, [x27, _iso_qmenu@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_ARRAY_SIZE
	sub	w26, w0, #1
	ldr	w0, [x27]
	bl	_ARRAY_SIZE
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	sub	w4, w8, #1
	ldr	w5, [x27]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	mov	x3, x26
	bl	_v4l2_ctrl_new_int_menu
	str	x0, [x19, #88]
Lloh42:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w4, #5
	mov	w5, #1
	mov	w6, #3
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #80]
Lloh45:
	adrp	x8, _V4L2_CID_ZOOM_ABSOLUTE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_CID_ZOOM_ABSOLUTE@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w4, #70
	mov	x5, x23
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #72]
Lloh48:
	adrp	x8, _V4L2_CID_COLORFX@GOTPAGE
Lloh49:
	ldr	x8, [x8, _V4L2_CID_COLORFX@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
Lloh51:
	adrp	x8, _V4L2_COLORFX_NONE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _V4L2_COLORFX_NONE@GOTPAGEOFF]
Lloh53:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #4
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	str	x0, [x19, #8]
Lloh54:
	adrp	x8, _V4L2_CID_WIDE_DYNAMIC_RANGE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _V4L2_CID_WIDE_DYNAMIC_RANGE@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #64]
Lloh57:
	adrp	x8, _V4L2_CID_IMAGE_STABILIZATION@GOTPAGE
Lloh58:
	ldr	x8, [x8, _V4L2_CID_IMAGE_STABILIZATION@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
Lloh60:
	adrp	x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGE
Lloh61:
	ldr	x8, [x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w4, #100
	mov	w5, #1
	mov	w6, #80
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #48]
Lloh63:
	adrp	x8, _V4L2_CID_3A_LOCK@GOTPAGE
Lloh64:
	ldr	x8, [x8, _V4L2_CID_3A_LOCK@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	w4, #7
	mov	w5, #0
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
	ldr	w21, [x19]
	cbz	w21, LBB0_4
; %bb.2:
Lloh66:
	adrp	x1, l_.str@PAGE
Lloh67:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_v4l2_err
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	b	LBB0_5
LBB0_3:
	mov	x21, x0
	b	LBB0_5
LBB0_4:
	mov	w0, #4
	mov	x1, x22
	mov	w2, #1
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
Lloh68:
	adrp	x21, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGE
Lloh69:
	ldr	x21, [x21, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh70:
	adrp	x9, _V4L2_CTRL_FLAG_UPDATE@GOTPAGE
Lloh71:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_UPDATE@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19, #40]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
	mov	w0, #2
	mov	x1, x24
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
	ldr	w8, [x21]
	ldp	x0, x9, [x19, #24]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh73:
	adrp	x21, _REG_PARAMETER@GOTPAGE
Lloh74:
	ldr	x21, [x21, _REG_PARAMETER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_m5mols_set_ctrl_mode
	ldr	x0, [x19, #16]
	ldr	w1, [x21]
	bl	_m5mols_set_ctrl_mode
	ldr	x0, [x19, #8]
Lloh75:
	adrp	x8, _REG_MONITOR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _REG_MONITOR@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	bl	_m5mols_set_ctrl_mode
	mov	w21, #0
	str	x19, [x20]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_MAX_GAIN_MON,4,2            ; @AE_MAX_GAIN_MON
	.comm	_REG_SAMSUNG_OPTICS,4,2         ; @REG_SAMSUNG_OPTICS
	.comm	_m5mols_ctrl_ops,4,2            ; @m5mols_ctrl_ops
	.comm	_V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE,4,2 ; @V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE
	.comm	_V4L2_WHITE_BALANCE_AUTO,4,2    ; @V4L2_WHITE_BALANCE_AUTO
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ; @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ; @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_AUTO_EXPOSURE_BIAS,4,2 ; @V4L2_CID_AUTO_EXPOSURE_BIAS
	.comm	_ev_bias_qmenu,4,2              ; @ev_bias_qmenu
	.comm	_V4L2_CID_EXPOSURE_METERING,4,2 ; @V4L2_CID_EXPOSURE_METERING
	.comm	_V4L2_EXPOSURE_METERING_AVERAGE,4,2 ; @V4L2_EXPOSURE_METERING_AVERAGE
	.comm	_V4L2_CID_ISO_SENSITIVITY_AUTO,4,2 ; @V4L2_CID_ISO_SENSITIVITY_AUTO
	.comm	_V4L2_CID_ISO_SENSITIVITY,4,2   ; @V4L2_CID_ISO_SENSITIVITY
	.comm	_iso_qmenu,4,2                  ; @iso_qmenu
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_ZOOM_ABSOLUTE,4,2     ; @V4L2_CID_ZOOM_ABSOLUTE
	.comm	_V4L2_CID_COLORFX,4,2           ; @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_NONE,4,2          ; @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_WIDE_DYNAMIC_RANGE,4,2 ; @V4L2_CID_WIDE_DYNAMIC_RANGE
	.comm	_V4L2_CID_IMAGE_STABILIZATION,4,2 ; @V4L2_CID_IMAGE_STABILIZATION
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ; @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_V4L2_CID_3A_LOCK,4,2           ; @V4L2_CID_3A_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialize controls: %d\n"

	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ; @V4L2_CTRL_FLAG_VOLATILE
	.comm	_V4L2_CTRL_FLAG_UPDATE,4,2      ; @V4L2_CTRL_FLAG_UPDATE
	.comm	_REG_PARAMETER,4,2              ; @REG_PARAMETER
	.comm	_REG_MONITOR,4,2                ; @REG_MONITOR
.subsections_via_symbols
