	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7180_init_controls
_adv7180_init_controls:                 ## @adv7180_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$4, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADV7180_BRI_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV7180_BRI_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV7180_BRI_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_adv7180_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	_ADV7180_CON_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV7180_CON_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV7180_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	_ADV7180_SAT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV7180_SAT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV7180_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	_ADV7180_HUE_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADV7180_HUE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ADV7180_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	_adv7180_ctrl_fast_switch@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_v4l2_ctrl_new_custom
	movq	%rbx, 8(%rbx)
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_3
LBB0_2:
	callq	_v4l2_ctrl_handler_setup
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adv7180_ctrl_ops,4,2           ## @adv7180_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_ADV7180_BRI_MIN,4,2            ## @ADV7180_BRI_MIN
	.comm	_ADV7180_BRI_MAX,4,2            ## @ADV7180_BRI_MAX
	.comm	_ADV7180_BRI_DEF,4,2            ## @ADV7180_BRI_DEF
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_ADV7180_CON_MIN,4,2            ## @ADV7180_CON_MIN
	.comm	_ADV7180_CON_MAX,4,2            ## @ADV7180_CON_MAX
	.comm	_ADV7180_CON_DEF,4,2            ## @ADV7180_CON_DEF
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_ADV7180_SAT_MIN,4,2            ## @ADV7180_SAT_MIN
	.comm	_ADV7180_SAT_MAX,4,2            ## @ADV7180_SAT_MAX
	.comm	_ADV7180_SAT_DEF,4,2            ## @ADV7180_SAT_DEF
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_ADV7180_HUE_MIN,4,2            ## @ADV7180_HUE_MIN
	.comm	_ADV7180_HUE_MAX,4,2            ## @ADV7180_HUE_MAX
	.comm	_ADV7180_HUE_DEF,4,2            ## @ADV7180_HUE_DEF
	.comm	_adv7180_ctrl_fast_switch,4,2   ## @adv7180_ctrl_fast_switch
	.no_dead_strip	_adv7180_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7180_init_controls
_adv7180_init_controls:                 ; @adv7180_init_controls
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #4
	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	x8, _ADV7180_BRI_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV7180_BRI_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _ADV7180_BRI_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADV7180_BRI_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _ADV7180_BRI_DEF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADV7180_BRI_DEF@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x20, _adv7180_ctrl_ops@GOTPAGE
Lloh13:
	ldr	x20, [x20, _adv7180_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, _ADV7180_CON_MIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ADV7180_CON_MIN@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
Lloh20:
	adrp	x8, _ADV7180_CON_MAX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ADV7180_CON_MAX@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _ADV7180_CON_DEF@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ADV7180_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, _ADV7180_SAT_MIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ADV7180_SAT_MIN@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x8, _ADV7180_SAT_MAX@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ADV7180_SAT_MAX@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
Lloh35:
	adrp	x8, _ADV7180_SAT_DEF@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ADV7180_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, _ADV7180_HUE_MIN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ADV7180_HUE_MIN@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x8, _ADV7180_HUE_MAX@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ADV7180_HUE_MAX@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x8]
Lloh47:
	adrp	x8, _ADV7180_HUE_DEF@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ADV7180_HUE_DEF@GOTPAGEOFF]
Lloh49:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh50:
	adrp	x1, _adv7180_ctrl_fast_switch@GOTPAGE
Lloh51:
	ldr	x1, [x1, _adv7180_ctrl_fast_switch@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, #0
	bl	_v4l2_ctrl_new_custom
	str	x19, [x19, #8]
	ldr	w20, [x19]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_setup
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh50, Lloh51
	.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	_adv7180_ctrl_ops,4,2           ; @adv7180_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_ADV7180_BRI_MIN,4,2            ; @ADV7180_BRI_MIN
	.comm	_ADV7180_BRI_MAX,4,2            ; @ADV7180_BRI_MAX
	.comm	_ADV7180_BRI_DEF,4,2            ; @ADV7180_BRI_DEF
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_ADV7180_CON_MIN,4,2            ; @ADV7180_CON_MIN
	.comm	_ADV7180_CON_MAX,4,2            ; @ADV7180_CON_MAX
	.comm	_ADV7180_CON_DEF,4,2            ; @ADV7180_CON_DEF
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_ADV7180_SAT_MIN,4,2            ; @ADV7180_SAT_MIN
	.comm	_ADV7180_SAT_MAX,4,2            ; @ADV7180_SAT_MAX
	.comm	_ADV7180_SAT_DEF,4,2            ; @ADV7180_SAT_DEF
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_ADV7180_HUE_MIN,4,2            ; @ADV7180_HUE_MIN
	.comm	_ADV7180_HUE_MAX,4,2            ; @ADV7180_HUE_MAX
	.comm	_ADV7180_HUE_DEF,4,2            ; @ADV7180_HUE_DEF
	.comm	_adv7180_ctrl_fast_switch,4,2   ; @adv7180_ctrl_fast_switch
	.no_dead_strip	_adv7180_init_controls
.subsections_via_symbols
