	.file	"extr_cx88-mpeg.c_cx8802_suspend_common.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"suspend\n"
.LC1:
	.string	"%s: suspend mpeg\n"
	.text
	.p2align 4
	.type	cx8802_suspend_common, @function
cx8802_suspend_common:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	pci_get_drvdata@PLT
	lea	r13, 16[rax]
	mov	rbx, rax
	mov	r14, QWORD PTR 8[rax]
	mov	rdi, r13
	call	spin_lock@PLT
	lea	rdi, 24[rbx]
	call	list_empty@PLT
	test	eax, eax
	je	.L9
.L2:
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	cx88_shutdown@PLT
	mov	rdi, rbp
	call	pci_save_state@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	pci_choose_state@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	pci_set_power_state@PLT
	test	rax, rax
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, 2
	call	dprintk@PLT
	mov	esi, DWORD PTR [r14]
	lea	rdi, .LC1[rip]
	call	printk@PLT
	mov	rdi, rbx
	call	cx8802_stop_dma@PLT
	lea	rdi, 20[rbx]
	call	del_timer@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	pci_disable_device@PLT
	mov	DWORD PTR [rbx], 1
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.cfi_endproc
.LFE0:
	.size	cx8802_suspend_common, .-cx8802_suspend_common
	.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_cx88-mpeg.c_cx8802_suspend_common.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"suspend\012\000"
	.align	2
.LC1:
	.ascii	"%s: suspend mpeg\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx8802_suspend_common, %function
cx8802_suspend_common:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	bl	pci_get_drvdata
	mov	r4, r0
	add	r6, r0, #8
	mov	r0, r6
	ldr	r8, [r4, #4]
	bl	spin_lock
	add	r0, r4, #16
	bl	list_empty
	cmp	r0, #0
	beq	.L9
.L2:
	mov	r0, r6
	bl	spin_unlock
	ldr	r0, [r4, #4]
	bl	cx88_shutdown
	mov	r0, r7
	bl	pci_save_state
	mov	r1, r5
	mov	r0, r7
	bl	pci_choose_state
	mov	r1, r0
	mov	r0, r7
	bl	pci_set_power_state
	cmp	r0, #0
	bne	.L10
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r1, .L11
	mov	r0, #2
	bl	dprintk
	ldr	r1, [r8]
	ldr	r0, .L11+4
	bl	printk
	mov	r0, r4
	bl	cx8802_stop_dma
	add	r0, r4, #12
	bl	del_timer
	b	.L2
.L10:
	mov	r0, r7
	bl	pci_disable_device
	mov	r3, #1
	mov	r0, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.size	cx8802_suspend_common, .-cx8802_suspend_common
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
