	.file	"extr_av7110.c_debiirq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"debi"
.LC1:
	.string	"type 0x%04x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"DEBI irq oops @ %ld, psr:0x%08x, ssr:0x%08x\n"
	.section	.rodata.str1.1
.LC3:
	.string	"%s\n"
.LC4:
	.string	"debi DATA_CI_PUT\n"
.LC5:
	.string	"debi DATA_MPEG_PLAY\n"
.LC6:
	.string	"debi DATA_BMP_LOAD\n"
	.text
	.p2align 4
	.type	debiirq, @function
debiirq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, 20[r13]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	ebp, ebx
	call	print_time@PLT
	sar	ebp, 8
	mov	edx, ebx
	mov	edi, 4
	lea	rsi, .LC1[rip]
	xor	eax, eax
	and	ebp, 31
	call	dprintk@PLT
	cmp	ebx, -1
	je	.L31
	movzx	ebx, bl
	mov	DWORD PTR 0[r13], -1
	add	ebx, -128
	cmp	ebx, 10
	ja	.L4
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rbx*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L14-.L6
	.long	.L11-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L11-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 40[r13]
	movsx	rbp, ebp
	mov	r8d, DWORD PTR [rax+rbp*4]
	test	r8d, r8d
	jne	.L32
	.p2align 4,,10
	.p2align 3
.L29:
	mov	r14d, DWORD PTR RX_BUFF[rip]
.L15:
	mov	rdi, r12
	call	spin_lock@PLT
	test	r14d, r14d
	je	.L3
	mov	esi, DWORD PTR DEBINOSWAP[rip]
	xor	ecx, ecx
	mov	edx, r14d
	mov	rdi, r13
	mov	r8d, 2
	call	iwdebi@PLT
