	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_srate_srch_fine
_stv090x_srate_srch_fine:               ## @stv090x_srate_srch_fine
	.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), %rax
	movl	(%rax), %esi
	callq	_stv090x_get_srate
	movl	%eax, %r14d
	movq	_CFR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_CFR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r14d, %r13
	imulq	$1717986919, %r13, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rcx,4), %r15d
	xorl	%eax, %eax
	cmpl	(%rbx), %r15d
	jl	LBB0_31
## %bb.1:
	movq	_DMDISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$31, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.2:
	movq	_TMGCFG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$193, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.3:
	movq	_TMGTHRISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.4:
	movq	_TMGTHFALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.5:
	movq	_TMGCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$210, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.6:
	movq	_DMDCFGMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, %r12d
	movq	_CFR_AUTOSCAN_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	xorl	%edx, %edx
	callq	_STV090x_SETFIELD_Px
	movq	_DMDCFGMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.7:
	movq	_AGC2REF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$56, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.8:
	movq	8(%rbx), %rax
	movl	4(%rax), %eax
	cmpl	$48, %eax
	jl	LBB0_10
## %bb.9:
	movq	_CARFREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$121, %edx
	jmp	LBB0_12
LBB0_10:
	cmpl	$32, %eax
	jl	LBB0_13
## %bb.11:
	movq	_CARFREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$73, %edx
LBB0_12:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
LBB0_13:
	movslq	%r15d, %rax
	cmpl	$3000001, %r14d                 ## imm = 0x2DC6C1
	jl	LBB0_19
## %bb.14:
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$38, %rax
	addl	%ecx, %eax
	shll	$16, %eax
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	movq	_SFRUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	shrl	$8, %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.15:
	movq	_SFRUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r12b, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.16:
	movl	%r14d, %r15d
	movl	$3383112701, %eax               ## imm = 0xC9A633FD
	imulq	%r15, %rax
	shrq	$32, %rax
	shll	$6, %eax
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	movq	_SFRLOW1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	shrl	$8, %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.17:
	movq	_SFRLOW0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r12b, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.18:
	imulq	$274877907, %r15, %rax          ## imm = 0x10624DD3
	shrq	$32, %rax
	andl	$-64, %eax
	shll	$10, %eax
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	jmp	LBB0_24
LBB0_19:
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$37, %rax
	addl	%ecx, %eax
	shll	$16, %eax
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	movq	_SFRUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	shrl	$8, %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.20:
	movq	_SFRUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r12b, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.21:
	imulq	$-368140053, %r13, %rax         ## imm = 0xEA0EA0EB
	shrq	$32, %rax
	addl	%r14d, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	shrl	$7, %eax
	addl	%ecx, %eax
	shll	$16, %eax
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	movq	_SFRLOW1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	shrl	$8, %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.22:
	movq	_SFRLOW0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r12b, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.23:
	imulq	$1374389535, %r13, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$37, %rax
	addl	%ecx, %eax
	shll	$16, %eax
	movq	8(%rbx), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
LBB0_24:
	addl	%edx, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movq	_SFRINIT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %r15d
	movzbl	%ah, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.25:
	movq	_SFRINIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r15b, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.26:
	movq	_DMDTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.27:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	shll	$8, %ecx
	orl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	_CFRINIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%ch, %edx
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.28:
	movq	_CFRINIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-44(%rbp), %edx                 ## 1-byte Folded Reload
	movq	%rbx, %rdi
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_30
## %bb.29:
	movq	_DMDISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$21, %edx
	callq	_STV090x_WRITE_DEMOD
	movq	%rax, %rcx
	movl	%r14d, %eax
	testq	%rcx, %rcx
	jns	LBB0_31
