	.file	"extr_saa7134-dvb.c_configure_tda827x_fe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"no tda827x tuner found at addr: %02x\n"
	.text
	.p2align 4
	.type	configure_tda827x_fe, @function
configure_tda827x_fe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	add	rdi, 4
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	mov	esi, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	videobuf_dvb_get_frontend@PLT
	mov	edi, DWORD PTR tda10046_attach[rip]
	mov	rdx, r12
	mov	rsi, rbx
	mov	rbp, rax
	xor	eax, eax
	call	dvb_attach@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L2
	cmp	QWORD PTR 8[rbx], 0
	mov	rsi, rax
	je	.L3
	mov	eax, DWORD PTR tda8290_i2c_gate_ctrl[rip]
	mov	DWORD PTR [rsi], eax
.L3:
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR tda827x_attach[rip]
	mov	r8, r13
	mov	rcx, r12
	xor	eax, eax
	call	dvb_attach@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	call	wprintk@PLT
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	configure_tda827x_fe, .-configure_tda827x_fe
	.comm	tda8290_i2c_gate_ctrl,4,4
	.comm	tda827x_attach,4,4
	.comm	tda10046_attach,4,4
	.comm	EINVAL,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_saa7134-dvb.c_configure_tda827x_fe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no tda827x tuner found at addr: %02x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	configure_tda827x_fe, %function
configure_tda827x_fe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #12
	mov	r1, #1
	add	r0, r0, #4
	mov	r7, r2
	bl	videobuf_dvb_get_frontend
	ldr	r3, .L15
	mov	r6, r0
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [r3]
	bl	dvb_attach
	cmp	r0, #0
	str	r0, [r6]
	beq	.L2
	ldr	r3, [r5, #4]
	ldr	r2, .L15+4
	cmp	r3, #0
	ldrne	r3, .L15+8
	mov	r1, r0
	ldrne	r3, [r3]
	strne	r3, [r0]
	str	r7, [sp]
	ldr	r0, [r2]
	mov	r3, r4
	ldr	r2, [r5]
	bl	dvb_attach
	cmp	r0, #0
	movne	r0, #0
	beq	.L14
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	ldr	r1, [r5]
	ldr	r0, .L15+12
	bl	wprintk
.L2:
	ldr	r3, .L15+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	.align	2
.L15:
	.word	tda10046_attach
	.word	tda827x_attach
	.word	tda8290_i2c_gate_ctrl
	.word	.LC0
	.word	EINVAL
	.size	configure_tda827x_fe, .-configure_tda827x_fe
	.comm	tda8290_i2c_gate_ctrl,4,4
	.comm	tda827x_attach,4,4
	.comm	tda10046_attach,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
