	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stb0899_dvbs2_algo             ## -- Begin function stb0899_dvbs2_algo
	.p2align	4, 0x90
_stb0899_dvbs2_algo:                    ## @stb0899_dvbs2_algo
	.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
	movq	%rdi, %r15
	movl	16(%rdi), %eax
	cmpl	$2000001, %eax                  ## imm = 0x1E8481
	jge	LBB0_2
## %bb.1:
	movl	$5000, -44(%rbp)                ## 4-byte Folded Spill
                                        ## imm = 0x1388
	movl	$350, -48(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x15E
	jmp	LBB0_11
LBB0_2:
	cmpl	$5000001, %eax                  ## imm = 0x4C4B41
	jae	LBB0_4
## %bb.3:
	movl	$2500, -44(%rbp)                ## 4-byte Folded Spill
                                        ## imm = 0x9C4
	movl	$170, -48(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_4:
	cmpl	$10000001, %eax                 ## imm = 0x989681
	jae	LBB0_6
## %bb.5:
	movl	$1500, -44(%rbp)                ## 4-byte Folded Spill
                                        ## imm = 0x5DC
	movl	$80, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_6:
	cmpl	$15000001, %eax                 ## imm = 0xE4E1C1
	jae	LBB0_8
## %bb.7:
	movl	$500, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x1F4
	movl	$50, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_8:
	cmpl	$20000001, %eax                 ## imm = 0x1312D01
	jae	LBB0_10
## %bb.9:
	movl	$300, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x12C
	movl	$30, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_10:
	xorl	%ecx, %ecx
	cmpl	$25000001, %eax                 ## imm = 0x17D7841
	setb	%cl
	leal	20(%rcx,%rcx,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$250, %eax
	movl	$150, %ecx
	cmovbl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_11:
	movq	_STB0899_TSTRES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_stb0899_read_reg
	movq	%rax, %r12
	movq	_FRESRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_stb0899_write_reg
	leaq	4(%r15), %r13
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_stb0899_i2c_gate_ctrl
	movq	8(%r15), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	48(%r15), %rsi
	movq	%r13, %rdi
	callq	*%rax
	movq	8(%r15), %rcx
LBB0_13:
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	48(%r15), %rsi
	movq	%r13, %rdi
	callq	*%rax
LBB0_15:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_stb0899_i2c_gate_ctrl
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r13
	movq	_IF_LOOP_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_STB0899_SETFIELD_VAL
	movq	_IF_AGC_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	$32, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%rbx), %esi
	movq	_STB0899_BASE_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_stb0899_write_s2reg
	movl	(%rbx), %edi
	movq	_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r13
	movq	_IF_AGC_DUMP_PER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%rbx), %esi
	movq	_STB0899_BASE_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_init_calc
	movl	(%rbx), %edi
	movq	_DMD_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r13
	movl	20(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_18
## %bb.16:
	cmpl	$128, %eax
	jne	LBB0_19
## %bb.17:
	movl	$1, %r12d
LBB0_18:
	movq	_SPECTRUM_INVERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_STB0899_SETFIELD_VAL
LBB0_19:
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STB0899_BASE_DMD_CNTRL2@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_STB0899_OFF0_DMD_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_reacquire
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_dmd_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_DEMOD_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_20
## %bb.21:
	movl	(%r15), %edi
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_34
## %bb.22:
	xorl	%r14d, %r14d
	movq	_CRL_NOM_FREQ@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_CRL_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r12
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movl	(%r13), %edi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r15), %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_STB0899_BASE_CRL_NOM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_CRL_NOM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_reacquire
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	leal	1(%r14), %edx
	cmpl	$2, %r14d
	movl	%edx, %r14d
	jb	LBB0_23
LBB0_25:
	movq	_STB0899_BASE_DMD_CNTRL2@GOTPCREL(%rip), %r14
	cmpq	%rcx, %rax
	jne	LBB0_27
	jmp	LBB0_34
LBB0_20:
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_34
LBB0_27:
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DMD_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r12
	movq	_SPECTRUM_INVERT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_STB0899_GETFIELD
	movl	(%rbx), %edi
	xorl	%edx, %edx
	testl	%eax, %eax
	sete	%dl
	movq	%r12, %rsi
	callq	_STB0899_SETFIELD_VAL
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	_STB0899_OFF0_DMD_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_reacquire
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_dmd_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_DEMOD_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_28
## %bb.29:
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_34
## %bb.30:
	xorl	%r14d, %r14d
	movq	_CRL_NOM_FREQ@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_CRL_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r12
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movl	(%r13), %edi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r15), %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_STB0899_BASE_CRL_NOM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_CRL_NOM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_reacquire
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	leal	1(%r14), %edx
	cmpl	$2, %r14d
	movl	%edx, %r14d
	jb	LBB0_31
	jmp	LBB0_33
LBB0_28:
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_33:
	cmpq	%rcx, %rax
	jne	LBB0_48
LBB0_34:
	movl	(%r15), %edi
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UWP_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_UWP_DECODE_MOD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_STB0899_GETFIELD
	sarl	$2, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_STB0899_GETFIELD
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	32(%r15), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movslq	16(%r15), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	cltd
	idivl	%ecx
	cmpl	$410, %eax                      ## imm = 0x19A
	jg	LBB0_41
