	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_frequency
_vidioc_s_frequency:                    ## @vidioc_s_frequency
	.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	%rdx, %rbx
	movups	(%rdx), %xmm0
	movaps	%xmm0, -64(%rbp)
	callq	_video_drvdata
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	movq	(%rax), %r12
	leaq	4(%r12), %r15
	movq	_tuner@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_s_frequency@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %r8
	callq	_v4l2_device_call_all
	movl	(%r13), %edx
	movq	_g_frequency@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_v4l2_device_call_all
	movl	-56(%rbp), %eax
	movl	%eax, (%r12)
LBB0_3:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_tuner,4,2                      ## @tuner
	.comm	_s_frequency,4,2                ## @s_frequency
	.comm	_g_frequency,4,2                ## @g_frequency
	.no_dead_strip	_vidioc_s_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_frequency
_vidioc_s_frequency:                    ; @vidioc_s_frequency
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	ldr	q0, [x2]
	str	q0, [sp]
	bl	_video_drvdata
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x21, [x0]
	add	x20, x21, #4
Lloh3:
	adrp	x22, _tuner@GOTPAGE
Lloh4:
	ldr	x22, [x22, _tuner@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x8, _s_frequency@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_frequency@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x4, x19
	bl	_v4l2_device_call_all
	ldr	w2, [x22]
Lloh8:
	adrp	x8, _g_frequency@GOTPAGE
Lloh9:
	ldr	x8, [x8, _g_frequency@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x4, sp
	mov	x0, x20
	mov	w1, #0
	bl	_v4l2_device_call_all
	mov	w0, #0
	ldr	w8, [sp, #8]
	str	w8, [x21]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_tuner,4,2                      ; @tuner
	.comm	_s_frequency,4,2                ; @s_frequency
	.comm	_g_frequency,4,2                ; @g_frequency
	.no_dead_strip	_vidioc_s_frequency
.subsections_via_symbols
