	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adp1653_init_controls
_adp1653_init_controls:                 ## @adp1653_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	$9, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_FLASH_LED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_FLASH_LED_MODE_TORCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_adp1653_ctrl_ops@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$-8, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movl	%eax, 56(%rbx)
	movq	_V4L2_CID_FLASH_STROBE_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_FLASH_STROBE_SOURCE_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$-2, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_FLASH_STROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_FLASH_STROBE_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_FLASH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TIMEOUT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	movl	(%rax), %r8d
	movq	_TIMEOUT_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r8d, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%rbx)
	movq	_V4L2_CID_FLASH_INTENSITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADP1653_FLASH_INTENSITY_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	movl	4(%rax), %r8d
	movl	%r8d, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 40(%rbx)
	movq	_V4L2_CID_FLASH_TORCH_INTENSITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADP1653_TORCH_INTENSITY_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	movl	8(%rax), %r8d
	movq	_ADP1653_FLASH_INTENSITY_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r8d, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%rbx)
	movq	_V4L2_CID_FLASH_INDICATOR_INTENSITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADP1653_INDICATOR_INTENSITY_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	movl	12(%rax), %r8d
	movq	_ADP1653_INDICATOR_INTENSITY_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%ecx, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%rbx)
	movq	_V4L2_CID_FLASH_FAULT@GOTPCREL(%rip), %rax
	movq	_V4L2_FLASH_FAULT_OVER_VOLTAGE@GOTPCREL(%rip), %rcx
	movq	_V4L2_FLASH_FAULT_OVER_TEMPERATURE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rcx), %r8d
	movl	(%rax), %edx
	movq	_V4L2_FLASH_FAULT_SHORT_CIRCUIT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, %rcx
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_V4L2_CTRL_FLAG_VOLATILE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%rcx)
	movq	%rbx, 8(%rbx)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adp1653_ctrl_ops,4,2           ## @adp1653_ctrl_ops
	.comm	_V4L2_CID_FLASH_LED_MODE,4,2    ## @V4L2_CID_FLASH_LED_MODE
	.comm	_V4L2_FLASH_LED_MODE_TORCH,4,2  ## @V4L2_FLASH_LED_MODE_TORCH
	.comm	_V4L2_CID_FLASH_STROBE_SOURCE,4,2 ## @V4L2_CID_FLASH_STROBE_SOURCE
	.comm	_V4L2_FLASH_STROBE_SOURCE_SOFTWARE,4,2 ## @V4L2_FLASH_STROBE_SOURCE_SOFTWARE
	.comm	_V4L2_CID_FLASH_STROBE,4,2      ## @V4L2_CID_FLASH_STROBE
	.comm	_V4L2_CID_FLASH_STROBE_STOP,4,2 ## @V4L2_CID_FLASH_STROBE_STOP
	.comm	_V4L2_CID_FLASH_TIMEOUT,4,2     ## @V4L2_CID_FLASH_TIMEOUT
	.comm	_TIMEOUT_MIN,4,2                ## @TIMEOUT_MIN
	.comm	_TIMEOUT_STEP,4,2               ## @TIMEOUT_STEP
	.comm	_V4L2_CID_FLASH_INTENSITY,4,2   ## @V4L2_CID_FLASH_INTENSITY
	.comm	_ADP1653_FLASH_INTENSITY_MIN,4,2 ## @ADP1653_FLASH_INTENSITY_MIN
	.comm	_V4L2_CID_FLASH_TORCH_INTENSITY,4,2 ## @V4L2_CID_FLASH_TORCH_INTENSITY
	.comm	_ADP1653_TORCH_INTENSITY_MIN,4,2 ## @ADP1653_TORCH_INTENSITY_MIN
	.comm	_ADP1653_FLASH_INTENSITY_STEP,4,2 ## @ADP1653_FLASH_INTENSITY_STEP
	.comm	_V4L2_CID_FLASH_INDICATOR_INTENSITY,4,2 ## @V4L2_CID_FLASH_INDICATOR_INTENSITY
	.comm	_ADP1653_INDICATOR_INTENSITY_MIN,4,2 ## @ADP1653_INDICATOR_INTENSITY_MIN
	.comm	_ADP1653_INDICATOR_INTENSITY_STEP,4,2 ## @ADP1653_INDICATOR_INTENSITY_STEP
	.comm	_V4L2_CID_FLASH_FAULT,4,2       ## @V4L2_CID_FLASH_FAULT
	.comm	_V4L2_FLASH_FAULT_OVER_VOLTAGE,4,2 ## @V4L2_FLASH_FAULT_OVER_VOLTAGE
	.comm	_V4L2_FLASH_FAULT_OVER_TEMPERATURE,4,2 ## @V4L2_FLASH_FAULT_OVER_TEMPERATURE
	.comm	_V4L2_FLASH_FAULT_SHORT_CIRCUIT,4,2 ## @V4L2_FLASH_FAULT_SHORT_CIRCUIT
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ## @V4L2_CTRL_FLAG_VOLATILE
	.no_dead_strip	_adp1653_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adp1653_init_controls
