	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_initialize_ctrls
_s5k5baf_initialize_ctrls:              ## @s5k5baf_initialize_ctrls
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	72(%rdi), %r12
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_v4l2_ctrl_handler_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_V4L2_CID_AUTO_WHITE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_s5k5baf_ctrl_ops@GOTPCREL(%rip), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	leaq	8(%r14), %r15
	leaq	48(%r14), %r13
	movq	%rax, 48(%r14)
	movq	_V4L2_CID_RED_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_S5K5BAF_GAIN_RED_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 64(%r14)
	movq	_V4L2_CID_BLUE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_S5K5BAF_GAIN_BLUE_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%r14)
	movl	$3, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	leaq	32(%r14), %r13
	movq	%rax, 32(%r14)
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 40(%r14)
	movl	$2, %edi
	movq	%r13, %rsi
	callq	_v4l2_ctrl_cluster
	movq	_V4L2_CID_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_EXPOSURE_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 8(%r14)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$100000, (%rsp)                 ## imm = 0x186A0
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$6000000, %r8d                  ## imm = 0x5B8D80
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r14)
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$256, (%rsp)                    ## imm = 0x100
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$256, %r8d                      ## imm = 0x100
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r14)
	movl	$3, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_CID_POWER_LINE_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_COLORFX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_COLORFX_SKY_BLUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_COLORFX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-112, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$256, %r8d                      ## imm = 0x100
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-127, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-127, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-127, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-127, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_s5k5baf_test_pattern_menu@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	movl	(%r15), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movl	72(%r14), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_err
	movl	72(%r14), %ebx
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_v4l2_err
	jmp	LBB0_5
LBB0_4:
	movq	%r12, (%r14)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s5k5baf_ctrl_ops,4,2           ## @s5k5baf_ctrl_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot init ctrl handler (%d)\n"

	.comm	_V4L2_CID_AUTO_WHITE_BALANCE,4,2 ## @V4L2_CID_AUTO_WHITE_BALANCE
	.comm	_V4L2_CID_RED_BALANCE,4,2       ## @V4L2_CID_RED_BALANCE
	.comm	_S5K5BAF_GAIN_RED_DEF,4,2       ## @S5K5BAF_GAIN_RED_DEF
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ## @V4L2_CID_BLUE_BALANCE
	.comm	_S5K5BAF_GAIN_BLUE_DEF,4,2      ## @S5K5BAF_GAIN_BLUE_DEF
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ## @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ## @V4L2_EXPOSURE_MANUAL
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ## @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_AUTO
	.comm	_V4L2_CID_COLORFX,4,2           ## @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SKY_BLUE,4,2      ## @V4L2_COLORFX_SKY_BLUE
	.comm	_V4L2_COLORFX_NONE,4,2          ## @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_WHITE_BALANCE_TEMPERATURE,4,2 ## @V4L2_CID_WHITE_BALANCE_TEMPERATURE
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SHARPNESS,4,2         ## @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_s5k5baf_test_pattern_menu,4,2  ## @s5k5baf_test_pattern_menu
L_.str.1:                               ## @.str.1
	.asciz	"error creating controls (%d)\n"

	.no_dead_strip	_s5k5baf_initialize_ctrls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_initialize_ctrls
