	.file	"extr_av7110_av.c_dvb_video_poll.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"av7110:%p, \n"
	.text
	.p2align 4
	.type	dvb_video_poll, @function
dvb_video_poll:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	lea	rsi, .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	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, 2
	mov	rbp, QWORD PTR [rax]
	mov	rdx, rbp
	call	dprintk@PLT
	mov	eax, DWORD PTR [rbx]
	and	eax, DWORD PTR O_ACCMODE[rip]
	cmp	eax, DWORD PTR O_RDONLY[rip]
	je	.L2
	lea	rsi, 32[rbp]
	mov	rdx, r12
	mov	rdi, rbx
	call	poll_wait@PLT
.L2:
	lea	rsi, 24[rbp]
	mov	rdx, r12
	mov	rdi, rbx
	call	poll_wait@PLT
	mov	rax, QWORD PTR 16[rbp]
	xor	r8d, r8d
	cmp	QWORD PTR 8[rbp], rax
	je	.L3
	mov	r8d, DWORD PTR EPOLLPRI[rip]
.L3:
	mov	eax, DWORD PTR [rbx]
	and	eax, DWORD PTR O_ACCMODE[rip]
	cmp	eax, DWORD PTR O_RDONLY[rip]
	je	.L1
	cmp	QWORD PTR 0[rbp], 0
	je	.L5
	cmp	QWORD PTR FREE_COND[rip], 0
	je	.L1
.L5:
	mov	eax, DWORD PTR EPOLLOUT[rip]
	or	eax, DWORD PTR EPOLLWRNORM[rip]
	or	r8d, eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dvb_video_poll, .-dvb_video_poll
	.comm	O_RDONLY,4,4
	.comm	O_ACCMODE,4,4
	.comm	FREE_COND,8,8
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLPRI,4,4
	.comm	EPOLLOUT,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_av7110_av.c_dvb_video_poll.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"av7110:%p, \012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dvb_video_poll, %function
dvb_video_poll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r8, .L12
	ldr	r5, [r3]
	mov	r6, r1
	mov	r2, r5
	ldr	r1, .L12+4
	mov	r0, #2
	ldr	r7, .L12+8
	bl	dprintk
	ldr	r3, [r4]
	ldr	r1, [r8]
	ldr	r2, [r7]
	and	r3, r3, r1
	cmp	r3, r2
	beq	.L2
	mov	r2, r6
	mov	r0, r4
	add	r1, r5, #16
	bl	poll_wait
.L2:
	mov	r2, r6
	add	r1, r5, #12
	mov	r0, r4
	bl	poll_wait
	ldmib	r5, {r2, r3}
	cmp	r2, r3
	ldrne	r3, .L12+12
	ldr	r1, [r8]
	ldrne	r0, [r3]
	ldr	r3, [r4]
	ldr	r2, [r7]
	and	r3, r3, r1
	moveq	r0, #0
	cmp	r3, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L12+16
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L12+20
	ldr	r2, .L12+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	orr	r0, r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	O_ACCMODE
	.word	.LC0
	.word	O_RDONLY
	.word	EPOLLPRI
	.word	FREE_COND
	.word	EPOLLOUT
	.word	EPOLLWRNORM
	.size	dvb_video_poll, .-dvb_video_poll
	.comm	O_RDONLY,4,4
	.comm	O_ACCMODE,4,4
	.comm	FREE_COND,4,4
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLPRI,4,4
	.comm	EPOLLOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
