	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function et8ek8_init_controls
_et8ek8_init_controls:                  ## @et8ek8_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, %rbx
	movl	$4, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_et8ek8_gain_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %r8d
	movl	$0, (%rsp)
	movq	_et8ek8_ctrl_ops@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	32(%rbx), %rax
	movl	(%rax), %r8d
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r8d, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%rbx)
	movq	_V4L2_CID_PIXEL_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%rbx)
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_et8ek8_test_pattern_menu@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, 8(%rbx)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_et8ek8_ctrl_ops,4,2            ## @et8ek8_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_et8ek8_gain_table,4,2          ## @et8ek8_gain_table
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ## @V4L2_CID_PIXEL_RATE
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_et8ek8_test_pattern_menu,4,2   ## @et8ek8_test_pattern_menu
	.no_dead_strip	_et8ek8_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function et8ek8_init_controls
_et8ek8_init_controls:                  ; @et8ek8_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
	mov	w1, #4
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _et8ek8_gain_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _et8ek8_gain_table@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	sub	w4, w0, #1
Lloh6:
	adrp	x21, _et8ek8_ctrl_ops@GOTPAGE
Lloh7:
	ldr	x21, [x21, _et8ek8_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	ldr	x8, [x19, #32]
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w5, #1
	mov	x6, x4
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #24]
Lloh11:
	adrp	x8, _V4L2_CID_PIXEL_RATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CID_PIXEL_RATE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #16]
Lloh17:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	adrp	x22, _et8ek8_test_pattern_menu@GOTPAGE
Lloh21:
	ldr	x22, [x22, _et8ek8_test_pattern_menu@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ARRAY_SIZE
	sub	w3, w0, #1
	ldr	w6, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	ldr	w0, [x19]
	cbnz	w0, LBB0_2
; %bb.1:
	str	x19, [x19, #8]
LBB0_2:
	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	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_et8ek8_ctrl_ops,4,2            ; @et8ek8_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_et8ek8_gain_table,4,2          ; @et8ek8_gain_table
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ; @V4L2_CID_PIXEL_RATE
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_et8ek8_test_pattern_menu,4,2   ; @et8ek8_test_pattern_menu
	.no_dead_strip	_et8ek8_init_controls
.subsections_via_symbols
