	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvaudio_s_frequency
_tvaudio_s_frequency:                   ## @tvaudio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_state
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	$0, 16(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.1:
	movq	_V4L2_TUNER_MODE_MONO@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	(%rbx), %eax
	cmpl	(%r14), %eax
	je	LBB0_3
## %bb.2:
	movl	$-1, (%rbx)
LBB0_3:
	addq	$4, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$2000, %edi                     ## imm = 0x7D0
	callq	_msecs_to_jiffies
	addq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mod_timer
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_MODE_MONO,4,2       ## @V4L2_TUNER_MODE_MONO
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_tvaudio_s_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvaudio_s_frequency
_tvaudio_s_frequency:                   ; @tvaudio_s_frequency
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_state
	ldr	x8, [x0, #24]
	str	xzr, [x0, #16]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x8]
Lloh0:
	adrp	x20, _V4L2_TUNER_MODE_MONO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _V4L2_TUNER_MODE_MONO@GOTPAGEOFF]
	ldr	w1, [x20]
	blr	x8
	ldr	w8, [x19]
	ldr	w9, [x20]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #-1
	str	w8, [x19]
LBB0_3:
	add	x19, x19, #4
Lloh2:
	adrp	x8, _jiffies@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	mov	w0, #2000
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	bl	_mod_timer
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_MODE_MONO,4,2       ; @V4L2_TUNER_MODE_MONO
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_tvaudio_s_frequency
.subsections_via_symbols
