	.file	"extr_driver_pci.c_bcma_core_pci_power_save.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bcma_core_pci_power_save
	.type	bcma_core_pci_power_save, @function
bcma_core_pci_power_save:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR BCMA_HOSTTYPE_PCI[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L14
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -15[rax]
	cmp	edx, 5
	ja	.L3
	cmp	esi, 1
	mov	ecx, 32612
	sbb	r12d, r12d
	and	r12d, 8
	add	r12d, 116
.L12:
	mov	edx, DWORD PTR BCMA_CORE_PCI_MDIO_BLK1_MGMT1[rip]
	mov	esi, DWORD PTR BCMA_CORE_PCI_MDIO_BLK1[rip]
	mov	rdi, rbp
	call	bcma_pcie_mdio_writeread@PLT
	mov	edx, DWORD PTR BCMA_CORE_PCI_MDIO_BLK1_MGMT3[rip]
	mov	ecx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR BCMA_CORE_PCI_MDIO_BLK1[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	bcma_pcie_mdio_writeread@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	eax, 21
	cmp	eax, 1
	jbe	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	cmp	esi, 1
	mov	ecx, 32357
	sbb	r12d, r12d
	and	r12d, 8
	add	r12d, 117
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	bcma_core_pci_power_save, .-bcma_core_pci_power_save
	.comm	BCMA_HOSTTYPE_PCI,8,8
	.comm	BCMA_CORE_PCI_MDIO_BLK1_MGMT3,4,4
	.comm	BCMA_CORE_PCI_MDIO_BLK1_MGMT1,4,4
	.comm	BCMA_CORE_PCI_MDIO_BLK1,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_driver_pci.c_bcma_core_pci_power_save.c"
	.text
	.align	2
	.global	bcma_core_pci_power_save
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcma_core_pci_power_save, %function
bcma_core_pci_power_save:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bxne	lr
	push	{r4, r5, r6, lr}
	ldr	r4, [r0, #4]
	ldr	r3, [r4]
	ldr	r3, [r3]
	sub	r2, r3, #15
	cmp	r2, #5
	bhi	.L3
	cmp	r1, #0
	movne	r6, #116
	moveq	r6, #124
	ldr	r3, .L14+4
	ldr	r5, .L14+8
	ldr	r2, [r3]
	ldr	r1, [r5]
	ldr	r3, .L14+12
.L12:
	mov	r0, r4
	bl	bcma_pcie_mdio_writeread
	ldr	r2, .L14+16
	mov	r3, r6
	mov	r0, r4
	ldr	r1, [r5]
	ldr	r2, [r2]
	pop	{r4, r5, r6, lr}
	b	bcma_pcie_mdio_writeread
.L3:
	sub	r3, r3, #21
	cmp	r3, #1
	pophi	{r4, r5, r6, pc}
	ldr	r3, .L14+4
	ldr	r5, .L14+8
	cmp	r1, #0
	ldr	r2, [r3]
	movne	r6, #117
	moveq	r6, #125
	ldr	r1, [r5]
	ldr	r3, .L14+20
	b	.L12
.L15:
	.align	2
.L14:
	.word	BCMA_HOSTTYPE_PCI
	.word	BCMA_CORE_PCI_MDIO_BLK1_MGMT1
	.word	BCMA_CORE_PCI_MDIO_BLK1
	.word	32612
	.word	BCMA_CORE_PCI_MDIO_BLK1_MGMT3
	.word	32357
	.size	bcma_core_pci_power_save, .-bcma_core_pci_power_save
	.comm	BCMA_HOSTTYPE_PCI,4,4
	.comm	BCMA_CORE_PCI_MDIO_BLK1_MGMT3,4,4
	.comm	BCMA_CORE_PCI_MDIO_BLK1_MGMT1,4,4
	.comm	BCMA_CORE_PCI_MDIO_BLK1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