LBB0_30:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	$-1, %eax
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFR2,4,2                       ## @CFR2
	.comm	_CFR1,4,2                       ## @CFR1
	.comm	_DMDISTATE,4,2                  ## @DMDISTATE
	.comm	_TMGCFG2,4,2                    ## @TMGCFG2
	.comm	_TMGTHRISE,4,2                  ## @TMGTHRISE
	.comm	_TMGTHFALL,4,2                  ## @TMGTHFALL
	.comm	_TMGCFG,4,2                     ## @TMGCFG
	.comm	_DMDCFGMD,4,2                   ## @DMDCFGMD
	.comm	_CFR_AUTOSCAN_FIELD,4,2         ## @CFR_AUTOSCAN_FIELD
	.comm	_AGC2REF,4,2                    ## @AGC2REF
	.comm	_CARFREQ,4,2                    ## @CARFREQ
	.comm	_SFRUP1,4,2                     ## @SFRUP1
	.comm	_SFRUP0,4,2                     ## @SFRUP0
	.comm	_SFRLOW1,4,2                    ## @SFRLOW1
	.comm	_SFRLOW0,4,2                    ## @SFRLOW0
	.comm	_SFRINIT1,4,2                   ## @SFRINIT1
	.comm	_SFRINIT0,4,2                   ## @SFRINIT0
	.comm	_DMDTOM,4,2                     ## @DMDTOM
	.comm	_CFRINIT1,4,2                   ## @CFRINIT1
	.comm	_CFRINIT0,4,2                   ## @CFRINIT0
	.comm	_FE_ERROR,4,2                   ## @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_srate_srch_fine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_srate_srch_fine