## %bb.35:
	movq	_STB0899_QPSK_23@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STB0899_QPSK_910@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_INRANGE
	testq	%rax, %rax
	je	LBB0_41
## %bb.36:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	andl	$1, %eax
	je	LBB0_41
## %bb.37:
	movq	%r15, %rdi
	movl	$1, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_stb0899_dvbs2_init_csm
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_41
## %bb.38:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_CSM_CNTRL1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_CSM_TWO_PASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r14), %esi
	movq	_STB0899_BASE_CSM_CNTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_CSM_CNTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_CSM_TWO_PASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r14), %esi
	movq	_STB0899_BASE_CSM_CNTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_CSM_CNTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_stb0899_dvbs2_get_fec_status
	movq	%rax, 24(%r15)
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	leal	1(%r13), %eax
	cmpl	$2, %r13d
	movl	%eax, %r13d
	jb	LBB0_39
LBB0_41:
	movl	32(%r15), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movslq	16(%r15), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	cltd
	idivl	%ecx
	cmpl	$410, %eax                      ## imm = 0x19A
	jg	LBB0_45
## %bb.42:
	movq	_STB0899_QPSK_12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STB0899_QPSK_35@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_INRANGE
	testq	%rax, %rax
	je	LBB0_45
## %bb.43:
	andl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_45
## %bb.44:
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_EQ_DISABLE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r14), %esi
	movq	_STB0899_BASE_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
LBB0_45:
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_EQ_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r14), %esi
	movq	_STB0899_BASE_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_EQ_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
	movl	(%r14), %edi
	movq	_CRL_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movl	%eax, %edi
	movl	$29, %esi
	callq	_sign_extend32
	cltq
	imulq	$1048576805, %rax, %rax         ## imm = 0x3E800325
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	sarl	$18, %eax
	addl	%ecx, %eax
	movslq	32(%r15), %rcx
	imulq	$1125899907, %rcx, %rbx         ## imm = 0x431BDE83
	movq	%rbx, %rcx
	shrq	$63, %rcx
	shrq	$32, %rbx
	sarl	$18, %ebx
	addl	%ecx, %ebx
	imull	%eax, %ebx
	movl	(%r14), %edi
	movq	_DMD_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	_SPECTRUM_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_STB0899_GETFIELD
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	orl	$128, %ecx
	movl	%ecx, 20(%r15)
	movslq	%ebx, %rax
	addq	%rax, 48(%r15)
	movq	%r15, %rdi
	callq	_stb0899_dvbs2_get_srate
	movl	%eax, 16(%r15)
	movl	(%r14), %edi
	movq	_UWP_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_UWP_DECODE_MOD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_STB0899_GETFIELD
	sarl	$2, %eax
	movl	%eax, 36(%r15)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_STB0899_GETFIELD
	andl	$1, %eax
	movl	%eax, 40(%r15)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_STB0899_GETFIELD
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 44(%r15)
	movl	(%r14), %edi
	movq	_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %r14
	movq	_IF_LOOP_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_STB0899_SETFIELD_VAL
	movq	_STB0899_QPSK_12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%r15), %esi
	movq	_STB0899_QPSK_23@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_INRANGE
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	_IF_AGC_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_STB0899_SETFIELD_VAL
LBB0_47:
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_STB0899_BASE_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_IF_AGC_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %r8
	callq	_stb0899_write_s2reg
	movl	(%r15), %edi
	movq	_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_STB0899_READ_S2REG
	movq	%rax, %rbx
	movq	_IF_AGC_DUMP_PER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$7, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r15), %esi
	movq	%r12, %r15
	movq	_STB0899_BASE_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_STB0899_OFF0_IF_AGC_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %r8
	callq	_stb0899_write_s2reg
