	.file	"extr_bttv-driver.c_bttv_reinit_bt848.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d: reset, reinitialize\n"
	.text
	.p2align 4
	.type	bttv_reinit_bt848, @function
bttv_reinit_bt848:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR bttv_verbose[rip], 0
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	jne	.L5
.L2:
	lea	r12, 12[rbp]
	xor	r13d, r13d
	mov	rsi, r13
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	QWORD PTR 16[rbp], 0
	mov	rdi, rbp
	xor	esi, esi
	call	bttv_set_dma@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	init_bt848@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	DWORD PTR 8[rbp], -1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	set_input@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 24[rdi]
	lea	rdi, .LC0[rip]
	call	pr_info@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bttv_reinit_bt848, .-bttv_reinit_bt848
	.comm	bttv_verbose,8,8
	.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_bttv-driver.c_bttv_reinit_bt848.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d: reset, reinitialize\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bttv_reinit_bt848, %function
bttv_reinit_bt848:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, #0
	bne	.L8
.L2:
	mov	r6, #0
	add	r5, r4, #12
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	mov	r1, r6
	mov	r0, r4
	str	r6, [r4, #16]
	bl	bttv_set_dma
	mov	r1, r6
	mov	r0, r5
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	init_bt848
	mvn	r3, #0
	mov	r0, r4
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	set_input
.L8:
	ldr	r1, [r0, #20]
	ldr	r0, .L9+4
	bl	pr_info
	b	.L2
.L10:
	.align	2
.L9:
	.word	bttv_verbose
	.word	.LC0
	.size	bttv_reinit_bt848, .-bttv_reinit_bt848
	.comm	bttv_verbose,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
