	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp702x_fe_refresh_state
_vp702x_fe_refresh_state:               ## @vp702x_fe_refresh_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movq	24(%rdi), %rax
	movq	(%rax), %r15
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %r15
	movq	24(%rbx), %rdi
	movq	_READ_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$10, %r9d
	callq	_vp702x_usb_in_op
	movq	32(%r15), %rax
	movq	%rax, 40(%rbx)
	movq	24(%rbx), %rdi
	movq	_READ_TUNER_REG_REQ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$17, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movq	(%r15), %rax
	movq	%rax, 32(%rbx)
	movq	24(%rbx), %rdi
	movl	(%r13), %esi
	movl	$21, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rbx), %eax
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	cltq
	addq	(%r12), %rax
	movq	%rax, 8(%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_READ_STATUS,4,2                ## @READ_STATUS
	.comm	_READ_TUNER_REG_REQ,4,2         ## @READ_TUNER_REG_REQ
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_vp702x_fe_refresh_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp702x_fe_refresh_state
_vp702x_fe_refresh_state:               ; @vp702x_fe_refresh_state
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x21, [x8]
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x1, [x19, #8]
	bl	_time_after
	cbz	x0, LBB0_2
; %bb.1:
	add	x20, x21, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x21, [x21]
	ldr	x0, [x19, #24]
Lloh2:
	adrp	x8, _READ_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _READ_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x21
	mov	w5, #10
	bl	_vp702x_usb_in_op
	ldr	x8, [x21, #32]
	str	x8, [x19, #40]
	ldr	x0, [x19, #24]
Lloh5:
	adrp	x23, _READ_TUNER_REG_REQ@GOTPAGE
Lloh6:
	ldr	x23, [x23, _READ_TUNER_REG_REQ@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #17
	mov	w3, #0
	mov	x4, x21
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	x8, [x21]
	str	x8, [x19, #32]
	ldr	x0, [x19, #24]
	ldr	w1, [x23]
	mov	w2, #21
	mov	w3, #0
	mov	x4, x21
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	x8, [x21]
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_mutex_unlock
	ldr	x8, [x22]
	ldr	w9, [x19]
Lloh7:
	adrp	x10, _HZ@GOTPAGE
Lloh8:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #6
	add	x8, x8, w9, sxtw
	str	x8, [x19, #8]
LBB0_2:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_READ_STATUS,4,2                ; @READ_STATUS
	.comm	_READ_TUNER_REG_REQ,4,2         ; @READ_TUNER_REG_REQ
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_vp702x_fe_refresh_state
.subsections_via_symbols