.L3:
	mov	rdi, r13
	call	ARM_ClearMailBox@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR 56[r13]
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR 48[r13]
	movsx	rbp, ebp
	mov	edx, DWORD PTR 16[r13]
	mov	rsi, QWORD PTR 8[r13]
	lea	rdi, [rax+rbp*4]
	call	av7110_record_cb@PLT
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rsi, .LC5[rip]
	mov	edi, 4
	xor	eax, eax
	call	dprintk@PLT
	mov	r14d, DWORD PTR TX_BUFF[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, QWORD PTR 8[r13]
	movsx	rax, DWORD PTR Reserved_SIZE[rip]
	lea	rdi, .LC3[rip]
	mov	DWORD PTR -4[rsi+rax*4], 0
	xor	eax, eax
	call	printk@PLT
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR 16[r13]
	mov	rsi, QWORD PTR 8[r13]
	mov	rdi, r13
	call	CI_handle@PLT
	mov	r14d, DWORD PTR RX_BUFF[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rsi, .LC4[rip]
	mov	edi, 4
	xor	eax, eax
	call	dprintk@PLT
	mov	r14d, DWORD PTR TX_BUFF[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR 8[r13]
	movsx	rax, DWORD PTR [rsi]
	cmp	eax, 1
	jg	.L18
	cmp	DWORD PTR 8[rsi], 255
	je	.L33
.L18:
	mov	edx, DWORD PTR 16[r13]
	lea	rdi, 24[r13]
	call	ci_get_data@PLT
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC6[rip]
	mov	edi, 4
	xor	eax, eax
	call	dprintk@PLT
	mov	r14d, DWORD PTR TX_BUFF[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L14:
	movsx	rdx, DWORD PTR 16[r13]
	mov	rsi, QWORD PTR 8[r13]
	lea	rdi, 56[r13]
	mov	rax, rdx
	imul	rdx, rdx, -1370734243
	shr	rdx, 32
	add	edx, eax
	sar	eax, 31
	sar	edx, 7
	sub	edx, eax
	call	dvb_dmx_swfilter_packets@PLT
	mov	r14d, DWORD PTR RX_BUFF[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edi, DWORD PTR 60[r13]
	mov	esi, DWORD PTR SSR[rip]
	call	saa7146_read@PLT
	mov	edi, DWORD PTR 60[r13]
	mov	esi, DWORD PTR PSR[rip]
	mov	r14d, eax
	call	saa7146_read@PLT
	movsx	rsi, DWORD PTR jiffies[rip]
	mov	ecx, r14d
	lea	rdi, .LC2[rip]
	mov	edx, eax
	xor	eax, eax
	call	printk@PLT
	mov	rdi, r12
	call	spin_lock@PLT
	jmp	.L3
.L4:
	mov	rdi, r12
	call	spin_lock@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L33:
	mov	ecx, DWORD PTR 20[rsi]
	xor	edx, edx
	test	ecx, ecx
	jle	.L19
	mov	edx, DWORD PTR CA_CI_MODULE_PRESENT[rip]
	cmp	ecx, 5
	jle	.L19
	or	edx, DWORD PTR CA_CI_MODULE_READY[rip]
.L19:
	mov	rcx, QWORD PTR 32[r13]
	mov	DWORD PTR [rcx+rax*4], edx
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L32:
	mov	esi, DWORD PTR 16[r13]
	mov	rdi, QWORD PTR 8[r13]
	mov	r9, r13
	xor	ecx, ecx
	xor	edx, edx
	call	DvbDmxFilterCallback@PLT
	jmp	.L29
	.cfi_endproc
.LFE0:
	.size	debiirq, .-debiirq
	.comm	jiffies,4,4
	.comm	TX_BUFF,4,4
	.comm	SSR,4,4
	.comm	Reserved_SIZE,4,4
	.comm	RX_BUFF,4,4
	.comm	PSR,4,4
	.comm	DEBINOSWAP,4,4
	.comm	CA_CI_MODULE_READY,4,4
	.comm	CA_CI_MODULE_PRESENT,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.c_debiirq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"debi\000"
	.align	2
.LC1:
	.ascii	"type 0x%04x\012\000"
	.align	2
.LC2:
	.ascii	"DEBI irq oops @ %ld, psr:0x%08x, ssr:0x%08x\012\000"
	.align	2
.LC3:
	.ascii	"%s\012\000"
	.align	2
.LC4:
	.ascii	"debi DATA_CI_PUT\012\000"
	.align	2
.LC5:
	.ascii	"debi DATA_MPEG_PLAY\012\000"
	.align	2
.LC6:
	.ascii	"debi DATA_BMP_LOAD\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	debiirq, %function
debiirq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	ldr	r4, [r6], #12
	sub	sp, sp, #12
	asr	r3, r4, #8
	mov	r5, r0
	ldr	r0, .L37
	and	r7, r3, #31
	bl	print_time
	mov	r2, r4
	mov	r0, #4
	ldr	r1, .L37+4
	bl	dprintk
	cmn	r4, #1
	beq	.L34
	mvn	r3, #0
	and	r4, r4, #255
	sub	r4, r4, #128
	str	r3, [r5]
	cmp	r4, #10
	ldrls	pc, [pc, r4, asl #2]
	b	.L4
.L6:
	.word	.L14
	.word	.L11
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L11:
	ldr	r3, [r5, #24]
	ldr	r2, [r3, r7, lsl #2]
	cmp	r2, #0
	bne	.L35
.L32:
	ldr	r3, .L37+8
	ldr	r4, [r3]
.L15:
	mov	r0, r6
	bl	spin_lock
	cmp	r4, #0
	beq	.L3
	mov	r1, #2
	ldr	r3, .L37+12
	str	r1, [sp]
	ldr	r1, [r3]
	mov	r2, r4
	mov	r3, #0
	mov	r0, r5
	bl	iwdebi
.L3:
	mov	r0, r5
	bl	ARM_ClearMailBox
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	spin_unlock
.L13:
	ldr	r3, [r5, #32]
	cmp	r3, #0
	beq	.L32
	ldr	r0, [r5, #28]
	ldr	r2, [r5, #8]
	ldr	r1, [r5, #4]
	add	r0, r0, r7, lsl #2
	bl	av7110_record_cb
	b	.L32
.L12:
	mov	r0, #4
	ldr	r1, .L37+16
	bl	dprintk
	ldr	r3, .L37+20
	ldr	r4, [r3]
	b	.L15
.L10:
	mov	r2, #0
	ldr	r3, .L37+24
	ldr	r1, [r5, #4]
	ldr	r3, [r3]
	ldr	r0, .L37+28
	sub	r3, r3, #-1073741823
	str	r2, [r1, r3, lsl #2]
	bl	printk
	b	.L32
.L9:
	mov	r0, r5
	ldmib	r5, {r1, r2}
	bl	CI_handle
	ldr	r3, .L37+8
	ldr	r4, [r3]
	b	.L15
.L8:
	mov	r0, #4
	ldr	r1, .L37+32
	bl	dprintk
	ldr	r3, .L37+20
	ldr	r4, [r3]
	b	.L15
.L7:
	ldr	r1, [r5, #4]
	ldr	r3, [r1]
	cmp	r3, #1
	bgt	.L18
	ldr	r2, [r1, #8]
	cmp	r2, #255
	beq	.L36
.L18:
	ldr	r2, [r5, #8]
	add	r0, r5, #16
	bl	ci_get_data
	b	.L32
.L5:
	mov	r0, #4
	ldr	r1, .L37+36
	bl	dprintk
	ldr	r3, .L37+20
	ldr	r4, [r3]
	b	.L15
.L14:
	ldr	r1, [r5, #8]
	ldr	r3, .L37+40
	asr	r2, r1, #31
	smull	r0, r3, r1, r3
	add	r3, r3, r1
	rsb	r2, r2, r3, asr #7
	ldr	r1, [r5, #4]
	add	r0, r5, #32
	bl	dvb_dmx_swfilter_packets
	ldr	r3, .L37+8
	ldr	r4, [r3]
	b	.L15
.L34:
	ldr	r2, .L37+44
	ldr	r3, .L37+48
	ldr	r1, [r2]
	ldr	r0, [r5, #36]
	ldr	r7, [r3]
	bl	saa7146_read
	ldr	r3, .L37+52
	mov	r4, r0
	ldr	r1, [r3]
	ldr	r0, [r5, #36]
	bl	saa7146_read
	mov	r2, r4
	mov	r3, r0
	mov	r1, r7
	ldr	r0, .L37+56
	bl	printk
	mov	r0, r6
	bl	spin_lock
	b	.L3
.L36:
	ldr	r2, [r1, #20]
	cmp	r2, #0
	movle	r2, #0
	ble	.L19
	ldr	r1, .L37+60
	cmp	r2, #5
	ldr	r2, [r1]
	ldrgt	r1, .L37+64
	ldrgt	r1, [r1]
	orrgt	r2, r2, r1
.L19:
	ldr	r1, [r5, #20]
	str	r2, [r1, r3, lsl #2]
	b	.L32
.L35:
	mov	r3, #0
	stm	sp, {r2, r5}
	mov	r2, r3
	ldmib	r5, {r0, r1}
	bl	DvbDmxFilterCallback
	b	.L32
.L4:
	mov	r0, r6
	bl	spin_lock
	b	.L3
.L38:
	.align	2
.L37:
	.word	.LC0
	.word	.LC1
	.word	RX_BUFF
	.word	DEBINOSWAP
	.word	.LC5
	.word	TX_BUFF
	.word	Reserved_SIZE
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	-1370734243
	.word	PSR
	.word	jiffies
	.word	SSR
	.word	.LC2
	.word	CA_CI_MODULE_PRESENT
	.word	CA_CI_MODULE_READY
	.size	debiirq, .-debiirq
	.comm	jiffies,4,4
	.comm	TX_BUFF,4,4
	.comm	SSR,4,4
	.comm	Reserved_SIZE,4,4
	.comm	RX_BUFF,4,4
	.comm	PSR,4,4
	.comm	DEBINOSWAP,4,4
	.comm	CA_CI_MODULE_READY,4,4
	.comm	CA_CI_MODULE_PRESENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