_adp1653_init_controls:                 ; @adp1653_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, #9
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x8, _V4L2_CID_FLASH_LED_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_FLASH_LED_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _V4L2_FLASH_LED_MODE_TORCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_FLASH_LED_MODE_TORCH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x20, _adp1653_ctrl_ops@GOTPAGE
Lloh7:
	ldr	x20, [x20, _adp1653_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #-8
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu
	str	w0, [x19, #56]
Lloh8:
	adrp	x8, _V4L2_CID_FLASH_STROBE_SOURCE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CID_FLASH_STROBE_SOURCE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _V4L2_FLASH_STROBE_SOURCE_SOFTWARE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_FLASH_STROBE_SOURCE_SOFTWARE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #-2
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu
Lloh14:
	adrp	x8, _V4L2_CID_FLASH_STROBE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_FLASH_STROBE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh17:
	adrp	x8, _V4L2_CID_FLASH_STROBE_STOP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CID_FLASH_STROBE_STOP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh20:
	adrp	x8, _V4L2_CID_FLASH_TIMEOUT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_CID_FLASH_TIMEOUT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _TIMEOUT_MIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TIMEOUT_MIN@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	ldr	x8, [x19, #16]
	ldr	w4, [x8]
Lloh26:
	adrp	x8, _TIMEOUT_STEP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TIMEOUT_STEP@GOTPAGEOFF]
Lloh28:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x6, x4
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #48]
Lloh29:
	adrp	x8, _V4L2_CID_FLASH_INTENSITY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_CID_FLASH_INTENSITY@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _ADP1653_FLASH_INTENSITY_MIN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ADP1653_FLASH_INTENSITY_MIN@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	ldr	x8, [x19, #16]
	ldr	w4, [x8, #4]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #1
	mov	x6, x4
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #40]
Lloh35:
	adrp	x8, _V4L2_CID_FLASH_TORCH_INTENSITY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _V4L2_CID_FLASH_TORCH_INTENSITY@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _ADP1653_TORCH_INTENSITY_MIN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ADP1653_TORCH_INTENSITY_MIN@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	ldr	x8, [x19, #16]
	ldr	w4, [x8, #8]
Lloh41:
	adrp	x8, _ADP1653_FLASH_INTENSITY_STEP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ADP1653_FLASH_INTENSITY_STEP@GOTPAGEOFF]
Lloh43:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x6, x4
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
Lloh44:
	adrp	x8, _V4L2_CID_FLASH_INDICATOR_INTENSITY@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V4L2_CID_FLASH_INDICATOR_INTENSITY@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
Lloh47:
	adrp	x8, _ADP1653_INDICATOR_INTENSITY_MIN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ADP1653_INDICATOR_INTENSITY_MIN@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
	ldr	x8, [x19, #16]
	ldr	w4, [x8, #12]
Lloh50:
	adrp	x8, _ADP1653_INDICATOR_INTENSITY_STEP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ADP1653_INDICATOR_INTENSITY_STEP@GOTPAGEOFF]
Lloh52:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x6, x3
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #24]
Lloh53:
	adrp	x8, _V4L2_CID_FLASH_FAULT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V4L2_CID_FLASH_FAULT@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
Lloh56:
	adrp	x8, _V4L2_FLASH_FAULT_OVER_VOLTAGE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_FLASH_FAULT_OVER_VOLTAGE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x9, _V4L2_FLASH_FAULT_OVER_TEMPERATURE@GOTPAGE
Lloh60:
	ldr	x9, [x9, _V4L2_FLASH_FAULT_OVER_TEMPERATURE@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh62:
	adrp	x9, _V4L2_FLASH_FAULT_SHORT_CIRCUIT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _V4L2_FLASH_FAULT_SHORT_CIRCUIT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w4, w8, w9
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	w5, #0
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	mov	x8, x0
	ldr	w0, [x19]
	cbnz	w0, LBB0_2
; %bb.1:
Lloh65:
	adrp	x9, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	str	x19, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_adp1653_ctrl_ops,4,2           ; @adp1653_ctrl_ops
	.comm	_V4L2_CID_FLASH_LED_MODE,4,2    ; @V4L2_CID_FLASH_LED_MODE
	.comm	_V4L2_FLASH_LED_MODE_TORCH,4,2  ; @V4L2_FLASH_LED_MODE_TORCH
	.comm	_V4L2_CID_FLASH_STROBE_SOURCE,4,2 ; @V4L2_CID_FLASH_STROBE_SOURCE
	.comm	_V4L2_FLASH_STROBE_SOURCE_SOFTWARE,4,2 ; @V4L2_FLASH_STROBE_SOURCE_SOFTWARE
	.comm	_V4L2_CID_FLASH_STROBE,4,2      ; @V4L2_CID_FLASH_STROBE
	.comm	_V4L2_CID_FLASH_STROBE_STOP,4,2 ; @V4L2_CID_FLASH_STROBE_STOP
	.comm	_V4L2_CID_FLASH_TIMEOUT,4,2     ; @V4L2_CID_FLASH_TIMEOUT
	.comm	_TIMEOUT_MIN,4,2                ; @TIMEOUT_MIN
	.comm	_TIMEOUT_STEP,4,2               ; @TIMEOUT_STEP
	.comm	_V4L2_CID_FLASH_INTENSITY,4,2   ; @V4L2_CID_FLASH_INTENSITY
	.comm	_ADP1653_FLASH_INTENSITY_MIN,4,2 ; @ADP1653_FLASH_INTENSITY_MIN
	.comm	_V4L2_CID_FLASH_TORCH_INTENSITY,4,2 ; @V4L2_CID_FLASH_TORCH_INTENSITY
	.comm	_ADP1653_TORCH_INTENSITY_MIN,4,2 ; @ADP1653_TORCH_INTENSITY_MIN
	.comm	_ADP1653_FLASH_INTENSITY_STEP,4,2 ; @ADP1653_FLASH_INTENSITY_STEP
	.comm	_V4L2_CID_FLASH_INDICATOR_INTENSITY,4,2 ; @V4L2_CID_FLASH_INDICATOR_INTENSITY
	.comm	_ADP1653_INDICATOR_INTENSITY_MIN,4,2 ; @ADP1653_INDICATOR_INTENSITY_MIN
	.comm	_ADP1653_INDICATOR_INTENSITY_STEP,4,2 ; @ADP1653_INDICATOR_INTENSITY_STEP
	.comm	_V4L2_CID_FLASH_FAULT,4,2       ; @V4L2_CID_FLASH_FAULT
	.comm	_V4L2_FLASH_FAULT_OVER_VOLTAGE,4,2 ; @V4L2_FLASH_FAULT_OVER_VOLTAGE
	.comm	_V4L2_FLASH_FAULT_OVER_TEMPERATURE,4,2 ; @V4L2_FLASH_FAULT_OVER_TEMPERATURE
	.comm	_V4L2_FLASH_FAULT_SHORT_CIRCUIT,4,2 ; @V4L2_FLASH_FAULT_SHORT_CIRCUIT
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ; @V4L2_CTRL_FLAG_VOLATILE
	.no_dead_strip	_adp1653_init_controls
.subsections_via_symbols