LBB0_48:
	movq	_STB0899_TSTRES@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_stb0899_read_reg
	movq	%rax, %rbx
	movq	_FRESRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r14), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_stb0899_write_reg
	movl	24(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STB0899_TSTRES,4,2             ## @STB0899_TSTRES
	.comm	_FRESRS,4,2                     ## @FRESRS
	.comm	_STB0899_S2DEMOD,4,2            ## @STB0899_S2DEMOD
	.comm	_IF_AGC_CNTRL,4,2               ## @IF_AGC_CNTRL
	.comm	_IF_LOOP_GAIN,4,2               ## @IF_LOOP_GAIN
	.comm	_IF_AGC_REF,4,2                 ## @IF_AGC_REF
	.comm	_STB0899_BASE_IF_AGC_CNTRL,4,2  ## @STB0899_BASE_IF_AGC_CNTRL
	.comm	_STB0899_OFF0_IF_AGC_CNTRL,4,2  ## @STB0899_OFF0_IF_AGC_CNTRL
	.comm	_IF_AGC_CNTRL2,4,2              ## @IF_AGC_CNTRL2
	.comm	_IF_AGC_DUMP_PER,4,2            ## @IF_AGC_DUMP_PER
	.comm	_STB0899_BASE_IF_AGC_CNTRL2,4,2 ## @STB0899_BASE_IF_AGC_CNTRL2
	.comm	_STB0899_OFF0_IF_AGC_CNTRL2,4,2 ## @STB0899_OFF0_IF_AGC_CNTRL2
	.comm	_DMD_CNTRL2,4,2                 ## @DMD_CNTRL2
	.comm	_SPECTRUM_INVERT,4,2            ## @SPECTRUM_INVERT
	.comm	_STB0899_BASE_DMD_CNTRL2,4,2    ## @STB0899_BASE_DMD_CNTRL2
	.comm	_STB0899_OFF0_DMD_CNTRL2,4,2    ## @STB0899_OFF0_DMD_CNTRL2
	.comm	_DVBS2_DEMOD_LOCK,8,3           ## @DVBS2_DEMOD_LOCK
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"------------> DVB-S2 DEMOD LOCK !"

	.comm	_DVBS2_FEC_LOCK,8,3             ## @DVBS2_FEC_LOCK
	.comm	_CRL_FREQ,4,2                   ## @CRL_FREQ
	.comm	_CRL_NOM_FREQ,4,2               ## @CRL_NOM_FREQ
	.comm	_STB0899_BASE_CRL_NOM_FREQ,4,2  ## @STB0899_BASE_CRL_NOM_FREQ
	.comm	_STB0899_OFF0_CRL_NOM_FREQ,4,2  ## @STB0899_OFF0_CRL_NOM_FREQ
L_.str.1:                               ## @.str.1
	.asciz	"----------------> DVB-S2 FEC Lock !"

	.comm	_UWP_STAT2,4,2                  ## @UWP_STAT2
	.comm	_UWP_DECODE_MOD,4,2             ## @UWP_DECODE_MOD
	.comm	_STB0899_QPSK_23,4,2            ## @STB0899_QPSK_23
	.comm	_STB0899_QPSK_910,4,2           ## @STB0899_QPSK_910
	.comm	_CSM_CNTRL1,4,2                 ## @CSM_CNTRL1
	.comm	_CSM_TWO_PASS,4,2               ## @CSM_TWO_PASS
	.comm	_STB0899_BASE_CSM_CNTRL1,4,2    ## @STB0899_BASE_CSM_CNTRL1
	.comm	_STB0899_OFF0_CSM_CNTRL1,4,2    ## @STB0899_OFF0_CSM_CNTRL1
	.comm	_STB0899_QPSK_12,4,2            ## @STB0899_QPSK_12
	.comm	_STB0899_QPSK_35,4,2            ## @STB0899_QPSK_35
	.comm	_EQ_CNTRL,4,2                   ## @EQ_CNTRL
	.comm	_EQ_DISABLE_UPDATE,4,2          ## @EQ_DISABLE_UPDATE
	.comm	_STB0899_BASE_EQ_CNTRL,4,2      ## @STB0899_BASE_EQ_CNTRL
	.comm	_STB0899_OFF0_EQ_CNTRL,4,2      ## @STB0899_OFF0_EQ_CNTRL
	.comm	_EQ_SHIFT,4,2                   ## @EQ_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stb0899_dvbs2_algo             ; -- Begin function stb0899_dvbs2_algo
	.p2align	2
_stb0899_dvbs2_algo:                    ; @stb0899_dvbs2_algo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w8, [x0, #16]
	mov	w9, #33921
	movk	w9, #30, lsl #16
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	mov	w21, #5000
	mov	w23, #350
	b	LBB0_5
LBB0_2:
	mov	w9, #19265
	movk	w9, #76, lsl #16
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.3:
	mov	w21, #2500
	mov	w23, #170
	b	LBB0_5
LBB0_4:
	mov	w9, #1500
	mov	w10, #80
	mov	w11, #38529
	movk	w11, #152, lsl #16
	mov	w12, #500
	mov	w13, #50
	mov	w14, #57793
	movk	w14, #228, lsl #16
	mov	w15, #300
	mov	w16, #30
	mov	w17, #11521
	movk	w17, #305, lsl #16
	mov	w0, #30785
	movk	w0, #381, lsl #16
	mov	w1, #20
	mov	w2, #25
	cmp	w8, w0
	csel	w0, w2, w1, lo
	mov	w1, #150
	mov	w2, #250
	csel	w1, w2, w1, lo
	cmp	w8, w17
	csel	w16, w16, w0, lo
	csel	w15, w15, w1, lo
	cmp	w8, w14
	csel	w13, w13, w16, lo
	csel	w12, w12, w15, lo
	cmp	w8, w11
	csel	w23, w10, w13, lo
	csel	w21, w9, w12, lo
LBB0_5:
Lloh0:
	adrp	x20, _STB0899_TSTRES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _STB0899_TSTRES@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_stb0899_read_reg
	mov	x22, x0
Lloh2:
	adrp	x8, _FRESRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FRESRS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x22
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x22
	bl	_stb0899_write_reg
	add	x22, x19, #4
	mov	x0, x22
	mov	w1, #1
	bl	_stb0899_i2c_gate_ctrl
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x1, [x19, #48]
	mov	x0, x22
	blr	x9
	ldr	x8, [x19, #8]
LBB0_7:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	add	x1, x19, #48
	mov	x0, x22
	blr	x8
LBB0_9:
	mov	x0, x22
	mov	w1, #0
	bl	_stb0899_i2c_gate_ctrl
Lloh5:
	adrp	x26, _STB0899_S2DEMOD@GOTPAGE
Lloh6:
	ldr	x26, [x26, _STB0899_S2DEMOD@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh7:
	adrp	x8, _IF_AGC_CNTRL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IF_AGC_CNTRL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
Lloh10:
	adrp	x8, _IF_LOOP_GAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IF_LOOP_GAIN@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x22
	mov	w2, #4
	bl	_STB0899_SETFIELD_VAL
Lloh13:
	adrp	x8, _IF_AGC_REF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IF_AGC_REF@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x22
	mov	w2, #32
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh16:
	adrp	x8, _STB0899_BASE_IF_AGC_CNTRL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STB0899_BASE_IF_AGC_CNTRL@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _STB0899_OFF0_IF_AGC_CNTRL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STB0899_OFF0_IF_AGC_CNTRL@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x22
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
Lloh22:
	adrp	x8, _IF_AGC_CNTRL2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
Lloh25:
	adrp	x8, _IF_AGC_DUMP_PER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IF_AGC_DUMP_PER@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x22
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh28:
	adrp	x8, _STB0899_BASE_IF_AGC_CNTRL2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _STB0899_BASE_IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x8, _STB0899_OFF0_IF_AGC_CNTRL2@GOTPAGE
Lloh32:
	ldr	x8, [x8, _STB0899_OFF0_IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x22
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_init_calc
	ldr	w0, [x26]
Lloh34:
	adrp	x8, _DMD_CNTRL2@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DMD_CNTRL2@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w8, [x19, #20]
Lloh37:
	adrp	x20, _SPECTRUM_INVERT@GOTPAGE
Lloh38:
	ldr	x20, [x20, _SPECTRUM_INVERT@GOTPAGEOFF]
	cmp	w8, #129
	b.eq	LBB0_12
; %bb.10:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.11:
	mov	w2, #1
	b	LBB0_13
LBB0_12:
	mov	w2, #0
LBB0_13:
	ldr	w0, [x20]
	mov	x1, x22
	bl	_STB0899_SETFIELD_VAL
LBB0_14:
	ldr	w1, [x26]
Lloh39:
	adrp	x25, _STB0899_BASE_DMD_CNTRL2@GOTPAGE
Lloh40:
	ldr	x25, [x25, _STB0899_BASE_DMD_CNTRL2@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh41:
	adrp	x27, _STB0899_OFF0_DMD_CNTRL2@GOTPAGE
Lloh42:
	ldr	x27, [x27, _STB0899_OFF0_DMD_CNTRL2@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x4, x22
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_dmd_status
	str	x0, [x19, #24]
Lloh43:
	adrp	x24, _DVBS2_DEMOD_LOCK@GOTPAGE
Lloh44:
	ldr	x24, [x24, _DVBS2_DEMOD_LOCK@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh45:
	adrp	x28, _FE_DEBUG@GOTPAGE
Lloh46:
	ldr	x28, [x28, _FE_DEBUG@GOTPAGEOFF]
	cmp	x8, x0
	b.ne	LBB0_20
; %bb.15:
	ldr	w0, [x19]
	ldr	w1, [x28]
Lloh47:
	adrp	x3, l_.str@PAGE
Lloh48:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	mov	x0, x19
	mov	x1, x23
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
Lloh49:
	adrp	x20, _DVBS2_FEC_LOCK@GOTPAGE
Lloh50:
	ldr	x20, [x20, _DVBS2_FEC_LOCK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_28
; %bb.16:
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w0, [x26]
Lloh51:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x26]
Lloh54:
	adrp	x28, _CRL_NOM_FREQ@GOTPAGE
Lloh55:
	ldr	x28, [x28, _CRL_NOM_FREQ@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x28]
	mov	x1, x23
	mov	x2, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh56:
	adrp	x8, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGE
Lloh57:
	ldr	x8, [x8, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
Lloh59:
	adrp	x22, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGE
Lloh60:
	ldr	x22, [x22, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_19
; %bb.17:
	ldr	w0, [x26]
Lloh61:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh62:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x20, x22
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w1, [x28]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x28]
	mov	x1, x23
	mov	x2, x22
Lloh64:
	adrp	x22, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGE
Lloh65:
	ldr	x22, [x22, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGEOFF]
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh66:
	ldr	w2, [x22]
	ldr	w3, [x20]
Lloh67:
	adrp	x20, _DVBS2_FEC_LOCK@GOTPAGE
Lloh68:
	ldr	x20, [x20, _DVBS2_FEC_LOCK@GOTPAGEOFF]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x26]
Lloh69:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh70:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w1, [x28]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x28]
	mov	x1, x23
	mov	x2, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh72:
	adrp	x8, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGE
Lloh73:
	ldr	x8, [x8, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
Lloh75:
	adrp	x8, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGE
Lloh76:
	ldr	x8, [x8, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGEOFF]
Lloh77:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
LBB0_19:
	ldr	w23, [sp, #12]                  ; 4-byte Folded Reload
Lloh78:
	adrp	x20, _SPECTRUM_INVERT@GOTPAGE
Lloh79:
	ldr	x20, [x20, _SPECTRUM_INVERT@GOTPAGEOFF]
Lloh80:
	adrp	x28, _FE_DEBUG@GOTPAGE
Lloh81:
	ldr	x28, [x28, _FE_DEBUG@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_21
	b	LBB0_28
LBB0_20:
Lloh82:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh83:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_28
LBB0_21:
	ldr	w0, [x26]
Lloh85:
	adrp	x8, _DMD_CNTRL2@GOTPAGE
Lloh86:
	ldr	x8, [x8, _DMD_CNTRL2@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x20]
	mov	x1, x22
	bl	_STB0899_GETFIELD
	ldr	w8, [x20]
	cmp	w0, #0
	cset	w2, eq
	mov	x0, x8
	mov	x1, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x25]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x4, x22
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_dmd_status
	str	x0, [x19, #24]
	ldr	x8, [x24]
	cmp	x8, x0
	b.ne	LBB0_27
; %bb.22:
	mov	x0, x19
	mov	x1, x23
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
Lloh88:
	adrp	x20, _DVBS2_FEC_LOCK@GOTPAGE
Lloh89:
	ldr	x20, [x20, _DVBS2_FEC_LOCK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_28
; %bb.23:
	mov	x25, x23
	ldr	w0, [x26]
Lloh90:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh91:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x26]
Lloh93:
	adrp	x24, _CRL_NOM_FREQ@GOTPAGE
Lloh94:
	ldr	x24, [x24, _CRL_NOM_FREQ@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x24]
	mov	x1, x23
	mov	x2, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh95:
	adrp	x27, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGE
Lloh96:
	ldr	x27, [x27, _STB0899_BASE_CRL_NOM_FREQ@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh97:
	adrp	x28, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGE
Lloh98:
	ldr	x28, [x28, _STB0899_OFF0_CRL_NOM_FREQ@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_26
; %bb.24:
	ldr	w0, [x26]
Lloh99:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh100:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x24]
	mov	x1, x23
	mov	x2, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldr	w3, [x28]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_26
; %bb.25:
	ldr	w0, [x26]
Lloh102:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh103:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
	ldr	w0, [x26]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x24]
	mov	x1, x23
	mov	x2, x22
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldr	w3, [x28]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	bl	_stb0899_dvbs2_reacquire
	mov	x0, x19
	mov	x1, x21
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
	ldr	x8, [x20]
LBB0_26:
	mov	x23, x25
Lloh105:
	adrp	x28, _FE_DEBUG@GOTPAGE
Lloh106:
	ldr	x28, [x28, _FE_DEBUG@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_28
	b	LBB0_42
LBB0_27:
Lloh107:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh108:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_42
LBB0_28:
	ldr	w0, [x19]
	ldr	w1, [x28]
Lloh110:
	adrp	x3, l_.str.1@PAGE
Lloh111:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	w0, [x26]
Lloh112:
	adrp	x8, _UWP_STAT2@GOTPAGE
Lloh113:
	ldr	x8, [x8, _UWP_STAT2@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x22, x0
Lloh115:
	adrp	x28, _UWP_DECODE_MOD@GOTPAGE
Lloh116:
	ldr	x28, [x28, _UWP_DECODE_MOD@GOTPAGEOFF]
	ldr	w0, [x28]
	mov	x1, x22
	bl	_STB0899_GETFIELD
	asr	w21, w0, #2
	ldr	w0, [x28]
	mov	x1, x22
	bl	_STB0899_GETFIELD
	mov	x22, x0
	ldr	w8, [x19, #32]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	ldrsw	x9, [x19, #16]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	sdiv	w8, w8, w9
Lloh117:
	adrp	x9, _STB0899_QPSK_23@GOTPAGE
Lloh118:
	ldr	x9, [x9, _STB0899_QPSK_23@GOTPAGEOFF]
	cmp	w8, #410
	b.gt	LBB0_35
; %bb.29:
	ldr	w0, [x9]
Lloh119:
	adrp	x8, _STB0899_QPSK_910@GOTPAGE
Lloh120:
	ldr	x8, [x8, _STB0899_QPSK_910@GOTPAGEOFF]
Lloh121:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_INRANGE
	cbz	x0, LBB0_35
; %bb.30:
	tbz	w22, #0, LBB0_35
; %bb.31:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	bl	_stb0899_dvbs2_init_csm
	mov	x0, x19
	mov	x1, x23
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
Lloh122:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh123:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
Lloh124:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_35
; %bb.32:
	ldr	w0, [x26]
Lloh125:
	adrp	x24, _CSM_CNTRL1@GOTPAGE
Lloh126:
	ldr	x24, [x24, _CSM_CNTRL1@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	mov	x23, x0
Lloh127:
	adrp	x27, _CSM_TWO_PASS@GOTPAGE
Lloh128:
	ldr	x27, [x27, _CSM_TWO_PASS@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	x1, x23
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh129:
	adrp	x20, _STB0899_BASE_CSM_CNTRL1@GOTPAGE
Lloh130:
	ldr	x20, [x20, _STB0899_BASE_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh131:
	adrp	x25, _STB0899_OFF0_CSM_CNTRL1@GOTPAGE
Lloh132:
	ldr	x25, [x25, _STB0899_OFF0_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x27]
	mov	x1, x23
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x20]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_stb0899_dvbs2_get_fec_status
Lloh133:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh134:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
	str	x0, [x19, #24]
Lloh135:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_35
; %bb.33:
	ldr	w0, [x26]
Lloh136:
	adrp	x24, _CSM_CNTRL1@GOTPAGE
Lloh137:
	ldr	x24, [x24, _CSM_CNTRL1@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
Lloh138:
	adrp	x27, _CSM_TWO_PASS@GOTPAGE
Lloh139:
	ldr	x27, [x27, _CSM_TWO_PASS@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	x1, x23
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh140:
	adrp	x20, _STB0899_BASE_CSM_CNTRL1@GOTPAGE
Lloh141:
	ldr	x20, [x20, _STB0899_BASE_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh142:
	adrp	x25, _STB0899_OFF0_CSM_CNTRL1@GOTPAGE
Lloh143:
	ldr	x25, [x25, _STB0899_OFF0_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x27]
	mov	x1, x23
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x20]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x23
	ldr	w23, [sp, #12]                  ; 4-byte Folded Reload
	bl	_stb0899_write_s2reg
	mov	x0, x19
	mov	x1, x23
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
Lloh144:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh145:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
Lloh146:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_35
; %bb.34:
	ldr	w0, [x26]
Lloh147:
	adrp	x24, _CSM_CNTRL1@GOTPAGE
Lloh148:
	ldr	x24, [x24, _CSM_CNTRL1@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
Lloh149:
	adrp	x25, _CSM_TWO_PASS@GOTPAGE
Lloh150:
	ldr	x25, [x25, _CSM_TWO_PASS@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	x1, x23
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh151:
	adrp	x27, _STB0899_BASE_CSM_CNTRL1@GOTPAGE
Lloh152:
	ldr	x27, [x27, _STB0899_BASE_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh153:
	adrp	x20, _STB0899_OFF0_CSM_CNTRL1@GOTPAGE
Lloh154:
	ldr	x20, [x20, _STB0899_OFF0_CSM_CNTRL1@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
	ldr	w1, [x24]
	bl	_STB0899_READ_S2REG
	mov	x23, x0
	ldr	w0, [x25]
	mov	x1, x23
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldr	w3, [x20]
	mov	x0, x19
	mov	x4, x23
	bl	_stb0899_write_s2reg
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_stb0899_dvbs2_get_fec_status
	str	x0, [x19, #24]
LBB0_35:
	ldr	w8, [x19, #32]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	ldrsw	x9, [x19, #16]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #2
Lloh155:
	adrp	x23, _STB0899_QPSK_12@GOTPAGE
Lloh156:
	ldr	x23, [x23, _STB0899_QPSK_12@GOTPAGEOFF]
Lloh157:
	adrp	x27, _EQ_CNTRL@GOTPAGE
Lloh158:
	ldr	x27, [x27, _EQ_CNTRL@GOTPAGEOFF]
	sdiv	w8, w8, w9
Lloh159:
	adrp	x24, _STB0899_BASE_EQ_CNTRL@GOTPAGE
Lloh160:
	ldr	x24, [x24, _STB0899_BASE_EQ_CNTRL@GOTPAGEOFF]
Lloh161:
	adrp	x25, _STB0899_OFF0_EQ_CNTRL@GOTPAGE
Lloh162:
	ldr	x25, [x25, _STB0899_OFF0_EQ_CNTRL@GOTPAGEOFF]
	cmp	w8, #410
	b.gt	LBB0_39
; %bb.36:
	ldr	w0, [x23]
Lloh163:
	adrp	x8, _STB0899_QPSK_35@GOTPAGE
Lloh164:
	ldr	x8, [x8, _STB0899_QPSK_35@GOTPAGEOFF]
Lloh165:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_INRANGE
	cbz	x0, LBB0_39
; %bb.37:
	tbz	w22, #0, LBB0_39
; %bb.38:
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_STB0899_READ_S2REG
	mov	x20, x0
Lloh166:
	adrp	x8, _EQ_DISABLE_UPDATE@GOTPAGE
Lloh167:
	ldr	x8, [x8, _EQ_DISABLE_UPDATE@GOTPAGEOFF]
Lloh168:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x20
	bl	_stb0899_write_s2reg
LBB0_39:
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_STB0899_READ_S2REG
	mov	x20, x0
Lloh169:
	adrp	x8, _EQ_SHIFT@GOTPAGE
Lloh170:
	ldr	x8, [x8, _EQ_SHIFT@GOTPAGEOFF]
Lloh171:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #2
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x4, x20
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
Lloh172:
	adrp	x8, _CRL_FREQ@GOTPAGE
Lloh173:
	ldr	x8, [x8, _CRL_FREQ@GOTPAGEOFF]
Lloh174:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #29
	bl	_sign_extend32
	mov	w8, #805
	movk	w8, #16000, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w9, asr #18
	ldrsw	x9, [x19, #32]
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #18
	mul	w20, w9, w8
	ldr	w0, [x26]
Lloh175:
	adrp	x8, _DMD_CNTRL2@GOTPAGE
Lloh176:
	ldr	x8, [x8, _DMD_CNTRL2@GOTPAGEOFF]
Lloh177:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x1, x0
Lloh178:
	adrp	x8, _SPECTRUM_INVERT@GOTPAGE
Lloh179:
	ldr	x8, [x8, _SPECTRUM_INVERT@GOTPAGEOFF]
Lloh180:
	ldr	w0, [x8]
	bl	_STB0899_GETFIELD
	cmp	w0, #0
	mov	w8, #128
	cinc	w8, w8, eq
	str	w8, [x19, #20]
	ldr	x8, [x19, #48]
	add	x8, x8, w20, sxtw
	str	x8, [x19, #48]
	mov	x0, x19
	bl	_stb0899_dvbs2_get_srate
	str	w0, [x19, #16]
	ldr	w0, [x26]
Lloh181:
	adrp	x8, _UWP_STAT2@GOTPAGE
Lloh182:
	ldr	x8, [x8, _UWP_STAT2@GOTPAGEOFF]
Lloh183:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x20, x0
	ldr	w0, [x28]
	mov	x1, x20
	bl	_STB0899_GETFIELD
	asr	w8, w0, #2
	str	w8, [x19, #36]
	ldr	w0, [x28]
	mov	x1, x20
	bl	_STB0899_GETFIELD
	and	w8, w0, #0x1
	str	w8, [x19, #40]
	ldr	w0, [x28]
	mov	x1, x20
	bl	_STB0899_GETFIELD
	ubfx	w8, w0, #1, #1
	str	w8, [x19, #44]
	ldr	w0, [x26]
Lloh184:
	adrp	x8, _IF_AGC_CNTRL@GOTPAGE
Lloh185:
	ldr	x8, [x8, _IF_AGC_CNTRL@GOTPAGEOFF]
Lloh186:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x20, x0
Lloh187:
	adrp	x8, _IF_LOOP_GAIN@GOTPAGE
Lloh188:
	ldr	x8, [x8, _IF_LOOP_GAIN@GOTPAGEOFF]
Lloh189:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #3
	bl	_STB0899_SETFIELD_VAL
	ldr	w0, [x23]
	ldr	w1, [x19, #36]
Lloh190:
	adrp	x8, _STB0899_QPSK_23@GOTPAGE
Lloh191:
	ldr	x8, [x8, _STB0899_QPSK_23@GOTPAGEOFF]
Lloh192:
	ldr	w2, [x8]
	bl	_INRANGE
	cbz	x0, LBB0_41
; %bb.40:
Lloh193:
	adrp	x8, _IF_AGC_REF@GOTPAGE
Lloh194:
	ldr	x8, [x8, _IF_AGC_REF@GOTPAGEOFF]
Lloh195:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #16
	bl	_STB0899_SETFIELD_VAL
LBB0_41:
	ldr	w1, [x26]
Lloh196:
	adrp	x8, _STB0899_BASE_IF_AGC_CNTRL@GOTPAGE
Lloh197:
	ldr	x8, [x8, _STB0899_BASE_IF_AGC_CNTRL@GOTPAGEOFF]
Lloh198:
	ldr	w2, [x8]
Lloh199:
	adrp	x8, _STB0899_OFF0_IF_AGC_CNTRL@GOTPAGE
Lloh200:
	ldr	x8, [x8, _STB0899_OFF0_IF_AGC_CNTRL@GOTPAGEOFF]
Lloh201:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x20
	bl	_stb0899_write_s2reg
	ldr	w0, [x26]
Lloh202:
	adrp	x8, _IF_AGC_CNTRL2@GOTPAGE
Lloh203:
	ldr	x8, [x8, _IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh204:
	ldr	w1, [x8]
	bl	_STB0899_READ_S2REG
	mov	x20, x0
Lloh205:
	adrp	x8, _IF_AGC_DUMP_PER@GOTPAGE
Lloh206:
	ldr	x8, [x8, _IF_AGC_DUMP_PER@GOTPAGEOFF]
Lloh207:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #7
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x26]
Lloh208:
	adrp	x8, _STB0899_BASE_IF_AGC_CNTRL2@GOTPAGE
Lloh209:
	ldr	x8, [x8, _STB0899_BASE_IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh210:
	ldr	w2, [x8]
Lloh211:
	adrp	x8, _STB0899_OFF0_IF_AGC_CNTRL2@GOTPAGE
Lloh212:
	ldr	x8, [x8, _STB0899_OFF0_IF_AGC_CNTRL2@GOTPAGEOFF]
Lloh213:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x20
	bl	_stb0899_write_s2reg
LBB0_42:
Lloh214:
	adrp	x21, _STB0899_TSTRES@GOTPAGE
Lloh215:
	ldr	x21, [x21, _STB0899_TSTRES@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_stb0899_read_reg
	mov	x20, x0
Lloh216:
	adrp	x8, _FRESRS@GOTPAGE
Lloh217:
	ldr	x8, [x8, _FRESRS@GOTPAGEOFF]
Lloh218:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_stb0899_write_reg
	ldr	w0, [x19, #24]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh142, Lloh143
	.loh AdrpLdrGot	Lloh140, Lloh141
	.loh AdrpLdrGot	Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh153, Lloh154
	.loh AdrpLdrGot	Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGot	Lloh161, Lloh162
	.loh AdrpLdrGot	Lloh159, Lloh160
	.loh AdrpLdrGot	Lloh157, Lloh158
	.loh AdrpLdrGot	Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh190, Lloh191, Lloh192
	.loh AdrpLdrGotLdr	Lloh187, Lloh188, Lloh189
	.loh AdrpLdrGotLdr	Lloh184, Lloh185, Lloh186
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh193, Lloh194, Lloh195
	.loh AdrpLdrGotLdr	Lloh211, Lloh212, Lloh213
	.loh AdrpLdrGotLdr	Lloh208, Lloh209, Lloh210
	.loh AdrpLdrGotLdr	Lloh205, Lloh206, Lloh207
	.loh AdrpLdrGotLdr	Lloh202, Lloh203, Lloh204
	.loh AdrpLdrGotLdr	Lloh199, Lloh200, Lloh201
	.loh AdrpLdrGotLdr	Lloh196, Lloh197, Lloh198
	.loh AdrpLdrGotLdr	Lloh216, Lloh217, Lloh218
	.loh AdrpLdrGot	Lloh214, Lloh215
	.cfi_endproc
                                        ; -- End function
	.comm	_STB0899_TSTRES,4,2             ; @STB0899_TSTRES
	.comm	_FRESRS,4,2                     ; @FRESRS
	.comm	_STB0899_S2DEMOD,4,2            ; @STB0899_S2DEMOD
	.comm	_IF_AGC_CNTRL,4,2               ; @IF_AGC_CNTRL
	.comm	_IF_LOOP_GAIN,4,2               ; @IF_LOOP_GAIN
	.comm	_IF_AGC_REF,4,2                 ; @IF_AGC_REF
	.comm	_STB0899_BASE_IF_AGC_CNTRL,4,2  ; @STB0899_BASE_IF_AGC_CNTRL
	.comm	_STB0899_OFF0_IF_AGC_CNTRL,4,2  ; @STB0899_OFF0_IF_AGC_CNTRL
	.comm	_IF_AGC_CNTRL2,4,2              ; @IF_AGC_CNTRL2
	.comm	_IF_AGC_DUMP_PER,4,2            ; @IF_AGC_DUMP_PER
	.comm	_STB0899_BASE_IF_AGC_CNTRL2,4,2 ; @STB0899_BASE_IF_AGC_CNTRL2
	.comm	_STB0899_OFF0_IF_AGC_CNTRL2,4,2 ; @STB0899_OFF0_IF_AGC_CNTRL2
	.comm	_DMD_CNTRL2,4,2                 ; @DMD_CNTRL2
	.comm	_SPECTRUM_INVERT,4,2            ; @SPECTRUM_INVERT
	.comm	_STB0899_BASE_DMD_CNTRL2,4,2    ; @STB0899_BASE_DMD_CNTRL2
	.comm	_STB0899_OFF0_DMD_CNTRL2,4,2    ; @STB0899_OFF0_DMD_CNTRL2
	.comm	_DVBS2_DEMOD_LOCK,8,3           ; @DVBS2_DEMOD_LOCK
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"------------> DVB-S2 DEMOD LOCK !"

	.comm	_DVBS2_FEC_LOCK,8,3             ; @DVBS2_FEC_LOCK
	.comm	_CRL_FREQ,4,2                   ; @CRL_FREQ
	.comm	_CRL_NOM_FREQ,4,2               ; @CRL_NOM_FREQ
	.comm	_STB0899_BASE_CRL_NOM_FREQ,4,2  ; @STB0899_BASE_CRL_NOM_FREQ
	.comm	_STB0899_OFF0_CRL_NOM_FREQ,4,2  ; @STB0899_OFF0_CRL_NOM_FREQ
l_.str.1:                               ; @.str.1
	.asciz	"----------------> DVB-S2 FEC Lock !"

	.comm	_UWP_STAT2,4,2                  ; @UWP_STAT2
	.comm	_UWP_DECODE_MOD,4,2             ; @UWP_DECODE_MOD
	.comm	_STB0899_QPSK_23,4,2            ; @STB0899_QPSK_23
	.comm	_STB0899_QPSK_910,4,2           ; @STB0899_QPSK_910
	.comm	_CSM_CNTRL1,4,2                 ; @CSM_CNTRL1
	.comm	_CSM_TWO_PASS,4,2               ; @CSM_TWO_PASS
	.comm	_STB0899_BASE_CSM_CNTRL1,4,2    ; @STB0899_BASE_CSM_CNTRL1
	.comm	_STB0899_OFF0_CSM_CNTRL1,4,2    ; @STB0899_OFF0_CSM_CNTRL1
	.comm	_STB0899_QPSK_12,4,2            ; @STB0899_QPSK_12
	.comm	_STB0899_QPSK_35,4,2            ; @STB0899_QPSK_35
	.comm	_EQ_CNTRL,4,2                   ; @EQ_CNTRL
	.comm	_EQ_DISABLE_UPDATE,4,2          ; @EQ_DISABLE_UPDATE
	.comm	_STB0899_BASE_EQ_CNTRL,4,2      ; @STB0899_BASE_EQ_CNTRL
	.comm	_STB0899_OFF0_EQ_CNTRL,4,2      ; @STB0899_OFF0_EQ_CNTRL
	.comm	_EQ_SHIFT,4,2                   ; @EQ_SHIFT
.subsections_via_symbols
