	.file	"extr_eeh.c_pcibios_set_pcie_reset_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pcibios_set_pcie_reset_state
	.type	pcibios_set_pcie_reset_state, @function
pcibios_set_pcie_reset_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	pci_device_to_OF_node@PLT
	mov	rdi, rax
	call	PCI_DN@PLT
	mov	rdi, rax
	cmp	ebx, 129
	je	.L2
	cmp	ebx, 130
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	cmp	ebx, 128
	je	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, 3
	call	rtas_pci_slot_reset@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	esi, esi
	call	rtas_pci_slot_reset@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, 1
	call	rtas_pci_slot_reset@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pcibios_set_pcie_reset_state, .-pcibios_set_pcie_reset_state
	.comm	EINVAL,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_eeh.c_pcibios_set_pcie_reset_state.c"
	.text
	.align	2
	.global	pcibios_set_pcie_reset_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcibios_set_pcie_reset_state, %function
pcibios_set_pcie_reset_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	pci_device_to_OF_node
	bl	PCI_DN
	cmp	r4, #129
	beq	.L2
	cmp	r4, #130
	beq	.L3
	cmp	r4, #128
	beq	.L10
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L2:
	mov	r1, #1
	bl	rtas_pci_slot_reset
	mov	r0, #0
	pop	{r4, pc}
.L10:
	mov	r1, #3
	bl	rtas_pci_slot_reset
	mov	r0, #0
	pop	{r4, pc}
.L3:
	mov	r1, #0
	bl	rtas_pci_slot_reset
	mov	r0, #0
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	EINVAL
	.size	pcibios_set_pcie_reset_state, .-pcibios_set_pcie_reset_state
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
