	.file	"extr_pch_gbe_main.c_pch_gbe_reset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pch_gbe_phy_get_id error\n"
	.text
	.p2align 4
	.globl	pch_gbe_reset
	.type	pch_gbe_reset, @function
pch_gbe_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, 8[rdi]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR [rdi]
	mov	rbx, rdi
	mov	rdi, rbp
	call	pch_gbe_mac_reset_hw@PLT
	mov	rdi, r12
	call	pch_gbe_set_multi@PLT
	mov	esi, DWORD PTR PCH_GBE_MAR_ENTRIES[rip]
	mov	rdi, rbp
	call	pch_gbe_mac_init_rx_addrs@PLT
	mov	rdi, rbp
	call	pch_gbe_phy_get_id@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	pch_gbe_phy_init_setting@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pch_gbe_phy_set_rgmii@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	netdev_err@PLT
	.cfi_endproc
.LFE0:
	.size	pch_gbe_reset, .-pch_gbe_reset
	.comm	PCH_GBE_MAR_ENTRIES,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_pch_gbe_main.c_pch_gbe_reset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pch_gbe_phy_get_id error\012\000"
	.text
	.align	2
	.global	pch_gbe_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	pch_gbe_reset, %function
pch_gbe_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, [r4], #4
	mov	r5, r0
	mov	r0, r4
	bl	pch_gbe_mac_reset_hw
	mov	r0, r6
	bl	pch_gbe_set_multi
	ldr	r3, .L6
	mov	r0, r4
	ldr	r1, [r3]
	bl	pch_gbe_mac_init_rx_addrs
	mov	r0, r4
	bl	pch_gbe_phy_get_id
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	pch_gbe_phy_init_setting
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	pch_gbe_phy_set_rgmii
.L5:
	ldr	r0, [r5]
	ldr	r1, .L6+4
	pop	{r4, r5, r6, lr}
	b	netdev_err
.L7:
	.align	2
.L6:
	.word	PCH_GBE_MAR_ENTRIES
	.word	.LC0
	.size	pch_gbe_reset, .-pch_gbe_reset
	.comm	PCH_GBE_MAR_ENTRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
