	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_2
## %bb.1:
	movb	$1, %r13b
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	movb	$1, %cl
	jmpq	*%rax
LBB0_6:
	movb	$1, %r12b
	xorl	%r13d, %r13d
	movb	$1, %r15b
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	cmpl	$0, (%rbx)
	jne	LBB0_20
	jmp	LBB0_19
LBB0_4:
	movb	$1, %r13b
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
LBB0_5:
	movb	$1, %dl
	movb	$1, %cl
	jmp	LBB0_8
LBB0_3:
	movb	$1, %r12b
	xorl	%r13d, %r13d
	movb	$1, %r15b
	xorl	%edx, %edx
	movb	$1, %cl
	jmp	LBB0_8
LBB0_22:
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$10, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$20, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	jmp	LBB0_17
LBB0_7:
	movb	$1, %r12b
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_8:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$63, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	testb	%r12b, %r12b
	je	LBB0_9
## %bb.10:
	testb	%r13b, %r13b
	je	LBB0_11
LBB0_12:
	testb	%r15b, %r15b
	je	LBB0_13
LBB0_14:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_15
LBB0_16:
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_17
LBB0_18:
	cmpl	$0, (%rbx)
	je	LBB0_19
LBB0_20:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	(%rbx), %eax
	jmp	LBB0_21
LBB0_9:
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$10, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$20, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	testb	%r13b, %r13b
	jne	LBB0_12
LBB0_11:
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$63, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	testb	%r15b, %r15b
	jne	LBB0_14
LBB0_13:
	movq	_V4L2_CID_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$3, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$6, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
LBB0_15:
	movq	_V4L2_CID_BACKLIGHT_COMPENSATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	%eax, 4(%r14)
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_18
LBB0_17:
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	cmpl	$0, (%rbx)
	jne	LBB0_20
LBB0_19:
	xorl	%eax, %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_22
	.long	L0_0_set_7
	.end_data_region
                                        ## -- 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_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_V4L2_CID_SHARPNESS,4,2         ## @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_BACKLIGHT_COMPENSATION,4,2 ## @V4L2_CID_BACKLIGHT_COMPENSATION
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	mov	x19, x0
	ldr	w8, [x19], #8
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	mov	w25, #0
	mov	w23, #0
	mov	w22, #0
	mov	w24, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	mov	w21, #1
	br	x10
LBB0_2:
	mov	w24, #0
	mov	w25, #1
	mov	w23, #1
	b	LBB0_5
LBB0_3:
	str	x19, [x20]
	mov	x0, x19
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
	b	LBB0_21
LBB0_4:
	mov	w25, #0
	mov	w23, #0
	mov	w24, #1
LBB0_5:
	mov	w22, #1
	mov	w21, #1
	b	LBB0_9
LBB0_6:
	mov	w24, #0
	mov	w22, #0
	mov	w25, #1
	mov	w23, #1
	mov	w21, #1
	b	LBB0_9
LBB0_7:
	str	x19, [x20]
	mov	x0, x19
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh2:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh6:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #20
	mov	w5, #1
	mov	w6, #10
	bl	_v4l2_ctrl_new_std
	b	LBB0_20
LBB0_8:
	mov	w24, #0
	mov	w23, #0
	mov	w22, #0
	mov	w21, #0
	mov	w25, #1
LBB0_9:
	str	x19, [x20]
	mov	x0, x19
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh7:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh11:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #63
	mov	w5, #1
	mov	w6, #32
	bl	_v4l2_ctrl_new_std
	tbz	w25, #0, LBB0_16
; %bb.10:
	tbz	w24, #0, LBB0_17
LBB0_11:
	tbz	w23, #0, LBB0_18
LBB0_12:
	tbz	w22, #0, LBB0_19
LBB0_13:
	tbz	w21, #0, LBB0_20
LBB0_14:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
LBB0_15:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19]
	b	LBB0_22
LBB0_16:
Lloh14:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh18:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #20
	mov	w5, #1
	mov	w6, #10
	bl	_v4l2_ctrl_new_std
	tbnz	w24, #0, LBB0_11
LBB0_17:
Lloh19:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh23:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #63
	bl	_v4l2_ctrl_new_std
	tbnz	w23, #0, LBB0_12
LBB0_18:
Lloh24:
	adrp	x8, _V4L2_CID_SHARPNESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_SHARPNESS@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh28:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #6
	mov	w5, #1
	mov	w6, #3
	bl	_v4l2_ctrl_new_std
	tbnz	w22, #0, LBB0_13
LBB0_19:
Lloh29:
	adrp	x8, _V4L2_CID_BACKLIGHT_COMPENSATION@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_CID_BACKLIGHT_COMPENSATION@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh33:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #2
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	w0, [x20, #4]
	tbnz	w21, #0, LBB0_14
LBB0_20:
Lloh34:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x1, _sd_ctrl_ops@GOTPAGE
Lloh38:
	ldr	x1, [x1, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- 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_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_V4L2_CID_SHARPNESS,4,2         ; @V4L2_CID_SHARPNESS
	.comm	_V4L2_CID_BACKLIGHT_COMPENSATION,4,2 ; @V4L2_CID_BACKLIGHT_COMPENSATION
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_sd_init_controls
.subsections_via_symbols
