	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0900_get_symbol_rate
_stv0900_get_symbol_rate:               ## @stv0900_get_symbol_rate
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_SYMB_FREQ3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stv0900_get_bits
	movl	%eax, %r12d
	shll	$24, %r12d
	movq	_SYMB_FREQ2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	movl	%eax, %ebx
	shll	$16, %ebx
	addl	%r12d, %ebx
	movq	_SYMB_FREQ1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	movl	%eax, %r12d
	shll	$8, %r12d
	addl	%ebx, %r12d
	movq	_SYMB_FREQ0@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	(%r12,%rax), %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_SYMB_FREQ1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SYMB_FREQ2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	movl	%eax, %r13d
	movq	_SYMB_FREQ3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_get_bits
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_dprintk
	movl	%r14d, %eax
	sarl	$16, %eax
	movl	%ebx, %ecx
	sarl	$16, %ecx
	leal	65535(%r14), %edx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %edx
	andl	$-65536, %edx                   ## imm = 0xFFFF0000
	subl	%edx, %r14d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%r12d, %edx
	addl	$65535, %edx                    ## imm = 0xFFFF
	testl	%ebx, %ebx
	cmovnsl	%ebx, %edx
	andl	$-65536, %edx                   ## imm = 0xFFFF0000
	subl	%edx, %ebx
	imull	%ecx, %r14d
	imull	%eax, %ecx
	imull	%eax, %ebx
	sarl	$16, %ebx
	addl	%ecx, %ebx
	sarl	$16, %r14d
	addl	%ebx, %r14d
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMB_FREQ3,4,2                 ## @SYMB_FREQ3
	.comm	_SYMB_FREQ2,4,2                 ## @SYMB_FREQ2
	.comm	_SYMB_FREQ1,4,2                 ## @SYMB_FREQ1
	.comm	_SYMB_FREQ0,4,2                 ## @SYMB_FREQ0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lock: srate=%d r0=0x%x r1=0x%x r2=0x%x r3=0x%x \n"

	.no_dead_strip	_stv0900_get_symbol_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0900_get_symbol_rate
_stv0900_get_symbol_rate:               ; @stv0900_get_symbol_rate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _SYMB_FREQ3@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SYMB_FREQ3@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_stv0900_get_bits
	mov	x21, x0
Lloh2:
	adrp	x24, _SYMB_FREQ2@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SYMB_FREQ2@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_stv0900_get_bits
	lsl	w8, w0, #16
	add	w21, w8, w21, lsl #24
Lloh4:
	adrp	x23, _SYMB_FREQ1@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SYMB_FREQ1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_stv0900_get_bits
	add	w21, w21, w0, lsl #8
Lloh6:
	adrp	x22, _SYMB_FREQ0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SYMB_FREQ0@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_stv0900_get_bits
	add	w21, w21, w0
	ldr	w1, [x22]
	mov	x0, x20
	bl	_stv0900_get_bits
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_stv0900_get_bits
	mov	x23, x0
	ldr	w1, [x24]
	mov	x0, x20
	bl	_stv0900_get_bits
	mov	x24, x0
	ldr	w1, [x25]
	mov	x0, x20
	bl	_stv0900_get_bits
	mov	x5, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_dprintk
	asr	w8, w19, #16
	asr	w9, w21, #16
	negs	w10, w19
	and	w10, w10, #0xffff
	and	w11, w19, #0xffff
	csneg	w10, w11, w10, mi
	and	w11, w21, #0xffff
	negs	w12, w21
	and	w12, w12, #0xffff
	csneg	w11, w11, w12, mi
	mul	w12, w9, w8
	mul	w8, w11, w8
	add	w8, w12, w8, asr #16
	mul	w9, w9, w10
	add	w0, w8, w9, asr #16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMB_FREQ3,4,2                 ; @SYMB_FREQ3
	.comm	_SYMB_FREQ2,4,2                 ; @SYMB_FREQ2
	.comm	_SYMB_FREQ1,4,2                 ; @SYMB_FREQ1
	.comm	_SYMB_FREQ0,4,2                 ; @SYMB_FREQ0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lock: srate=%d r0=0x%x r1=0x%x r2=0x%x r3=0x%x \n"

	.no_dead_strip	_stv0900_get_symbol_rate
.subsections_via_symbols
