	.file	"extr_saa7146_vbi.c_vbi_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dev:%p, fh:%p\n"
	.text
	.p2align 4
	.type	vbi_close, @function
vbi_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	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 [rsi]
	mov	rsi, rdi
	mov	rbx, QWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	rdx, rbp
	call	DEB_VBI@PLT
	cmp	QWORD PTR [rbx], rbp
	je	.L5
.L2:
	mov	esi, DWORD PTR RESOURCE_DMA3_BRS[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	saa7146_res_free@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	vbi_stop@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	vbi_close, .-vbi_close
	.comm	RESOURCE_DMA3_BRS,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_saa7146_vbi.c_vbi_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dev:%p, fh:%p\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vbi_close, %function
vbi_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r4, [r5]
	ldr	r6, [r0]
	mov	r1, r0
	mov	r2, r4
	ldr	r0, .L6
	bl	DEB_VBI
	ldr	r3, [r6]
	cmp	r3, r4
	beq	.L5
.L2:
	ldr	r3, .L6+4
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	saa7146_res_free
.L5:
	mov	r1, r5
	mov	r0, r4
	bl	vbi_stop
	b	.L2
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	RESOURCE_DMA3_BRS
	.size	vbi_close, .-vbi_close
	.comm	RESOURCE_DMA3_BRS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