_s5k5baf_initialize_ctrls:              ; @s5k5baf_initialize_ctrls
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x20, x0, #72
	mov	x0, x20
	mov	w1, #16
	bl	_v4l2_ctrl_handler_init
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_CID_AUTO_WHITE_BALANCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_AUTO_WHITE_BALANCE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x21, _s5k5baf_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x21, [x21, _s5k5baf_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x22, x19
	str	x0, [x22, #48]!
Lloh5:
	adrp	x8, _V4L2_CID_RED_BALANCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_RED_BALANCE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _S5K5BAF_GAIN_RED_DEF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S5K5BAF_GAIN_RED_DEF@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #64]
Lloh11:
	adrp	x8, _V4L2_CID_BLUE_BALANCE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CID_BLUE_BALANCE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _S5K5BAF_GAIN_BLUE_DEF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S5K5BAF_GAIN_BLUE_DEF@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
	mov	w0, #3
	mov	x1, x22
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
Lloh17:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	mov	x22, x19
	str	x0, [x22, #32]!
Lloh20:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #40]
	mov	w0, #2
	mov	x1, x22
	bl	_v4l2_ctrl_cluster
Lloh23:
	adrp	x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _V4L2_EXPOSURE_MANUAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V4L2_EXPOSURE_MANUAL@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x8, _V4L2_EXPOSURE_AUTO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh31:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	mov	x22, x19
	str	x0, [x22, #8]!
Lloh32:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #36224
	movk	w4, #91, lsl #16
	mov	w5, #1
	mov	w6, #34464
	movk	w6, #1, lsl #16
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #16]
Lloh35:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #256
	mov	w5, #1
	mov	w6, #256
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #8]
	mov	w0, #3
	mov	x1, x22
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
Lloh38:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
Lloh41:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_AUTO@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #0
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh44:
	adrp	x8, _V4L2_CID_COLORFX@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V4L2_CID_COLORFX@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
Lloh47:
	adrp	x8, _V4L2_COLORFX_SKY_BLUE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _V4L2_COLORFX_SKY_BLUE@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
Lloh50:
	adrp	x8, _V4L2_COLORFX_NONE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_COLORFX_NONE@GOTPAGEOFF]
Lloh52:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #-112
	bl	_v4l2_ctrl_new_std_menu
Lloh53:
	adrp	x8, _V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #256
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh56:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #-127
	mov	w4, #127
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh59:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #-127
	mov	w4, #127
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh62:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh63:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #-127
	mov	w4, #127
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh65:
	adrp	x8, _V4L2_CID_SHARPNESS@GOTPAGE
Lloh66:
	ldr	x8, [x8, _V4L2_CID_SHARPNESS@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #-127
	mov	w4, #127
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh68:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh69:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh70:
	ldr	w23, [x8]
Lloh71:
	adrp	x24, _s5k5baf_test_pattern_menu@GOTPAGE
Lloh72:
	ldr	x24, [x24, _s5k5baf_test_pattern_menu@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	ldr	w2, [x22, #64]
	cbz	w2, LBB0_4
; %bb.2:
Lloh73:
	adrp	x1, l_.str.1@PAGE
Lloh74:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l2_err
	ldr	w21, [x19, #72]
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_5
LBB0_3:
	mov	x21, x0
Lloh75:
	adrp	x1, l_.str@PAGE
Lloh76:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_v4l2_err
	b	LBB0_5
LBB0_4:
	mov	w21, #0
	str	x20, [x19]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_s5k5baf_ctrl_ops,4,2           ; @s5k5baf_ctrl_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot init ctrl handler (%d)\n"

	.comm	_V4L2_CID_AUTO_WHITE_BALANCE,4,2 ; @V4L2_CID_AUTO_WHITE_BALANCE
	.comm	_V4L2_CID_RED_BALANCE,4,2       ; @V4L2_CID_RED_BALANCE
	.comm	_S5K5BAF_GAIN_RED_DEF,4,2       ; @S5K5BAF_GAIN_RED_DEF
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ; @V4L2_CID_BLUE_BALANCE
	.comm	_S5K5BAF_GAIN_BLUE_DEF,4,2      ; @S5K5BAF_GAIN_BLUE_DEF
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ; @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ; @V4L2_EXPOSURE_MANUAL
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ; @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_AUTO,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_AUTO
	.comm	_V4L2_CID_COLORFX,4,2           ; @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SKY_BLUE,4,2      ; @V4L2_COLORFX_SKY_BLUE
	.comm	_V4L2_COLORFX_NONE,4,2          ; @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_WHITE_BALANCE_TEMPERATURE,4,2 ; @V4L2_CID_WHITE_BALANCE_TEMPERATURE
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SHARPNESS,4,2         ; @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_s5k5baf_test_pattern_menu,4,2  ; @s5k5baf_test_pattern_menu
l_.str.1:                               ; @.str.1
	.asciz	"error creating controls (%d)\n"

	.no_dead_strip	_s5k5baf_initialize_ctrls
.subsections_via_symbols
