	.file	"extr_rtl2832.c_rtl2832_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
.LC1:
	.string	"load settings for tuner=%02x\n"
.LC2:
	.string	"failed=%d\n"
	.text
	.p2align 4
	.type	rtl2832_init, @function
rtl2832_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	ecx, 84
	lea	rsi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 696
	.cfi_def_cfa_offset 752
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 680[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	mov	r15, QWORD PTR 80[rbp]
	rep stosq
	mov	eax, DWORD PTR DVBT_AD_EN_REG[rip]
	mov	rdi, r15
	mov	DWORD PTR 4[rsp], 1
	mov	DWORD PTR 20[rsp], 1
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR DVBT_AD_EN_REG1[rip]
	mov	DWORD PTR 36[rsp], 10240
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR DVBT_RSD_BER_FAIL_VAL[rip]
	mov	DWORD PTR 52[rsp], 16
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD0[rip]
	mov	DWORD PTR 68[rsp], 32
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD1[rip]
	mov	DWORD PTR 84[rsp], 32
	mov	DWORD PTR 64[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD2[rip]
	mov	DWORD PTR 80[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD3[rip]
	mov	DWORD PTR 96[rsp], eax
	mov	DWORD PTR 100[rsp], 64
	mov	eax, DWORD PTR DVBT_MGD_THD4[rip]
	mov	edx, DWORD PTR DVBT_CDIV_PH0[rip]
	mov	ecx, DWORD PTR DVBT_SCALE1_B92[rip]
	mov	DWORD PTR 116[rsp], 34
	mov	DWORD PTR 112[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD5[rip]
	mov	DWORD PTR 256[rsp], edx
	mov	DWORD PTR 128[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD6[rip]
	mov	DWORD PTR 288[rsp], ecx
	mov	DWORD PTR 144[rsp], eax
	mov	eax, DWORD PTR DVBT_MGD_THD7[rip]
	mov	DWORD PTR 132[rsp], 50
	mov	DWORD PTR 160[rsp], eax
	mov	eax, DWORD PTR DVBT_EN_BK_TRK[rip]
	mov	DWORD PTR 148[rsp], 55
	mov	DWORD PTR 176[rsp], eax
	mov	eax, DWORD PTR DVBT_EN_CACQ_NOTCH[rip]
	mov	DWORD PTR 164[rsp], 57
	mov	DWORD PTR 192[rsp], eax
	mov	eax, DWORD PTR DVBT_AD_AV_REF[rip]
	mov	DWORD PTR 212[rsp], 42
	mov	DWORD PTR 208[rsp], eax
	mov	eax, DWORD PTR DVBT_REG_PI[rip]
	mov	DWORD PTR 228[rsp], 6
	mov	DWORD PTR 224[rsp], eax
	mov	eax, DWORD PTR DVBT_PIP_ON[rip]
	mov	DWORD PTR 260[rsp], 8
	mov	DWORD PTR 240[rsp], eax
	mov	eax, DWORD PTR DVBT_CDIV_PH1[rip]
	mov	DWORD PTR 276[rsp], 8
	mov	DWORD PTR 272[rsp], eax
	mov	DWORD PTR 292[rsp], 4
	mov	ecx, DWORD PTR DVBT_SCALE1_B93[rip]
	mov	DWORD PTR 308[rsp], 176
	mov	DWORD PTR 304[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BA7[rip]
	mov	DWORD PTR 324[rsp], 120
	mov	DWORD PTR 320[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BA9[rip]
	mov	DWORD PTR 340[rsp], 40
	mov	DWORD PTR 336[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BAA[rip]
	mov	DWORD PTR 356[rsp], 89
	mov	DWORD PTR 352[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BAB[rip]
	mov	DWORD PTR 372[rsp], 131
	mov	DWORD PTR 368[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BAC[rip]
	mov	DWORD PTR 388[rsp], 212
	mov	DWORD PTR 384[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BB0[rip]
	mov	DWORD PTR 404[rsp], 101
	mov	DWORD PTR 400[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SCALE1_BB1[rip]
	mov	DWORD PTR 420[rsp], 67
	mov	DWORD PTR 416[rsp], ecx
	mov	ecx, DWORD PTR DVBT_KB_P1[rip]
	mov	DWORD PTR 436[rsp], 1
	mov	DWORD PTR 432[rsp], ecx
	mov	ecx, DWORD PTR DVBT_KB_P2[rip]
	mov	DWORD PTR 452[rsp], 4
	mov	DWORD PTR 448[rsp], ecx
	mov	ecx, DWORD PTR DVBT_KB_P3[rip]
	mov	DWORD PTR 464[rsp], ecx
	mov	DWORD PTR 468[rsp], 7
	mov	ecx, DWORD PTR DVBT_K1_CR_STEP12[rip]
	mov	DWORD PTR 544[rsp], eax
	mov	eax, DWORD PTR DVBT_MPEG_IO_OPT_2_2[rip]
	mov	DWORD PTR 480[rsp], ecx
	mov	ecx, DWORD PTR DVBT_REG_GPE[rip]
	mov	DWORD PTR 560[rsp], eax
	mov	eax, DWORD PTR DVBT_MPEG_IO_OPT_1_0[rip]
	mov	DWORD PTR 496[rsp], ecx
	mov	ecx, DWORD PTR DVBT_SERIAL[rip]
	mov	DWORD PTR 576[rsp], eax
	mov	eax, DWORD PTR DVBT_TRK_KS_P2[rip]
	mov	DWORD PTR 512[rsp], ecx
	mov	DWORD PTR 592[rsp], eax
	mov	eax, DWORD PTR DVBT_TRK_KS_I2[rip]
	mov	DWORD PTR 528[rsp], edx
	mov	DWORD PTR 608[rsp], eax
	mov	eax, DWORD PTR DVBT_TR_THD_SET2[rip]
	mov	DWORD PTR 484[rsp], 10
	mov	DWORD PTR 624[rsp], eax
	mov	eax, DWORD PTR DVBT_TRK_KC_I2[rip]
	mov	DWORD PTR 500[rsp], 1
	mov	DWORD PTR 640[rsp], eax
	mov	eax, DWORD PTR DVBT_CR_THD_SET2[rip]
	mov	DWORD PTR 532[rsp], 9
	mov	DWORD PTR 656[rsp], eax
	xor	eax, eax
	mov	DWORD PTR 548[rsp], 9
	mov	DWORD PTR 596[rsp], 4
	mov	DWORD PTR 612[rsp], 7
	mov	DWORD PTR 628[rsp], 6
	mov	DWORD PTR 644[rsp], 5
	mov	DWORD PTR 660[rsp], 1
	call	dev_dbg@PLT
	mov	esi, DWORD PTR DVBT_SOFT_RST[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	rtl2832_wr_demod_reg@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L2
	xor	ebx, ebx
	lea	r13, 4[rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, rbx
	mov	rdi, rbp
	add	rbx, 1
	sal	rax, 4
	mov	edx, DWORD PTR 0[r13+rax]
	mov	esi, DWORD PTR 8[rsp+rax]
	call	rtl2832_wr_demod_reg@PLT
	test	eax, eax
	jne	.L19
.L3:
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L4
	mov	rax, QWORD PTR 8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	mov	edx, DWORD PTR [rax]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, -128
	cmp	eax, 7
	ja	.L5
	lea	rdx, .L7[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L12-.L7
	.long	.L11-.L7
	.long	.L10-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR rtl2832_tuner_init_fc0012[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_fc0012[rip]
	.p2align 4,,10
	.p2align 3
.L13:
	test	eax, eax
	jle	.L14
	sub	eax, 1
	lea	rbx, 4[rdx]
	sal	rax, 4
	lea	r12, 20[rdx+rax]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L23:
	add	rbx, 16
	cmp	rbx, r12
	je	.L14
.L15:
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	call	rtl2832_wr_demod_reg@PLT
	test	eax, eax
	je	.L23
.L19:
	mov	r14d, eax
.L2:
	mov	edx, r14d
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	xor	eax, eax
	call	dev_dbg@PLT
.L1:
	mov	rax, QWORD PTR 680[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 696
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR rtl2832_tuner_init_r820t[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_r820t[rip]
	jmp	.L13
.L6:
	mov	rdi, QWORD PTR rtl2832_tuner_init_e4000[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_e4000[rip]
	jmp	.L13
.L12:
	mov	rdi, QWORD PTR rtl2832_tuner_init_tua9001[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_tua9001[rip]
	jmp	.L13
.L11:
	mov	rdi, QWORD PTR rtl2832_tuner_init_si2157[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_si2157[rip]
	jmp	.L13
.L9:
	mov	rdi, QWORD PTR rtl2832_tuner_init_fc2580[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR rtl2832_tuner_init_fc2580[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdx, QWORD PTR FE_SCALE_NOT_AVAILABLE[rip]
	mov	rax, QWORD PTR 72[rbp]
	mov	DWORD PTR 64[rbp], 1
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR 56[rbp]
	mov	rdx, QWORD PTR FE_SCALE_NOT_AVAILABLE[rip]
	mov	DWORD PTR 48[rbp], 1
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR 40[rbp]
	mov	rdx, QWORD PTR FE_SCALE_NOT_AVAILABLE[rip]
	mov	DWORD PTR 32[rbp], 1
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR FE_SCALE_NOT_AVAILABLE[rip]
	mov	DWORD PTR 16[rbp], 1
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 0[rbp], 0
	jmp	.L1
.L5:
	mov	r14d, DWORD PTR EINVAL[rip]
	neg	r14d
	jmp	.L2
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtl2832_init, .-rtl2832_init
	.comm	rtl2832_tuner_init_tua9001,8,8
	.comm	rtl2832_tuner_init_si2157,8,8
	.comm	rtl2832_tuner_init_r820t,8,8
	.comm	rtl2832_tuner_init_fc2580,8,8
	.comm	rtl2832_tuner_init_fc0012,8,8
	.comm	rtl2832_tuner_init_e4000,8,8
	.comm	FE_SCALE_NOT_AVAILABLE,8,8
	.comm	EINVAL,4,4
	.comm	DVBT_TR_THD_SET2,4,4
	.comm	DVBT_TRK_KS_P2,4,4
	.comm	DVBT_TRK_KS_I2,4,4
	.comm	DVBT_TRK_KC_I2,4,4
	.comm	DVBT_SOFT_RST,4,4
	.comm	DVBT_SERIAL,4,4
	.comm	DVBT_SCALE1_BB1,4,4
	.comm	DVBT_SCALE1_BB0,4,4
	.comm	DVBT_SCALE1_BAC,4,4
	.comm	DVBT_SCALE1_BAB,4,4
	.comm	DVBT_SCALE1_BAA,4,4
	.comm	DVBT_SCALE1_BA9,4,4
	.comm	DVBT_SCALE1_BA7,4,4
	.comm	DVBT_SCALE1_B93,4,4
	.comm	DVBT_SCALE1_B92,4,4
	.comm	DVBT_RSD_BER_FAIL_VAL,4,4
	.comm	DVBT_REG_PI,4,4
	.comm	DVBT_REG_GPE,4,4
	.comm	DVBT_PIP_ON,4,4
	.comm	DVBT_MPEG_IO_OPT_2_2,4,4
	.comm	DVBT_MPEG_IO_OPT_1_0,4,4
	.comm	DVBT_MGD_THD7,4,4
	.comm	DVBT_MGD_THD6,4,4
	.comm	DVBT_MGD_THD5,4,4
	.comm	DVBT_MGD_THD4,4,4
	.comm	DVBT_MGD_THD3,4,4
	.comm	DVBT_MGD_THD2,4,4
	.comm	DVBT_MGD_THD1,4,4
	.comm	DVBT_MGD_THD0,4,4
	.comm	DVBT_KB_P3,4,4
	.comm	DVBT_KB_P2,4,4
	.comm	DVBT_KB_P1,4,4
	.comm	DVBT_K1_CR_STEP12,4,4
	.comm	DVBT_EN_CACQ_NOTCH,4,4
	.comm	DVBT_EN_BK_TRK,4,4
	.comm	DVBT_CR_THD_SET2,4,4
	.comm	DVBT_CDIV_PH1,4,4
	.comm	DVBT_CDIV_PH0,4,4
	.comm	DVBT_AD_EN_REG1,4,4
	.comm	DVBT_AD_EN_REG,4,4
	.comm	DVBT_AD_AV_REF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rtl2832.c_rtl2832_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"load settings for tuner=%02x\012\000"
	.align	2
.LC2:
	.ascii	"failed=%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl2832_init, %function
rtl2832_init:
	@ args = 0, pretend = 0, frame = 680
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, #16
	sub	sp, sp, #684
	ldr	r4, [r0]
	ldr	r3, .L25
	mov	r2, #672
	mov	r1, #0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #676]
	mov	r3,#0
	ldr	r5, [r4, #40]
	bl	memset
	str	r9, [sp, #56]
	ldr	r9, .L25+4
	mov	r0, #32
	ldr	r9, [r9]
	mov	lr, #55
	str	r9, [sp, #36]
	mov	r9, #64
	str	r9, [sp, #104]
	mov	r9, #34
	str	r9, [sp, #120]
	mov	r9, #50
	mov	r3, #1
	mov	ip, #57
	mov	fp, #10240
	str	r0, [sp, #72]
	str	r0, [sp, #88]
	ldr	r0, .L25+8
	str	r9, [sp, #136]
	ldr	r0, [r0]
	str	lr, [sp, #152]
	str	r0, [sp, #52]
	ldr	r0, .L25+12
	ldr	lr, .L25+16
	ldr	r9, [r0]
	ldr	r0, .L25+20
	ldr	lr, [lr]
	ldr	r0, [r0]
	str	lr, [sp, #100]
	str	r0, [sp, #84]
	ldr	r0, .L25+24
	ldr	r10, .L25+28
	ldr	r0, [r0]
	ldr	lr, .L25+32
	ldr	r10, [r10]
	ldr	lr, [lr]
	str	r0, [sp, #116]
	ldr	r0, .L25+36
	str	r10, [sp, #4]
	ldr	r0, [r0]
	str	lr, [sp, #132]
	ldr	r10, .L25+40
	ldr	lr, .L25+44
	ldr	r10, [r10]
	str	r9, [sp, #68]
	str	r0, [sp, #148]
	ldr	r9, [lr]
	ldr	r0, .L25+48
	str	r3, [sp, #8]
	str	r3, [sp, #24]
	str	r9, [sp, #164]
	str	fp, [sp, #40]
	str	r10, [sp, #20]
	str	ip, [sp, #168]
	ldr	r0, [r0]
	mov	r1, #8
	str	r0, [sp, #196]
	ldr	r0, .L25+52
	str	r1, [sp, #264]
	ldr	r0, [r0]
	str	r1, [sp, #280]
	str	r0, [sp, #244]
	ldr	r0, .L25+56
	ldr	r1, .L25+60
	ldr	r0, [r0]
	ldr	r1, [r1]
	str	r0, [sp, #292]
	ldr	r0, .L25+64
	str	r1, [sp, #340]
	ldr	r0, [r0]
	ldr	r1, .L25+68
	str	r0, [sp, #308]
	ldr	r0, .L25+72
	ldr	r1, [r1]
	ldr	r0, [r0]
	mov	r2, #4
	str	r0, [sp, #324]
	mov	r0, #176
	str	r0, [sp, #312]
	mov	r0, #120
	str	r0, [sp, #328]
	mov	r0, #40
	mov	r8, #6
	str	r0, [sp, #344]
	str	r1, [sp, #356]
	mov	r0, #131
	mov	r1, #89
	mov	r9, #42
	ldr	lr, .L25+76
	ldr	ip, .L25+80
	ldr	lr, [lr]
	ldr	ip, [ip]
	str	lr, [sp, #180]
	ldr	lr, .L25+84
	str	ip, [sp, #212]
	ldr	lr, [lr]
	ldr	ip, .L25+88
	str	lr, [sp, #228]
	ldr	lr, .L25+92
	ldr	ip, [ip]
	ldr	lr, [lr]
	str	ip, [sp, #260]
	str	lr, [sp, #276]
	str	r8, [sp, #232]
	str	r2, [sp, #296]
	str	r9, [sp, #216]
	str	r1, [sp, #360]
	str	r0, [sp, #376]
	mov	r0, #212
	str	r0, [sp, #392]
	mov	r0, #101
	ldr	r1, .L25+96
	str	r0, [sp, #408]
	ldr	r1, [r1]
	mov	r7, #7
	str	r1, [sp, #372]
	ldr	r1, .L25+100
	mov	r6, #9
	ldr	r1, [r1]
	str	ip, [sp, #532]
	str	r1, [sp, #388]
	ldr	r1, .L25+104
	ldr	ip, .L25+108
	ldr	r0, [r1]
	mov	r1, #67
	str	r1, [sp, #424]
	ldr	r1, .L25+112
	str	r0, [sp, #404]
	ldr	r0, [r1]
	ldr	r1, .L25+116
	str	r0, [sp, #420]
	ldr	r0, [r1]
	ldr	r1, .L25+120
	str	r0, [sp, #436]
	ldr	r0, [r1]
	ldr	r1, .L25+124
	str	r0, [sp, #452]
	ldr	r0, [r1]
	ldr	r1, .L25+128
	str	r0, [sp, #468]
	ldr	r0, [r1]
	ldr	r1, .L25+132
	str	r0, [sp, #484]
	ldr	r0, [r1]
	ldr	r1, .L25+136
	str	r0, [sp, #500]
	ldr	r1, [r1]
	ldr	r0, .L25+140
	str	r1, [sp, #516]
	mov	r1, #10
	str	lr, [sp, #548]
	str	r3, [sp, #440]
	str	r2, [sp, #456]
	str	r3, [sp, #504]
	str	r7, [sp, #472]
	str	r1, [sp, #488]
	str	r6, [sp, #536]
	str	r6, [sp, #552]
	ldr	lr, [r0]
	ldr	r0, .L25+144
	ldr	r6, [ip]
	ldr	ip, [r0]
	ldr	r0, .L25+148
	str	r3, [sp, #664]
	ldr	r3, [r0]
	str	r2, [sp, #600]
	str	r3, [sp, #660]
	mov	r3, #5
	ldr	r2, .L25+152
	ldr	r1, .L25+156
	str	r7, [sp, #616]
	ldr	r7, [r2]
	ldr	r2, .L25+160
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r1, [sp, #596]
	mov	r0, r5
	ldr	r1, .L25+164
	str	r8, [sp, #632]
	str	lr, [sp, #580]
	str	ip, [sp, #612]
	str	r2, [sp, #644]
	str	r3, [sp, #648]
	str	r6, [sp, #564]
	str	r7, [sp, #628]
	bl	dev_dbg
	ldr	r3, .L25+168
	mov	r0, r4
	mov	r2, #0
	ldr	r1, [r3]
	bl	rtl2832_wr_demod_reg
	subs	r8, r0, #0
	bne	.L2
	mov	r7, r8
	add	r6, sp, #4
	b	.L3
.L4:
	ldr	r2, [r6, #4]
	ldr	r1, [r6, #8]
	mov	r0, r4
	bl	rtl2832_wr_demod_reg
	cmp	r0, #0
	add	r6, r6, #16
	bne	.L19
	add	r7, r7, #1
.L3:
	add	r0, sp, #4
	bl	ARRAY_SIZE
	cmp	r0, r7
	bgt	.L4
	ldr	r3, [r4, #4]
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, .L25+172
	bl	dev_dbg
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	sub	r3, r3, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L8
	.word	.L6
.L8:
	ldr	r6, .L25+176
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	mov	r7, r0
	ldr	r6, [r6]
.L13:
	cmp	r7, #0
	ble	.L14
	mov	r9, #0
	b	.L15
.L23:
	add	r9, r9, #1
	cmp	r7, r9
	add	r6, r6, #16
	beq	.L14
.L15:
	mov	r0, r4
	ldr	r2, [r6, #4]
	ldr	r1, [r6, #8]
	bl	rtl2832_wr_demod_reg
	cmp	r0, #0
	beq	.L23
.L19:
	mov	r8, r0
.L2:
	mov	r0, r5
	mov	r2, r8
	ldr	r1, .L25+180
	bl	dev_dbg
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #676]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r8
	add	sp, sp, #684
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r6, .L25+184
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	ldr	r6, [r6]
	mov	r7, r0
	b	.L13
.L6:
	ldr	r6, .L25+188
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	ldr	r6, [r6]
	mov	r7, r0
	b	.L13
.L12:
	ldr	r6, .L25+192
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	ldr	r6, [r6]
	mov	r7, r0
	b	.L13
.L11:
	ldr	r6, .L25+196
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	ldr	r6, [r6]
	mov	r7, r0
	b	.L13
.L9:
	ldr	r6, .L25+200
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	ldr	r6, [r6]
	mov	r7, r0
	b	.L13
.L14:
	mov	r3, #1
	mov	r1, #0
	ldr	r2, .L25+204
	ldr	r0, [r4, #36]
	ldr	ip, [r2]
	str	r3, [r4, #32]
	str	ip, [r0]
	ldr	ip, [r2]
	ldr	r0, [r4, #28]
	str	r3, [r4, #24]
	str	ip, [r0]
	ldr	ip, [r2]
	ldr	r0, [r4, #20]
	str	r3, [r4, #16]
	str	ip, [r0]
	ldr	r0, [r2]
	ldr	r2, [r4, #12]
	str	r3, [r4, #8]
	str	r0, [r2]
	str	r1, [r4]
	b	.L1
.L24:
	bl	__stack_chk_fail
.L5:
	ldr	r3, .L25+208
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L2
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	DVBT_RSD_BER_FAIL_VAL
	.word	DVBT_MGD_THD0
	.word	DVBT_MGD_THD1
	.word	DVBT_MGD_THD3
	.word	DVBT_MGD_THD2
	.word	DVBT_MGD_THD4
	.word	DVBT_AD_EN_REG
	.word	DVBT_MGD_THD5
	.word	DVBT_MGD_THD6
	.word	DVBT_AD_EN_REG1
	.word	DVBT_MGD_THD7
	.word	DVBT_EN_CACQ_NOTCH
	.word	DVBT_PIP_ON
	.word	DVBT_SCALE1_B92
	.word	DVBT_SCALE1_BA9
	.word	DVBT_SCALE1_B93
	.word	DVBT_SCALE1_BAA
	.word	DVBT_SCALE1_BA7
	.word	DVBT_EN_BK_TRK
	.word	DVBT_AD_AV_REF
	.word	DVBT_REG_PI
	.word	DVBT_CDIV_PH0
	.word	DVBT_CDIV_PH1
	.word	DVBT_SCALE1_BAB
	.word	DVBT_SCALE1_BAC
	.word	DVBT_SCALE1_BB0
	.word	DVBT_MPEG_IO_OPT_2_2
	.word	DVBT_SCALE1_BB1
	.word	DVBT_KB_P1
	.word	DVBT_KB_P2
	.word	DVBT_KB_P3
	.word	DVBT_K1_CR_STEP12
	.word	DVBT_REG_GPE
	.word	DVBT_SERIAL
	.word	DVBT_MPEG_IO_OPT_1_0
	.word	DVBT_TRK_KS_I2
	.word	DVBT_CR_THD_SET2
	.word	DVBT_TR_THD_SET2
	.word	DVBT_TRK_KS_P2
	.word	DVBT_TRK_KC_I2
	.word	.LC0
	.word	DVBT_SOFT_RST
	.word	.LC1
	.word	rtl2832_tuner_init_fc0012
	.word	.LC2
	.word	rtl2832_tuner_init_r820t
	.word	rtl2832_tuner_init_e4000
	.word	rtl2832_tuner_init_tua9001
	.word	rtl2832_tuner_init_si2157
	.word	rtl2832_tuner_init_fc2580
	.word	FE_SCALE_NOT_AVAILABLE
	.word	EINVAL
	.size	rtl2832_init, .-rtl2832_init
	.comm	rtl2832_tuner_init_tua9001,4,4
	.comm	rtl2832_tuner_init_si2157,4,4
	.comm	rtl2832_tuner_init_r820t,4,4
	.comm	rtl2832_tuner_init_fc2580,4,4
	.comm	rtl2832_tuner_init_fc0012,4,4
	.comm	rtl2832_tuner_init_e4000,4,4
	.comm	FE_SCALE_NOT_AVAILABLE,4,4
	.comm	EINVAL,4,4
	.comm	DVBT_TR_THD_SET2,4,4
	.comm	DVBT_TRK_KS_P2,4,4
	.comm	DVBT_TRK_KS_I2,4,4
	.comm	DVBT_TRK_KC_I2,4,4
	.comm	DVBT_SOFT_RST,4,4
	.comm	DVBT_SERIAL,4,4
	.comm	DVBT_SCALE1_BB1,4,4
	.comm	DVBT_SCALE1_BB0,4,4
	.comm	DVBT_SCALE1_BAC,4,4
	.comm	DVBT_SCALE1_BAB,4,4
	.comm	DVBT_SCALE1_BAA,4,4
	.comm	DVBT_SCALE1_BA9,4,4
	.comm	DVBT_SCALE1_BA7,4,4
	.comm	DVBT_SCALE1_B93,4,4
	.comm	DVBT_SCALE1_B92,4,4
	.comm	DVBT_RSD_BER_FAIL_VAL,4,4
	.comm	DVBT_REG_PI,4,4
	.comm	DVBT_REG_GPE,4,4
	.comm	DVBT_PIP_ON,4,4
	.comm	DVBT_MPEG_IO_OPT_2_2,4,4
	.comm	DVBT_MPEG_IO_OPT_1_0,4,4
	.comm	DVBT_MGD_THD7,4,4
	.comm	DVBT_MGD_THD6,4,4
	.comm	DVBT_MGD_THD5,4,4
	.comm	DVBT_MGD_THD4,4,4
	.comm	DVBT_MGD_THD3,4,4
	.comm	DVBT_MGD_THD2,4,4
	.comm	DVBT_MGD_THD1,4,4
	.comm	DVBT_MGD_THD0,4,4
	.comm	DVBT_KB_P3,4,4
	.comm	DVBT_KB_P2,4,4
	.comm	DVBT_KB_P1,4,4
	.comm	DVBT_K1_CR_STEP12,4,4
	.comm	DVBT_EN_CACQ_NOTCH,4,4
	.comm	DVBT_EN_BK_TRK,4,4
	.comm	DVBT_CR_THD_SET2,4,4
	.comm	DVBT_CDIV_PH1,4,4
	.comm	DVBT_CDIV_PH0,4,4
	.comm	DVBT_AD_EN_REG1,4,4
	.comm	DVBT_AD_EN_REG,4,4
	.comm	DVBT_AD_AV_REF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
