	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_start_search
_stv090x_start_search:                  ## @stv090x_start_search
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_DMDISTATE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_STV090x_READ_DEMOD
	movl	%eax, %ebx
	movq	_I2C_DEMOD_MODE_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$31, %edx
	callq	_STV090x_SETFIELD_Px
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.1:
	movq	24(%r14), %rax
	cmpl	$32, (%rax)
	movl	(%r14), %eax
	jg	LBB0_11
## %bb.2:
	movq	_CARCFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	cmpl	$5000000, %eax                  ## imm = 0x4C4B40
	jg	LBB0_9
## %bb.3:
	movl	$68, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.4:
	movq	_CFRUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$15, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.5:
	movq	_CFRUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.6:
	movq	_CFRLOW1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$240, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.7:
	movq	_CFRLOW0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.8:
	movq	_RTCS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$104, %edx
	jmp	LBB0_17
LBB0_11:
	cmpl	$5000001, %eax                  ## imm = 0x4C4B41
	movq	_RTCS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %eax
	movl	$68, %edx
	cmovll	%eax, %edx
	movq	%r14, %rdi
	callq	_STV090x_WRITE_DEMOD
	movq	_CARCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$70, %edx
	callq	_STV090x_WRITE_DEMOD
	movl	$65536000, %eax                 ## imm = 0x3E80000
	cmpl	$128, 4(%r14)
	je	LBB0_13
## %bb.12:
	movslq	8(%r14), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$39, %rax
	addl	%ecx, %eax
	shll	$16, %eax
	addl	$39321600, %eax                 ## imm = 0x2580000
