	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, (%rdi)
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_v4l2_ctrl_handler_init
	cmpl	$28675, (%rbx)                  ## imm = 0x7003
	jne	LBB0_2
## %bb.1:
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_sd_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$20, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%rbx)
	movq	_V4L2_CID_AUTOGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sd_ctrl_ops,4,2                ## @sd_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CID_AUTOGAIN,4,2          ## @V4L2_CID_AUTOGAIN
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x20, x0, #8
	str	x20, [x0]
	mov	x0, x20
	mov	w1, #2
	bl	_v4l2_ctrl_handler_init
	ldr	w8, [x19]
	mov	w9, #28675
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x21, _sd_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x21, [x21, _sd_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #20
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #16]
Lloh5:
	adrp	x8, _V4L2_CID_AUTOGAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_AUTOGAIN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #8]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sd_ctrl_ops,4,2                ; @sd_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CID_AUTOGAIN,4,2          ; @V4L2_CID_AUTOGAIN
	.no_dead_strip	_sd_init_controls
.subsections_via_symbols
