	.file	"extr_stb0899_drv.c_stb0899_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Initializing STB0899 ... "
.LC1:
	.string	"init device"
.LC2:
	.string	"init S2 demod"
.LC3:
	.string	"init S1 demod"
.LC4:
	.string	"init S2 FEC"
.LC5:
	.string	"init TST"
	.text
	.p2align 4
	.type	stb0899_init, @function
stb0899_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edx, 1
	lea	rcx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR [rdi]
	mov	edi, DWORD PTR 0[rbp]
	mov	rbx, QWORD PTR 8[rbp]
	call	dprintk@PLT
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rcx, .LC1[rip]
	mov	edx, 1
	call	dprintk@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	je	.L2
	mov	r12d, 8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 4[rax]
	mov	rdi, rbp
	call	stb0899_write_reg@PLT
	mov	rax, QWORD PTR 32[rbx]
	add	rax, r12
	add	r12, 8
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	jne	.L3
.L2:
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 1
	lea	rcx, .LC2[rip]
	call	dprintk@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	ecx, DWORD PTR [rax]
	cmp	ecx, 65535
	je	.L4
	mov	r12d, 12
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 8[rax]
	mov	r8d, DWORD PTR 4[rax]
	mov	rdi, rbp
	mov	esi, DWORD PTR STB0899_S2DEMOD[rip]
	call	stb0899_write_s2reg@PLT
	mov	rax, QWORD PTR 24[rbx]
	add	rax, r12
	add	r12, 12
	mov	ecx, DWORD PTR [rax]
	cmp	ecx, 65535
	jne	.L5
.L4:
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 1
	lea	rcx, .LC3[rip]
	call	dprintk@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	je	.L6
	mov	r12d, 8
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR 4[rax]
	mov	rdi, rbp
	call	stb0899_write_reg@PLT
	mov	rax, QWORD PTR 16[rbx]
	add	rax, r12
	add	r12, 8
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	jne	.L7
.L6:
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 1
	lea	rcx, .LC4[rip]
	call	dprintk@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR [rax]
	cmp	ecx, 65535
	je	.L8
	mov	r12d, 12
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR 8[rax]
	mov	r8d, DWORD PTR 4[rax]
	mov	rdi, rbp
	mov	esi, DWORD PTR STB0899_S2FEC[rip]
	call	stb0899_write_s2reg@PLT
	mov	rax, QWORD PTR 8[rbx]
	add	rax, r12
	add	r12, 12
	mov	ecx, DWORD PTR [rax]
	cmp	ecx, 65535
	jne	.L9
.L8:
	mov	esi, DWORD PTR FE_DEBUG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 1
	lea	rcx, .LC5[rip]
	call	dprintk@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	je	.L10
	mov	r12d, 8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR 4[rax]
	mov	rdi, rbp
	call	stb0899_write_reg@PLT
	mov	rax, QWORD PTR [rbx]
	add	rax, r12
	add	r12, 8
	mov	esi, DWORD PTR [rax]
	cmp	esi, 65535
	jne	.L11
.L10:
	mov	rdi, rbp
	call	stb0899_init_calc@PLT
	mov	rdi, rbp
	call	stb0899_diseqc_init@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	stb0899_init, .-stb0899_init
	.comm	STB0899_S2FEC,4,4
	.comm	STB0899_S2DEMOD,4,4
	.comm	FE_DEBUG,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_stb0899_drv.c_stb0899_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Initializing STB0899 ... \000"
	.align	2
.LC1:
	.ascii	"init device\000"
	.align	2
.LC2:
	.ascii	"init S2 demod\000"
	.align	2
.LC3:
	.ascii	"init S1 demod\000"
	.align	2
.LC4:
	.ascii	"init S2 FEC\000"
	.align	2
.LC5:
	.ascii	"init TST\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stb0899_init, %function
