	.file	"extr_pm8001_init.c_pm8001_pci_suspend.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" PCI PM not supported\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"pdev=0x%p, slot=%s, entering operating state [D%d]\n"
	.text
	.p2align 4
	.type	pm8001_pci_suspend, @function
pm8001_pci_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	pci_get_drvdata@PLT
	mov	rdi, rax
	mov	rbx, QWORD PTR [rax]
	mov	r12, rax
	call	sas_suspend_ha@PLT
	mov	edi, DWORD PTR pm8001_wq[rip]
	call	flush_workqueue@PLT
	mov	edi, DWORD PTR 48[rbx]
	call	scsi_block_requests@PLT
	mov	eax, DWORD PTR 8[rbp]
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR PM8001_CHIP_DISP[rip]
	mov	esi, 255
	mov	rdi, rbx
	call	[QWORD PTR 8[rax]]
	mov	rax, QWORD PTR PM8001_CHIP_DISP[rip]
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	mov	edi, DWORD PTR 32[rbx]
	mov	rsi, r12
	call	free_irq@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	pci_choose_state@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	mov	ecx, eax
	mov	r12d, eax
	call	pm8001_printk@PLT
	mov	rdi, rbp
	call	pci_save_state@PLT
	mov	rdi, rbp
	call	pci_disable_device@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	pci_set_power_state@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, 4[rbp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pm8001_pci_suspend, .-pm8001_pci_suspend
	.comm	pm8001_wq,4,4
	.comm	chip_8001,8,8
	.comm	PM8001_MAX_MSIX_VEC,4,4
	.comm	PM8001_CHIP_DISP,8,8
	.comm	ENODEV,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_pm8001_init.c_pm8001_pci_suspend.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" PCI PM not supported\012\000"
	.align	2
.LC1:
	.ascii	"pdev=0x%p, slot=%s, entering operating state [D%d]\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pm8001_pci_suspend, %function
pm8001_pci_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r4, r0
	bl	pci_get_drvdata
	ldr	r5, [r0]
	mov	r6, r0
	bl	sas_suspend_ha
	ldr	r3, .L7
	ldr	r0, [r3]
	bl	flush_workqueue
	ldr	r0, [r5, #24]
	bl	scsi_block_requests
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L6
	ldr	r7, .L7+4
	mov	r1, #255
	ldr	r3, [r7]
	mov	r0, r5
	ldr	r3, [r3, #4]
	blx	r3
	ldr	r3, [r7]
	mov	r0, r5
	ldr	r3, [r3]
	blx	r3
	mov	r1, r6
	ldr	r0, [r5, #16]
	bl	free_irq
	mov	r1, r8
	mov	r0, r4
	bl	pci_choose_state
	mov	r6, r0
	mov	r3, r0
	mov	r1, r4
	ldr	r2, [r5, #8]
	ldr	r0, .L7+8
	bl	pm8001_printk
	mov	r0, r4
	bl	pci_save_state
	mov	r0, r4
	bl	pci_disable_device
	mov	r1, r6
	mov	r0, r4
	bl	pci_set_power_state
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r1, .L7+12
	add	r0, r4, #4
	bl	dev_err
	ldr	r3, .L7+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	pm8001_wq
	.word	PM8001_CHIP_DISP
	.word	.LC1
	.word	.LC0
	.word	ENODEV
	.size	pm8001_pci_suspend, .-pm8001_pci_suspend
	.comm	pm8001_wq,4,4
	.comm	chip_8001,4,4
	.comm	PM8001_MAX_MSIX_VEC,4,4
	.comm	PM8001_CHIP_DISP,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
