	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_ext_ctrls
_vidioc_s_ext_ctrls:                    ## @vidioc_s_ext_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rsi), %r14
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_dprintk
	movq	(%rbx), %rax
	movq	_V4L2_CTRL_CLASS_MPEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	movl	%eax, -24(%rbp)
	movq	_VIDIOC_TRY_EXT_CTRLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_cx2341x_ext_ctrls
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_cx231xx_mbox_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r14, %rdx
	callq	_cx2341x_update
	movl	-24(%rbp), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter vidioc_s_ext_ctrls()\n"

	.comm	_V4L2_CTRL_CLASS_MPEG,8,3       ## @V4L2_CTRL_CLASS_MPEG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VIDIOC_TRY_EXT_CTRLS,4,2       ## @VIDIOC_TRY_EXT_CTRLS
	.comm	_cx231xx_mbox_func,4,2          ## @cx231xx_mbox_func
	.no_dead_strip	_vidioc_s_ext_ctrls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_ext_ctrls
_vidioc_s_ext_ctrls:                    ; @vidioc_s_ext_ctrls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x2
	ldr	x19, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_dprintk
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _V4L2_CTRL_CLASS_MPEG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_CTRL_CLASS_MPEG@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	str	w8, [sp, #8]
Lloh5:
	adrp	x8, _VIDIOC_TRY_EXT_CTRLS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VIDIOC_TRY_EXT_CTRLS@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	x2, x20
	bl	_cx2341x_ext_ctrls
	cbnz	w0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _cx231xx_mbox_func@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cx231xx_mbox_func@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x19
	bl	_cx2341x_update
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter vidioc_s_ext_ctrls()\n"

	.comm	_V4L2_CTRL_CLASS_MPEG,8,3       ; @V4L2_CTRL_CLASS_MPEG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VIDIOC_TRY_EXT_CTRLS,4,2       ; @VIDIOC_TRY_EXT_CTRLS
	.comm	_cx231xx_mbox_func,4,2          ; @cx231xx_mbox_func
	.no_dead_strip	_vidioc_s_ext_ctrls
.subsections_via_symbols
