	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_input
_vidioc_s_input:                        ## @vidioc_s_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$3, %edx
	jae	LBB0_2
## %bb.1:
	movq	(%rsi), %rax
	movq	8(%rax), %r8
	movl	%edx, %ecx
	cmpl	$0, (%r8,%rcx,4)
	je	LBB0_2
## %bb.3:
	movl	%edx, (%rax)
	movl	4(%rax), %edx
	popq	%rbp
	jmp	_vidioc_s_std                   ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vidioc_s_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_input
_vidioc_s_input:                        ; @vidioc_s_input
	.cfi_startproc
; %bb.0:
	cmp	w2, #3
	b.hs	LBB0_3
; %bb.1:
	ldr	x8, [x1]
	ldr	x9, [x8, #8]
	ldr	w9, [x9, w2, uxtw #2]
	cbz	w9, LBB0_3
; %bb.2:
	str	w2, [x8]
	ldr	w2, [x8, #4]
	b	_vidioc_s_std
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vidioc_s_input
.subsections_via_symbols