stb0899_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r4, [r0]
	ldr	r6, .L19
	mov	r2, #1
	ldm	r4, {r0, r5}
	ldr	r1, [r6]
	ldr	r3, .L19+4
	sub	sp, sp, #12
	bl	dprintk
	ldr	r1, [r6]
	ldr	r3, .L19+8
	mov	r2, #1
	ldr	r0, [r4]
	bl	dprintk
	ldr	r3, [r5, #16]
	ldr	r8, .L19+12
	ldr	r1, [r3]
	cmp	r1, r8
	beq	.L2
	mov	r7, #8
.L3:
	ldr	r2, [r3, #4]
	mov	r0, r4
	bl	stb0899_write_reg
	ldr	r3, [r5, #16]
	ldr	r1, [r3, r7]
	add	r3, r3, r7
	cmp	r1, r8
	add	r7, r7, #8
	bne	.L3
.L2:
	ldr	r3, .L19+16
	ldr	r1, [r6]
	mov	r2, #1
	ldr	r0, [r4]
	bl	dprintk
	ldr	r1, [r5, #12]
	ldr	r8, .L19+12
	ldr	r3, [r1]
	cmp	r3, r8
	beq	.L4
	mov	r7, #12
	ldr	r9, .L19+20
.L5:
	ldmib	r1, {r1, r2}
	str	r1, [sp]
	ldr	r1, [r9]
	mov	r0, r4
	bl	stb0899_write_s2reg
	ldr	r1, [r5, #12]
	ldr	r3, [r1, r7]
	add	r1, r1, r7
	cmp	r3, r8
	add	r7, r7, #12
	bne	.L5
.L4:
	ldr	r3, .L19+24
	ldr	r1, [r6]
	mov	r2, #1
	ldr	r0, [r4]
	bl	dprintk
	ldr	r3, [r5, #8]
	ldr	r8, .L19+12
	ldr	r1, [r3]
	cmp	r1, r8
	beq	.L6
	mov	r7, #8
.L7:
	ldr	r2, [r3, #4]
	mov	r0, r4
	bl	stb0899_write_reg
	ldr	r3, [r5, #8]
	ldr	r1, [r3, r7]
	add	r3, r3, r7
	cmp	r1, r8
	add	r7, r7, #8
	bne	.L7
.L6:
	ldr	r3, .L19+28
	ldr	r1, [r6]
	mov	r2, #1
	ldr	r0, [r4]
	bl	dprintk
	ldr	r1, [r5, #4]
	ldr	r8, .L19+12
	ldr	r3, [r1]
	cmp	r3, r8
	beq	.L8
	mov	r7, #12
	ldr	r9, .L19+32
.L9:
	ldmib	r1, {r1, r2}
	str	r1, [sp]
	ldr	r1, [r9]
	mov	r0, r4
	bl	stb0899_write_s2reg
	ldr	r1, [r5, #4]
	ldr	r3, [r1, r7]
	add	r1, r1, r7
	cmp	r3, r8
	add	r7, r7, #12
	bne	.L9
.L8:
	ldr	r1, [r6]
	ldr	r3, .L19+36
	mov	r2, #1
	ldr	r0, [r4]
	bl	dprintk
	ldr	r3, [r5]
	ldr	r7, .L19+12
	ldr	r1, [r3]
	cmp	r1, r7
	beq	.L10
	mov	r6, #8
.L11:
	ldr	r2, [r3, #4]
	mov	r0, r4
	bl	stb0899_write_reg
	ldr	r3, [r5]
	ldr	r1, [r3, r6]
	add	r3, r3, r6
	cmp	r1, r7
	add	r6, r6, #8
	bne	.L11
.L10:
	mov	r0, r4
	bl	stb0899_init_calc
	mov	r0, r4
	bl	stb0899_diseqc_init
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L20:
	.align	2
.L19:
	.word	FE_DEBUG
	.word	.LC0
	.word	.LC1
	.word	65535
	.word	.LC2
	.word	STB0899_S2DEMOD
	.word	.LC3
	.word	.LC4
	.word	STB0899_S2FEC
	.word	.LC5
	.size	stb0899_init, .-stb0899_init
	.comm	STB0899_S2FEC,4,4
	.comm	STB0899_S2DEMOD,4,4
	.comm	FE_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
