	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_frequency
_vidioc_g_frequency:                    ## @vidioc_g_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	_V4L2_TUNER_RADIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	movslq	(%rax), %rdx
	movl	%edx, (%rbx)
	imulq	$274877907, %rdx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$42, %rcx
	addl	%esi, %ecx
	imull	$16000, %ecx, %esi              ## imm = 0x3E80
	subl	%esi, %edx
	movswl	%dx, %edx
	imull	$26215, %edx, %r8d              ## imm = 0x6667
	movl	%r8d, %edx
	shrl	$31, %edx
	sarl	$22, %r8d
	addl	%edx, %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movl	$4, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_dprintk
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_RADIO,4,2           ## @V4L2_TUNER_RADIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"radio freq is %d.%02d MHz"

	.no_dead_strip	_vidioc_g_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_frequency
_vidioc_g_frequency:                    ; @vidioc_g_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
	mov	x19, x2
	bl	_video_drvdata
Lloh0:
	adrp	x8, _V4L2_TUNER_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_TUNER_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	stp	w9, w8, [x19]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w9, w8
	lsr	x10, x8, #63
	asr	x8, x8, #42
	add	w3, w8, w10
	mov	w8, #16000
	msub	w8, w3, w8, w9
	sxth	w8, w8
	mov	w9, #26215
	mul	w8, w8, w9
	asr	w9, w8, #22
	add	w4, w9, w8, lsr #31
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_dprintk
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_RADIO,4,2           ; @V4L2_TUNER_RADIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"radio freq is %d.%02d MHz"

	.no_dead_strip	_vidioc_g_frequency
.subsections_via_symbols
