	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_init_controls
_sd_init_controls:                      ## @sd_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
	leaq	8(%rdi), %r14
	movq	%r14, (%rdi)
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_v4l2_ctrl_handler_init
	movq	128(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	40(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_2:
	movq	120(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	36(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_4:
	movq	112(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	32(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_6:
	movq	104(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.7:
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	28(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_8:
	movq	96(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_10
## %bb.9:
	movq	_V4L2_CID_GAMMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	24(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_10:
	movq	88(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_12
## %bb.11:
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	20(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_12:
	movq	80(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_14
## %bb.13:
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_14:
	movq	72(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	movq	_V4L2_CID_POWER_LINE_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%rbx), %r9d
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
LBB0_16:
	movq	64(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_18
## %bb.17:
	movq	_V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_18:
	movq	56(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_20
## %bb.19:
	movq	_V4L2_CID_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_20:
	movq	48(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_22
## %bb.21:
	movq	_V4L2_CID_BACKLIGHT_COMPENSATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
LBB0_22:
	cmpl	$0, (%r14)
	je	LBB0_23
## %bb.24:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	(%r14), %eax
	jmp	LBB0_25
LBB0_23:
	xorl	%eax, %eax
LBB0_25:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sd_ctrl_ops,4,2                ## @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_V4L2_CID_GAMMA,4,2             ## @V4L2_CID_GAMMA
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_WHITE_BALANCE_TEMPERATURE,4,2 ## @V4L2_CID_WHITE_BALANCE_TEMPERATURE
	.comm	_V4L2_CID_SHARPNESS,4,2         ## @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_BACKLIGHT_COMPENSATION,4,2 ## @V4L2_CID_BACKLIGHT_COMPENSATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_sd_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_init_controls
_sd_init_controls:                      ; @sd_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	x20, x0
	add	x19, x0, #8
	str	x19, [x0]
	mov	x0, x19
	mov	w1, #11
	bl	_v4l2_ctrl_handler_init
	ldr	x4, [x20, #128]
	cbz	x4, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w6, [x20, #40]
Lloh3:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_2:
	ldr	x4, [x20, #120]
	cbz	x4, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w6, [x20, #36]
Lloh8:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh9:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_4:
	ldr	x4, [x20, #112]
	cbz	x4, LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	ldr	w6, [x20, #32]
Lloh13:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh14:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_6:
	ldr	x4, [x20, #104]
	cbz	x4, LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w6, [x20, #28]
Lloh18:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh19:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_8:
	ldr	x4, [x20, #96]
	cbz	x4, LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _V4L2_CID_GAMMA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_CID_GAMMA@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldr	w6, [x20, #24]
Lloh23:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh24:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_10:
	ldr	x4, [x20, #88]
	cbz	x4, LBB0_12
; %bb.11:
Lloh25:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	w6, [x20, #20]
Lloh28:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh29:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_12:
	ldr	x4, [x20, #80]
	cbz	x4, LBB0_14
; %bb.13:
Lloh30:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	ldr	w6, [x20, #16]
Lloh33:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh34:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_14:
	ldr	x3, [x20, #72]
	cbz	x3, LBB0_16
; %bb.15:
Lloh35:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	ldr	w5, [x20, #12]
Lloh38:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh39:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
LBB0_16:
	ldr	x4, [x20, #64]
	cbz	x4, LBB0_18
; %bb.17:
Lloh40:
	adrp	x8, _V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _V4L2_CID_WHITE_BALANCE_TEMPERATURE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	ldr	w6, [x20, #8]
Lloh43:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh44:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_18:
	ldr	x4, [x20, #56]
	cbz	x4, LBB0_20
; %bb.19:
Lloh45:
	adrp	x8, _V4L2_CID_SHARPNESS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_CID_SHARPNESS@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	ldr	w6, [x20, #4]
Lloh48:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh49:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_20:
	ldr	x4, [x20, #48]
	cbz	x4, LBB0_22
; %bb.21:
Lloh50:
	adrp	x8, _V4L2_CID_BACKLIGHT_COMPENSATION@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_CID_BACKLIGHT_COMPENSATION@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	ldr	w6, [x20]
Lloh53:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh54:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
LBB0_22:
	ldr	w8, [x19]
	cbz	w8, LBB0_24
; %bb.23:
Lloh55:
	adrp	x0, l_.str@PAGE
Lloh56:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19]
	b	LBB0_25
LBB0_24:
	mov	w0, #0
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_sd_ctrl_ops,4,2                ; @sd_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_V4L2_CID_GAMMA,4,2             ; @V4L2_CID_GAMMA
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_WHITE_BALANCE_TEMPERATURE,4,2 ; @V4L2_CID_WHITE_BALANCE_TEMPERATURE
	.comm	_V4L2_CID_SHARPNESS,4,2         ; @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_BACKLIGHT_COMPENSATION,4,2 ; @V4L2_CID_BACKLIGHT_COMPENSATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_sd_init_controls
.subsections_via_symbols
