	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv748x_hdmi_init_controls
_adv748x_hdmi_init_controls:            ## @adv748x_hdmi_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
	callq	_adv748x_hdmi_to_state
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	%r14, 8(%rbx)
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADV748X_CP_BRI_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV748X_CP_BRI_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV748X_CP_BRI_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_adv748x_hdmi_ctrl_ops@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADV748X_CP_CON_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV748X_CP_CON_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV748X_CP_CON_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADV748X_CP_SAT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV748X_CP_SAT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV748X_CP_SAT_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADV748X_CP_HUE_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV748X_CP_HUE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV748X_CP_HUE_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_hdmi_ctrl_patgen_menu@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	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
	movq	%rbx, 16(%rbx)
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_handler_free
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_ctrl_handler_setup        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adv748x_hdmi_ctrl_ops,4,2      ## @adv748x_hdmi_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_ADV748X_CP_BRI_MIN,4,2         ## @ADV748X_CP_BRI_MIN
	.comm	_ADV748X_CP_BRI_MAX,4,2         ## @ADV748X_CP_BRI_MAX
	.comm	_ADV748X_CP_BRI_DEF,4,2         ## @ADV748X_CP_BRI_DEF
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_ADV748X_CP_CON_MIN,4,2         ## @ADV748X_CP_CON_MIN
	.comm	_ADV748X_CP_CON_MAX,4,2         ## @ADV748X_CP_CON_MAX
	.comm	_ADV748X_CP_CON_DEF,4,2         ## @ADV748X_CP_CON_DEF
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_ADV748X_CP_SAT_MIN,4,2         ## @ADV748X_CP_SAT_MIN
	.comm	_ADV748X_CP_SAT_MAX,4,2         ## @ADV748X_CP_SAT_MAX
	.comm	_ADV748X_CP_SAT_DEF,4,2         ## @ADV748X_CP_SAT_DEF
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_ADV748X_CP_HUE_MIN,4,2         ## @ADV748X_CP_HUE_MIN
	.comm	_ADV748X_CP_HUE_MAX,4,2         ## @ADV748X_CP_HUE_MAX
	.comm	_ADV748X_CP_HUE_DEF,4,2         ## @ADV748X_CP_HUE_DEF
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_hdmi_ctrl_patgen_menu,4,2      ## @hdmi_ctrl_patgen_menu
	.no_dead_strip	_adv748x_hdmi_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv748x_hdmi_init_controls
_adv748x_hdmi_init_controls:            ; @adv748x_hdmi_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
	bl	_adv748x_hdmi_to_state
	mov	x20, x0
	mov	x0, x19
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
	str	x20, [x19, #8]
Lloh0:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ADV748X_CP_BRI_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV748X_CP_BRI_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _ADV748X_CP_BRI_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADV748X_CP_BRI_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _ADV748X_CP_BRI_DEF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADV748X_CP_BRI_DEF@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x20, _adv748x_hdmi_ctrl_ops@GOTPAGE
Lloh13:
	ldr	x20, [x20, _adv748x_hdmi_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh14:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _ADV748X_CP_CON_MIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ADV748X_CP_CON_MIN@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
Lloh20:
	adrp	x8, _ADV748X_CP_CON_MAX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ADV748X_CP_CON_MAX@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _ADV748X_CP_CON_DEF@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ADV748X_CP_CON_DEF@GOTPAGEOFF]
Lloh25:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh26:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _ADV748X_CP_SAT_MIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ADV748X_CP_SAT_MIN@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x8, _ADV748X_CP_SAT_MAX@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ADV748X_CP_SAT_MAX@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
Lloh35:
	adrp	x8, _ADV748X_CP_SAT_DEF@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ADV748X_CP_SAT_DEF@GOTPAGEOFF]
Lloh37:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh38:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
Lloh41:
	adrp	x8, _ADV748X_CP_HUE_MIN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ADV748X_CP_HUE_MIN@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x8, _ADV748X_CP_HUE_MAX@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ADV748X_CP_HUE_MAX@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x8]
Lloh47:
	adrp	x8, _ADV748X_CP_HUE_DEF@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ADV748X_CP_HUE_DEF@GOTPAGEOFF]
Lloh49:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh50:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh52:
	ldr	w21, [x8]
Lloh53:
	adrp	x22, _hdmi_ctrl_patgen_menu@GOTPAGE
Lloh54:
	ldr	x22, [x22, _hdmi_ctrl_patgen_menu@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	str	x19, [x19, #16]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	ldr	w0, [x19]
	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_2:
	mov	x0, x19
	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	_v4l2_ctrl_handler_setup
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_adv748x_hdmi_ctrl_ops,4,2      ; @adv748x_hdmi_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_ADV748X_CP_BRI_MIN,4,2         ; @ADV748X_CP_BRI_MIN
	.comm	_ADV748X_CP_BRI_MAX,4,2         ; @ADV748X_CP_BRI_MAX
	.comm	_ADV748X_CP_BRI_DEF,4,2         ; @ADV748X_CP_BRI_DEF
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_ADV748X_CP_CON_MIN,4,2         ; @ADV748X_CP_CON_MIN
	.comm	_ADV748X_CP_CON_MAX,4,2         ; @ADV748X_CP_CON_MAX
	.comm	_ADV748X_CP_CON_DEF,4,2         ; @ADV748X_CP_CON_DEF
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_ADV748X_CP_SAT_MIN,4,2         ; @ADV748X_CP_SAT_MIN
	.comm	_ADV748X_CP_SAT_MAX,4,2         ; @ADV748X_CP_SAT_MAX
	.comm	_ADV748X_CP_SAT_DEF,4,2         ; @ADV748X_CP_SAT_DEF
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_ADV748X_CP_HUE_MIN,4,2         ; @ADV748X_CP_HUE_MIN
	.comm	_ADV748X_CP_HUE_MAX,4,2         ; @ADV748X_CP_HUE_MAX
	.comm	_ADV748X_CP_HUE_DEF,4,2         ; @ADV748X_CP_HUE_DEF
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_hdmi_ctrl_patgen_menu,4,2      ; @hdmi_ctrl_patgen_menu
	.no_dead_strip	_adv748x_hdmi_init_controls
.subsections_via_symbols