_stv090x_srate_srch_fine:               ; @stv090x_srate_srch_fine
	.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	x20, x0
	ldr	x8, [x0, #8]
	ldr	w1, [x8]
	bl	_stv090x_get_srate
	mov	x19, x0
Lloh0:
	adrp	x8, _CFR2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFR2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
	mov	x22, x0
Lloh3:
	adrp	x8, _CFR1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CFR1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w19, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	mov	w9, #13
	mul	w25, w8, w9
	ldr	w8, [x20]
	cmp	w25, w8
	b.ge	LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_32
LBB0_2:
	mov	x21, x0
Lloh6:
	adrp	x24, _DMDISTATE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _DMDISTATE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #31
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.3:
Lloh8:
	adrp	x8, _TMGCFG2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TMGCFG2@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #193
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.4:
Lloh11:
	adrp	x8, _TMGTHRISE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TMGTHRISE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #32
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.5:
Lloh14:
	adrp	x8, _TMGTHFALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TMGTHFALL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.6:
Lloh17:
	adrp	x8, _TMGCFG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TMGCFG@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #210
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.7:
Lloh20:
	adrp	x26, _DMDCFGMD@GOTPAGE
Lloh21:
	ldr	x26, [x26, _DMDCFGMD@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
	mov	x23, x0
Lloh22:
	adrp	x8, _CFR_AUTOSCAN_FIELD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CFR_AUTOSCAN_FIELD@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_STV090x_SETFIELD_Px
	ldr	w1, [x26]
	mov	x0, x20
	mov	x2, x23
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.8:
Lloh25:
	adrp	x8, _AGC2REF@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AGC2REF@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #56
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #4]
	cmp	w8, #48
	b.lt	LBB0_11
; %bb.10:
Lloh28:
	adrp	x8, _CARFREQ@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CARFREQ@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #121
	b	LBB0_13
LBB0_11:
	cmp	w8, #32
	b.lt	LBB0_14
; %bb.12:
Lloh31:
	adrp	x8, _CARFREQ@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CARFREQ@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #73
LBB0_13:
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
LBB0_14:
	mov	w8, #50881
	movk	w8, #45, lsl #16
	cmp	w19, w8
	b.lt	LBB0_20
; %bb.15:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x9, w25, w8
	lsr	x10, x9, #63
	lsr	x9, x9, #38
	add	w9, w9, w10
	lsl	w9, w9, #16
	ldr	x10, [x20, #8]
	ldrsw	x10, [x10]
	mul	x8, x10, x8
	lsr	x10, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w10
	sdiv	w23, w9, w8
Lloh34:
	adrp	x8, _SFRUP1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SFRUP1@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ubfx	w2, w23, #8, #7
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.16:
Lloh37:
	adrp	x8, _SFRUP0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SFRUP0@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.17:
	mov	w8, #13309
	movk	w8, #51622, lsl #16
	umull	x8, w19, w8
	lsr	x8, x8, #32
	lsl	w8, w8, #6
	and	w8, w8, #0xffff0000
	ldr	x9, [x20, #8]
	ldrsw	x9, [x9]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	sdiv	w23, w8, w9
Lloh40:
	adrp	x8, _SFRLOW1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SFRLOW1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ubfx	w2, w23, #8, #7
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.18:
Lloh43:
	adrp	x8, _SFRLOW0@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SFRLOW0@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.19:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x9, w19, w8
	lsr	x9, x9, #32
	lsl	w9, w9, #10
	and	w9, w9, #0xffff0000
	ldr	x10, [x20, #8]
	ldrsw	x10, [x10]
	mul	x8, x10, x8
	lsr	x10, x8, #63
	asr	x8, x8, #38
	b	LBB0_25
LBB0_20:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x9, w25, w8
	lsr	x10, x9, #63
	lsr	x9, x9, #37
	add	w9, w9, w10
	lsl	w9, w9, #16
	ldr	x10, [x20, #8]
	ldrsw	x10, [x10]
	mul	x8, x10, x8
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	sdiv	w23, w9, w8
Lloh46:
	adrp	x8, _SFRUP1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SFRUP1@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	ubfx	w2, w23, #8, #7
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.21:
Lloh49:
	adrp	x8, _SFRUP0@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SFRUP0@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.22:
	mov	w8, #41195
	movk	w8, #59918, lsl #16
	smull	x8, w19, w8
	lsr	x8, x8, #32
	add	w8, w8, w19
	lsr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	lsl	w8, w8, #16
	ldr	x9, [x20, #8]
	ldrsw	x9, [x9]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	sdiv	w23, w8, w9
Lloh52:
	adrp	x8, _SFRLOW1@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SFRLOW1@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ubfx	w2, w23, #8, #7
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.23:
Lloh55:
	adrp	x8, _SFRLOW0@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SFRLOW0@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.24:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x9, w19, w8
	lsr	x10, x9, #63
	lsr	x9, x9, #37
	add	w9, w9, w10
	lsl	w9, w9, #16
	ldr	x10, [x20, #8]
	ldrsw	x10, [x10]
	mul	x8, x10, x8
	lsr	x10, x8, #63
	asr	x8, x8, #37
LBB0_25:
	add	w8, w8, w10
	sdiv	w23, w9, w8
Lloh58:
	adrp	x8, _SFRINIT1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _SFRINIT1@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	ubfx	w2, w23, #8, #8
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.26:
Lloh61:
	adrp	x8, _SFRINIT0@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SFRINIT0@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.27:
Lloh64:
	adrp	x8, _DMDTOM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _DMDTOM@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #32
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.28:
	orr	w8, w21, w22, lsl #8
Lloh67:
	adrp	x9, _CFRINIT1@GOTPAGE
Lloh68:
	ldr	x9, [x9, _CFRINIT1@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x9]
	ubfx	w2, w8, #8, #8
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.29:
Lloh70:
	adrp	x8, _CFRINIT0@GOTPAGE
Lloh71:
	ldr	x8, [x8, _CFRINIT0@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	and	w2, w21, #0xff
	mov	x0, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_31
; %bb.30:
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #21
	bl	_STV090x_WRITE_DEMOD
	tbz	x0, #63, LBB0_32
LBB0_31:
Lloh73:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
Lloh76:
	adrp	x2, l_.str@PAGE
Lloh77:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	w19, #-1
LBB0_32:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_CFR2,4,2                       ; @CFR2
	.comm	_CFR1,4,2                       ; @CFR1
	.comm	_DMDISTATE,4,2                  ; @DMDISTATE
	.comm	_TMGCFG2,4,2                    ; @TMGCFG2
	.comm	_TMGTHRISE,4,2                  ; @TMGTHRISE
	.comm	_TMGTHFALL,4,2                  ; @TMGTHFALL
	.comm	_TMGCFG,4,2                     ; @TMGCFG
	.comm	_DMDCFGMD,4,2                   ; @DMDCFGMD
	.comm	_CFR_AUTOSCAN_FIELD,4,2         ; @CFR_AUTOSCAN_FIELD
	.comm	_AGC2REF,4,2                    ; @AGC2REF
	.comm	_CARFREQ,4,2                    ; @CARFREQ
	.comm	_SFRUP1,4,2                     ; @SFRUP1
	.comm	_SFRUP0,4,2                     ; @SFRUP0
	.comm	_SFRLOW1,4,2                    ; @SFRLOW1
	.comm	_SFRLOW0,4,2                    ; @SFRLOW0
	.comm	_SFRINIT1,4,2                   ; @SFRINIT1
	.comm	_SFRINIT0,4,2                   ; @SFRINIT0
	.comm	_DMDTOM,4,2                     ; @DMDTOM
	.comm	_CFRINIT1,4,2                   ; @CFRINIT1
	.comm	_CFRINIT0,4,2                   ; @CFRINIT0
	.comm	_FE_ERROR,4,2                   ; @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_srate_srch_fine
.subsections_via_symbols
