	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0900_get_demod_cold_lock
_stv0900_get_demod_cold_lock:           ## @stv0900_get_demod_cold_lock
	.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	$56, %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), %rax
	movq	8(%rax), %rbx
	movslq	(%rax), %r13
	movq	(%rbx), %rax
	movl	(%rax,%r13,4), %r12d
	cmpl	$10000000, %r12d                ## imm = 0x989680
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_4
## %bb.1:
	movslq	%r14d, %rax
	imulq	$1431655766, %rax, %rdx         ## imm = 0x55555556
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	$32, %rdx
	addl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_stv0900_get_demod_lock
	movl	%eax, %ebx
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_25
## %bb.2:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_stv0900_check_timing_lock
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.3:
	movq	_DMDISTATE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$31, %edx
	callq	_stv0900_write_reg
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$21, %edx
	callq	_stv0900_write_reg
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stv0900_get_demod_lock         ## TAILCALL
LBB0_4:
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movl	(%rax,%r13,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r15d
	shrl	$31, %r15d
	addl	%r14d, %r15d
	sarl	%r15d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_stv0900_get_demod_lock
	movq	%rbx, %rcx
	movl	%eax, %ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_25
## %bb.5:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	16(%rcx), %ecx
	cmpl	$32, %ecx
	jg	LBB0_11
## %bb.6:
	movl	$500, %r8d                      ## imm = 0x1F4
	cmpl	$1000001, %r12d                 ## imm = 0xF4241
	jl	LBB0_12
## %bb.7:
	cmpl	$4000001, %r12d                 ## imm = 0x3D0901
	jae	LBB0_8
## %bb.9:
	movl	$1000, %r8d                     ## imm = 0x3E8
	cmpl	$2000000, %r12d                 ## imm = 0x1E8480
	jae	LBB0_10
	jmp	LBB0_12
LBB0_26:
	movl	(%r15), %ebx
	jmp	LBB0_25
LBB0_11:
	movslq	%r12d, %rax
	imulq	$274877907, %rax, %r8           ## imm = 0x10624DD3
	movq	%r8, %rax
	shrq	$63, %rax
	sarq	$40, %r8
	addl	%eax, %r8d
	leal	(%r14,%r14,2), %eax
	leal	(%r14,%r14,2), %r15d
	addl	$3, %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$2, %r15d
	jmp	LBB0_12
LBB0_8:
	cmpl	$7000001, %r12d                 ## imm = 0x6ACFC1
	movl	$2000, %eax                     ## imm = 0x7D0
	movl	$3000, %r8d                     ## imm = 0xBB8
	cmovbl	%eax, %r8d
LBB0_10:
	movslq	%r14d, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rdx
	shrq	$63, %rdx
	shrq	$32, %rax
	addl	%edx, %eax
	cmpl	$1000, %eax                     ## imm = 0x3E8
	movl	$1000, %r15d                    ## imm = 0x3E8
	cmovll	%eax, %r15d
LBB0_12:
	movslq	%edi, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%r8d
	movl	%eax, %edx
	andl	$1, %edx
	addl	%eax, %edx
	cmpl	$12, %edx
	movl	$12, %eax
	cmovll	%edx, %eax
	testl	%edx, %edx
	movl	$2, %r12d
	cmovgl	%eax, %r12d
	xorl	%esi, %esi
	movl	%ebx, %eax
	cmpl	$32, %ecx
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	jg	LBB0_14
## %bb.13:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	24(%r14), %rcx
	movl	(%rcx,%r13,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax,%r13,4), %edi
	movl	52(%r14), %esi
	callq	_stv0900_carrier_width
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	(%r14), %rcx
	movq	32(%r14), %rdx
	addl	(%rcx,%r13,4), %eax
	movl	%eax, (%rdx,%r13,4)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	testl	%r12d, %r12d
	jle	LBB0_25
## %bb.15:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	cmpl	%eax, %ebx
	jne	LBB0_25
## %bb.16:
	movl	%r8d, %edi
	negl	%edi
	movl	$1, %edx
	movq	_DMDISTATE@GOTPCREL(%rip), %rcx
	movl	%r8d, %r15d
	movl	$1, %r14d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	movl	%edi, %eax
	cmovgl	%r15d, %eax
	addl	%esi, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$32, 16(%rbx)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	jg	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rcx
	cmpl	$3, (%rcx,%r13,4)
	movl	(%rdx,%r13,4), %edx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r13d, %ecx
	callq	_stv0900_set_tuner_auto
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	$28, %edx
	movl	%eax, %r13d
	callq	_stv0900_write_reg
	movl	%r13d, %eax
	shll	$16, %eax
	movslq	48(%rbx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	cltd
	idivl	%ecx
	movl	%eax, %r13d
	movq	_CFR_INIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r13d, %edi
	callq	_MSB
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_stv0900_write_bits
	movq	_CFR_INIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r13d, %edi
	callq	_LSB
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_stv0900_write_bits
	movl	$5, %r13d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_stv0900_set_tuner
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_DMDISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$28, %edx
	callq	_stv0900_write_reg
	movq	_CFRINIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_stv0900_write_reg
	movq	_CFRINIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_stv0900_write_reg
	movl	$21, %r13d
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_DMDISTATE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$31, %edx
	callq	_stv0900_write_reg
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_stv0900_write_reg
	movq	%rbx, %rdi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_stv0900_get_demod_lock
	movl	%eax, %ebx
	cmpl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	negl	%edx
	incl	%r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r15d
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	subl	%eax, %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	_DMDISTATE@GOTPCREL(%rip), %rcx
	je	LBB0_17
LBB0_25:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_DMDISTATE,4,2                  ## @DMDISTATE
	.comm	_CFRINIT1,4,2                   ## @CFRINIT1
	.comm	_CFRINIT0,4,2                   ## @CFRINIT0
	.comm	_CFR_INIT1,4,2                  ## @CFR_INIT1
	.comm	_CFR_INIT0,4,2                  ## @CFR_INIT0
	.no_dead_strip	_stv0900_get_demod_cold_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0900_get_demod_cold_lock
_stv0900_get_demod_cold_lock:           ; @stv0900_get_demod_cold_lock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x1
	ldr	x8, [x0]
	ldr	x19, [x8, #8]
	ldrsw	x25, [x8]
	ldr	x8, [x19]
	lsl	x26, x25, #2
	ldr	w21, [x8, x26]
	mov	w8, #38528
	movk	w8, #152, lsl #16
	cmp	w21, w8
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w23, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w2, w8, w9
	mov	x0, x19
	mov	x1, x25
	bl	_stv0900_get_demod_lock
	mov	x24, x0
Lloh0:
	adrp	x20, _FALSE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.2:
	mov	x0, x19
	mov	x1, x25
	bl	_stv0900_check_timing_lock
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
Lloh5:
	adrp	x20, _DMDISTATE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _DMDISTATE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #31
	bl	_stv0900_write_reg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #21
	bl	_stv0900_write_reg
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_stv0900_get_demod_lock
LBB0_4:
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w20, [x8, x26]
	cmp	w23, #0
	cinc	w8, w23, lt
	asr	w27, w8, #1
	mov	x0, x19
	mov	x1, x25
	mov	x2, x27
	bl	_stv0900_get_demod_lock
	mov	x24, x0
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.5:
	ldr	w8, [x19, #16]
	cmp	w8, #32
	b.gt	LBB0_9
; %bb.6:
	mov	w9, #16961
	movk	w9, #15, lsl #16
	cmp	w21, w9
	b.ge	LBB0_10
; %bb.7:
	mov	w28, #500
	b	LBB0_14
LBB0_8:
	ldr	w24, [x20]
	b	LBB0_27
LBB0_9:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w21, w9
	lsr	x10, x9, #63
	asr	x9, x9, #40
	add	w28, w9, w10
	add	w9, w23, w23, lsl #1
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w27, w9, #2
	b	LBB0_14
LBB0_10:
	mov	w9, #2305
	movk	w9, #61, lsl #16
	cmp	w21, w9
	b.hs	LBB0_12
; %bb.11:
	mov	w28, #1000
	mov	w9, #33920
	movk	w9, #30, lsl #16
	cmp	w21, w9
	b.hs	LBB0_13
	b	LBB0_14
LBB0_12:
	mov	w9, #53185
	movk	w9, #106, lsl #16
	mov	w10, #3000
	mov	w11, #2000
	cmp	w21, w9
	csel	w28, w11, w10, lo
LBB0_13:
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x9, w23, w9
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	mov	w10, #1000
	cmp	w9, #1000
	csel	w27, w9, w10, lt
LBB0_14:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w20, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	sdiv	w9, w9, w28
	and	w10, w9, #0x1
	add	w9, w10, w9
	mov	w10, #12
	cmp	w9, #12
	csel	w10, w9, w10, lt
	mov	w11, #2
	cmp	w9, #1
	csel	w9, w11, w10, lt
	stp	w28, w9, [sp, #20]              ; 8-byte Folded Spill
	cmp	w8, #32
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	str	w27, [sp, #16]                  ; 4-byte Folded Spill
	b.gt	LBB0_16
; %bb.15:
	ldr	x8, [x19, #24]
	ldr	w8, [x8, x26]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x8, [x19]
	ldr	w0, [x8, x26]
	ldr	w1, [x19, #52]
	bl	_stv0900_carrier_width
	ldr	w28, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x8, [x19]
	ldr	w8, [x8, x26]
	add	w8, w8, w0
	ldr	x9, [x19, #32]
	str	w8, [x9, x26]
Lloh10:
	adrp	x22, _FALSE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	ldr	w8, [x22]
	b	LBB0_17
LBB0_16:
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	mov	x8, x24
Lloh12:
	adrp	x22, _FALSE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_17:
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w9, #1
	ccmp	w24, w8, #0, ge
	b.ne	LBB0_27
; %bb.18:
	neg	w21, w28
	mov	w27, #1
	mov	w20, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	cmp	w27, #0
	csel	w8, w28, w21, gt
	ldr	w24, [sp, #28]                  ; 4-byte Folded Reload
	add	w24, w8, w24
	ldr	w8, [x19, #16]
	cmp	w8, #32
	str	w24, [sp, #28]                  ; 4-byte Folded Spill
	b.gt	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldp	x9, x8, [x19, #32]
	ldr	w8, [x8, x26]
	ldr	w2, [x9, x26]
	cmp	w8, #3
Lloh14:
	adrp	x23, _DMDISTATE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _DMDISTATE@GOTPAGEOFF]
	b.ne	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x3, x25
	bl	_stv0900_set_tuner_auto
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh16:
	adrp	x23, _DMDISTATE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _DMDISTATE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #28
	bl	_stv0900_write_reg
	lsl	w8, w24, #16
	ldrsw	x9, [x19, #48]
	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	w24, w8, w9
	mov	x22, x26
	mov	x26, x25
Lloh18:
	adrp	x8, _CFR_INIT1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CFR_INIT1@GOTPAGEOFF]
Lloh20:
	ldr	w25, [x8]
	mov	x0, x24
	bl	_MSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	bl	_stv0900_write_bits
Lloh21:
	adrp	x8, _CFR_INIT0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CFR_INIT0@GOTPAGEOFF]
Lloh23:
	ldr	w25, [x8]
	mov	x0, x24
	bl	_LSB
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	mov	x25, x26
	mov	x26, x22
Lloh24:
	adrp	x22, _FALSE@GOTPAGE
Lloh25:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	bl	_stv0900_write_bits
	mov	w24, #5
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x24
	bl	_stv0900_set_tuner
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #28
	bl	_stv0900_write_reg
Lloh26:
	adrp	x8, _CFRINIT1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CFRINIT1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_stv0900_write_reg
Lloh29:
	adrp	x8, _CFRINIT0@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CFRINIT0@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_stv0900_write_reg
	mov	w24, #21
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #31
	bl	_stv0900_write_reg
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x24
	bl	_stv0900_write_reg
	mov	x0, x19
	mov	x1, x25
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_stv0900_get_demod_lock
	mov	x24, x0
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w20, w8
	b.ge	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	neg	w27, w27
	add	w20, w20, #1
	ldr	w8, [x22]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	w28, w28, w9
	sub	w21, w21, w9
	cmp	w24, w8
	b.eq	LBB0_19
LBB0_27:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_DMDISTATE,4,2                  ; @DMDISTATE
	.comm	_CFRINIT1,4,2                   ; @CFRINIT1
	.comm	_CFRINIT0,4,2                   ; @CFRINIT0
	.comm	_CFR_INIT1,4,2                  ; @CFR_INIT1
	.comm	_CFR_INIT0,4,2                  ; @CFR_INIT0
	.no_dead_strip	_stv0900_get_demod_cold_lock
.subsections_via_symbols