LBB0_13:
	movq	24(%r14), %rcx
	movslq	4(%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, %r15d
	movq	_CFRUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_MSB
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.14:
	movq	_CFRUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_LSB
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.15:
	negl	%r15d
	movq	_CFRLOW1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_MSB
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.16:
	movq	_CFRLOW0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_LSB
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	jmp	LBB0_17
LBB0_9:
	movl	$196, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.10:
	movq	_RTCS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$68, %edx
LBB0_17:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.18:
	movq	_CFRINIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.19:
	movq	_CFRINIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.20:
	movq	24(%r14), %rax
	cmpl	$32, (%rax)
	jl	LBB0_28
## %bb.21:
	movq	_EQUALCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.22:
	movq	_FFECFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.23:
	movq	16(%r14), %rax
	movq	_STV090x_SEARCH_DVBS1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.24:
	movq	_STV090x_SEARCH_DSS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.25:
	movq	_STV090x_SEARCH_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
LBB0_26:
	movq	_VITSCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$130, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.27:
	movq	_VAVSRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
LBB0_28:
	movq	_SFRSTEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.29:
	movq	_TMGTHRISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$224, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.30:
	movq	_TMGTHFALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$192, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.31:
	movq	_DMDCFGMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, %ebx
	movq	_SCAN_ENABLE_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_STV090x_SETFIELD_Px
	movq	_CFR_AUTOSCAN_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_STV090x_SETFIELD_Px
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.32:
	movq	_DMDCFG2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, %ebx
	movq	_S1S2_SEQUENTIAL_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_STV090x_SETFIELD_Px
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.33:
	movq	_RTC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$136, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.34:
	movq	24(%r14), %rax
	movl	(%rax), %ecx
	movl	(%r14), %eax
	cmpl	$32, %ecx
	jl	LBB0_46
## %bb.35:
	cmpl	$1999999, %eax                  ## imm = 0x1E847F
	jg	LBB0_41
## %bb.36:
	movq	_CARFREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	cmpl	$32, %ecx
	ja	LBB0_38
## %bb.37:
	movl	$57, %edx
	jmp	LBB0_39
LBB0_46:
	movq	_CARFREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	cmpl	$9999999, %eax                  ## imm = 0x98967F
	jg	LBB0_48
## %bb.47:
	movl	$239, %edx
	jmp	LBB0_49
LBB0_41:
	movq	_CARFREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	cmpl	$9999999, %eax                  ## imm = 0x98967F
	ja	LBB0_45
## %bb.42:
	movl	$76, %edx
	jmp	LBB0_43
LBB0_48:
	movl	$237, %edx
	jmp	LBB0_49
LBB0_38:
	movl	$137, %edx
LBB0_39:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.40:
	movq	_CARHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$64, %edx
	jmp	LBB0_49
LBB0_45:
	movl	$75, %edx
LBB0_43:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.44:
	movq	_CARHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$32, %edx
LBB0_49:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.50:
	movl	4(%r14), %eax
	xorl	%ebx, %ebx
	cmpl	$129, %eax
	je	LBB0_54
## %bb.51:
	cmpl	$128, %eax
	jne	LBB0_58
## %bb.52:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$31, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.53:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$24, %edx
	jmp	LBB0_56
LBB0_54:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$31, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_57
## %bb.55:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$21, %edx
LBB0_56:
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	jns	LBB0_58
LBB0_57:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	$-1, %ebx
LBB0_58:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMDISTATE,4,2                  ## @DMDISTATE
	.comm	_I2C_DEMOD_MODE_FIELD,4,2       ## @I2C_DEMOD_MODE_FIELD
	.comm	_CARCFG,4,2                     ## @CARCFG
	.comm	_CFRUP1,4,2                     ## @CFRUP1
	.comm	_CFRUP0,4,2                     ## @CFRUP0
	.comm	_CFRLOW1,4,2                    ## @CFRLOW1
	.comm	_CFRLOW0,4,2                    ## @CFRLOW0
	.comm	_RTCS2,4,2                      ## @RTCS2
	.comm	_CFRINIT1,4,2                   ## @CFRINIT1
	.comm	_CFRINIT0,4,2                   ## @CFRINIT0
	.comm	_EQUALCFG,4,2                   ## @EQUALCFG
	.comm	_FFECFG,4,2                     ## @FFECFG
	.comm	_STV090x_SEARCH_DVBS1,8,3       ## @STV090x_SEARCH_DVBS1
	.comm	_STV090x_SEARCH_DSS,8,3         ## @STV090x_SEARCH_DSS
	.comm	_STV090x_SEARCH_AUTO,8,3        ## @STV090x_SEARCH_AUTO
	.comm	_VITSCALE,4,2                   ## @VITSCALE
	.comm	_VAVSRVIT,4,2                   ## @VAVSRVIT
	.comm	_SFRSTEP,4,2                    ## @SFRSTEP
	.comm	_TMGTHRISE,4,2                  ## @TMGTHRISE
	.comm	_TMGTHFALL,4,2                  ## @TMGTHFALL
	.comm	_DMDCFGMD,4,2                   ## @DMDCFGMD
	.comm	_SCAN_ENABLE_FIELD,4,2          ## @SCAN_ENABLE_FIELD
	.comm	_CFR_AUTOSCAN_FIELD,4,2         ## @CFR_AUTOSCAN_FIELD
	.comm	_DMDCFG2,4,2                    ## @DMDCFG2
	.comm	_S1S2_SEQUENTIAL_FIELD,4,2      ## @S1S2_SEQUENTIAL_FIELD
	.comm	_RTC,4,2                        ## @RTC
	.comm	_CARFREQ,4,2                    ## @CARFREQ
	.comm	_CARHDR,4,2                     ## @CARHDR
	.comm	_FE_ERROR,4,2                   ## @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_start_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_start_search
_stv090x_start_search:                  ; @stv090x_start_search
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _DMDISTATE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMDISTATE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_STV090x_READ_DEMOD
	mov	x20, x0
Lloh2:
	adrp	x8, _I2C_DEMOD_MODE_FIELD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2C_DEMOD_MODE_FIELD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #31
	bl	_STV090x_SETFIELD_Px
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	ldr	w8, [x19]
Lloh5:
	adrp	x20, _CARCFG@GOTPAGE
Lloh6:
	ldr	x20, [x20, _CARCFG@GOTPAGEOFF]
	cmp	w9, #32
	b.gt	LBB0_9
; %bb.2:
	ldr	w1, [x20]
	mov	w9, #19264
	movk	w9, #76, lsl #16
	mov	x0, x19
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.3:
	mov	w2, #68
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.4:
Lloh7:
	adrp	x8, _CFRUP1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CFRUP1@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.5:
Lloh10:
	adrp	x8, _CFRUP0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CFRUP0@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #255
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.6:
Lloh13:
	adrp	x8, _CFRLOW1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CFRLOW1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #240
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.7:
Lloh16:
	adrp	x8, _CFRLOW0@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CFRLOW0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.8:
Lloh19:
	adrp	x8, _RTCS2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RTCS2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #104
	bl	_STV090x_WRITE_DEMOD
	tbz	x0, #63, LBB0_18
	b	LBB0_58
LBB0_9:
Lloh22:
	adrp	x9, _RTCS2@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RTCS2@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	mov	w9, #19265
	movk	w9, #76, lsl #16
	mov	w10, #68
	mov	w11, #104
	cmp	w8, w9
	csel	w2, w11, w10, lt
	mov	x0, x19
	bl	_STV090x_WRITE_DEMOD
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #70
	bl	_STV090x_WRITE_DEMOD
	ldr	w8, [x19, #4]
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.10:
	mov	w8, #65536000
	b	LBB0_14
LBB0_11:
	mov	w2, #196
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.12:
Lloh25:
	adrp	x8, _RTCS2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RTCS2@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #68
	bl	_STV090x_WRITE_DEMOD
	tbz	x0, #63, LBB0_18
	b	LBB0_58
LBB0_13:
	ldrsw	x8, [x19, #8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #39
	add	w8, w8, w9
	mov	w9, #39321600
	add	w8, w9, w8, lsl #16
LBB0_14:
	ldr	x9, [x19, #24]
	ldrsw	x9, [x9, #4]
	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	w20, w8, w9
Lloh28:
	adrp	x8, _CFRUP1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CFRUP1@GOTPAGEOFF]
Lloh30:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_MSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.15:
Lloh31:
	adrp	x8, _CFRUP0@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CFRUP0@GOTPAGEOFF]
Lloh33:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_LSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.16:
	neg	w20, w20
Lloh34:
	adrp	x8, _CFRLOW1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CFRLOW1@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_MSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.17:
Lloh37:
	adrp	x8, _CFRLOW0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CFRLOW0@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_LSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
LBB0_18:
Lloh40:
	adrp	x8, _CFRINIT1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _CFRINIT1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.19:
Lloh43:
	adrp	x8, _CFRINIT0@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CFRINIT0@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.20:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	cmp	w8, #32
	b.lt	LBB0_28
; %bb.21:
Lloh46:
	adrp	x8, _EQUALCFG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EQUALCFG@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.22:
Lloh49:
	adrp	x8, _FFECFG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FFECFG@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.23:
	ldr	x8, [x19, #16]
Lloh52:
	adrp	x9, _STV090x_SEARCH_DVBS1@GOTPAGE
Lloh53:
	ldr	x9, [x9, _STV090x_SEARCH_DVBS1@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.24:
Lloh55:
	adrp	x9, _STV090x_SEARCH_DSS@GOTPAGE
Lloh56:
	ldr	x9, [x9, _STV090x_SEARCH_DSS@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.25:
Lloh58:
	adrp	x9, _STV090x_SEARCH_AUTO@GOTPAGE
Lloh59:
	ldr	x9, [x9, _STV090x_SEARCH_AUTO@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
LBB0_26:
Lloh61:
	adrp	x8, _VITSCALE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _VITSCALE@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #130
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.27:
Lloh64:
	adrp	x8, _VAVSRVIT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _VAVSRVIT@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
LBB0_28:
Lloh67:
	adrp	x8, _SFRSTEP@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SFRSTEP@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.29:
Lloh70:
	adrp	x8, _TMGTHRISE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _TMGTHRISE@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #224
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.30:
Lloh73:
	adrp	x8, _TMGTHFALL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _TMGTHFALL@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #192
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.31:
Lloh76:
	adrp	x21, _DMDCFGMD@GOTPAGE
Lloh77:
	ldr	x21, [x21, _DMDCFGMD@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_STV090x_READ_DEMOD
	mov	x20, x0
Lloh78:
	adrp	x8, _SCAN_ENABLE_FIELD@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SCAN_ENABLE_FIELD@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_STV090x_SETFIELD_Px
Lloh81:
	adrp	x8, _CFR_AUTOSCAN_FIELD@GOTPAGE
Lloh82:
	ldr	x8, [x8, _CFR_AUTOSCAN_FIELD@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_STV090x_SETFIELD_Px
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.32:
Lloh84:
	adrp	x21, _DMDCFG2@GOTPAGE
Lloh85:
	ldr	x21, [x21, _DMDCFG2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_STV090x_READ_DEMOD
	mov	x20, x0
Lloh86:
	adrp	x8, _S1S2_SEQUENTIAL_FIELD@GOTPAGE
Lloh87:
	ldr	x8, [x8, _S1S2_SEQUENTIAL_FIELD@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_STV090x_SETFIELD_Px
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.33:
Lloh89:
	adrp	x8, _RTC@GOTPAGE
Lloh90:
	ldr	x8, [x8, _RTC@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #136
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.34:
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	ldr	w8, [x19]
	cmp	w9, #32
	b.lt	LBB0_38
; %bb.35:
	mov	w10, #33919
	movk	w10, #30, lsl #16
	cmp	w8, w10
	b.gt	LBB0_40
; %bb.36:
Lloh92:
	adrp	x8, _CARFREQ@GOTPAGE
Lloh93:
	ldr	x8, [x8, _CARFREQ@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
	mov	x0, x19
	cmp	w9, #32
	b.hi	LBB0_43
; %bb.37:
	mov	w2, #57
	b	LBB0_44
LBB0_38:
Lloh95:
	adrp	x9, _CARFREQ@GOTPAGE
Lloh96:
	ldr	x9, [x9, _CARFREQ@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x9]
	mov	w9, #38528
	movk	w9, #152, lsl #16
	mov	x0, x19
	cmp	w8, w9
	b.ge	LBB0_42
; %bb.39:
	mov	w2, #239
	b	LBB0_49
LBB0_40:
Lloh98:
	adrp	x9, _CARFREQ@GOTPAGE
Lloh99:
	ldr	x9, [x9, _CARFREQ@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x9]
	mov	w9, #38528
	movk	w9, #152, lsl #16
	mov	x0, x19
	cmp	w8, w9
	b.hs	LBB0_46
; %bb.41:
	mov	w2, #76
	b	LBB0_47
LBB0_42:
	mov	w2, #237
	b	LBB0_49
LBB0_43:
	mov	w2, #137
LBB0_44:
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.45:
Lloh101:
	adrp	x8, _CARHDR@GOTPAGE
Lloh102:
	ldr	x8, [x8, _CARHDR@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #64
	b	LBB0_49
LBB0_46:
	mov	w2, #75
LBB0_47:
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.48:
Lloh104:
	adrp	x8, _CARHDR@GOTPAGE
Lloh105:
	ldr	x8, [x8, _CARHDR@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #32
LBB0_49:
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.50:
	ldr	w8, [x19, #4]
	cmp	w8, #129
	b.eq	LBB0_54
; %bb.51:
	cmp	w8, #128
	b.ne	LBB0_57
; %bb.52:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #31
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.53:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #24
	b	LBB0_56
LBB0_54:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #31
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
; %bb.55:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #21
LBB0_56:
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_58
LBB0_57:
	mov	w0, #0
	b	LBB0_59
LBB0_58:
Lloh107:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh108:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
Lloh110:
	adrp	x2, l_.str@PAGE
Lloh111:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	w0, #-1
LBB0_59:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.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 AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.cfi_endproc
                                        ; -- End function
	.comm	_DMDISTATE,4,2                  ; @DMDISTATE
	.comm	_I2C_DEMOD_MODE_FIELD,4,2       ; @I2C_DEMOD_MODE_FIELD
	.comm	_CARCFG,4,2                     ; @CARCFG
	.comm	_CFRUP1,4,2                     ; @CFRUP1
	.comm	_CFRUP0,4,2                     ; @CFRUP0
	.comm	_CFRLOW1,4,2                    ; @CFRLOW1
	.comm	_CFRLOW0,4,2                    ; @CFRLOW0
	.comm	_RTCS2,4,2                      ; @RTCS2
	.comm	_CFRINIT1,4,2                   ; @CFRINIT1
	.comm	_CFRINIT0,4,2                   ; @CFRINIT0
	.comm	_EQUALCFG,4,2                   ; @EQUALCFG
	.comm	_FFECFG,4,2                     ; @FFECFG
	.comm	_STV090x_SEARCH_DVBS1,8,3       ; @STV090x_SEARCH_DVBS1
	.comm	_STV090x_SEARCH_DSS,8,3         ; @STV090x_SEARCH_DSS
	.comm	_STV090x_SEARCH_AUTO,8,3        ; @STV090x_SEARCH_AUTO
	.comm	_VITSCALE,4,2                   ; @VITSCALE
	.comm	_VAVSRVIT,4,2                   ; @VAVSRVIT
	.comm	_SFRSTEP,4,2                    ; @SFRSTEP
	.comm	_TMGTHRISE,4,2                  ; @TMGTHRISE
	.comm	_TMGTHFALL,4,2                  ; @TMGTHFALL
	.comm	_DMDCFGMD,4,2                   ; @DMDCFGMD
	.comm	_SCAN_ENABLE_FIELD,4,2          ; @SCAN_ENABLE_FIELD
	.comm	_CFR_AUTOSCAN_FIELD,4,2         ; @CFR_AUTOSCAN_FIELD
	.comm	_DMDCFG2,4,2                    ; @DMDCFG2
	.comm	_S1S2_SEQUENTIAL_FIELD,4,2      ; @S1S2_SEQUENTIAL_FIELD
	.comm	_RTC,4,2                        ; @RTC
	.comm	_CARFREQ,4,2                    ; @CARFREQ
	.comm	_CARHDR,4,2                     ; @CARHDR
	.comm	_FE_ERROR,4,2                   ; @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_start_search
.subsections_via_symbols
