	.file	"extr_feature.c_core99_gmac_phy_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	core99_gmac_phy_reset, @function
core99_gmac_phy_reset:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR macio_chips[rip]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR macio_keylargo[rip]
	je	.L2
	cmp	rax, QWORD PTR macio_pangea[rip]
	je	.L2
	cmp	rax, QWORD PTR macio_intrepid[rip]
	je	.L2
	mov	rax, QWORD PTR ENODEV[rip]
	neg	rax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	ebp, ebp
	mov	rdi, rbp
	call	LOCK@PLT
	mov	esi, DWORD PTR KEYLARGO_GPIO_OUTPUT_ENABLE[rip]
	mov	edi, DWORD PTR KL_GPIO_ETH_PHY_RESET[rip]
	call	MACIO_OUT8@PLT
	mov	edi, DWORD PTR KL_GPIO_ETH_PHY_RESET[rip]
	call	MACIO_IN8@PLT
	mov	rdi, rbp
	call	UNLOCK@PLT
	mov	edi, 10
	call	mdelay@PLT
	mov	rdi, rbp
	call	LOCK@PLT
	mov	esi, DWORD PTR KEYLARGO_GPIO_OUTOUT_DATA[rip]
	mov	edi, DWORD PTR KL_GPIO_ETH_PHY_RESET[rip]
	call	MACIO_OUT8@PLT
	mov	rdi, rbp
	call	UNLOCK@PLT
	mov	edi, 10
	call	mdelay@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	core99_gmac_phy_reset, .-core99_gmac_phy_reset
	.comm	macio_pangea,8,8
	.comm	macio_keylargo,8,8
	.comm	macio_intrepid,8,8
	.comm	macio_chips,8,8
	.comm	KL_GPIO_ETH_PHY_RESET,4,4
	.comm	KEYLARGO_GPIO_OUTPUT_ENABLE,4,4
	.comm	KEYLARGO_GPIO_OUTOUT_DATA,4,4
	.comm	ENODEV,8,8
	.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_feature.c_core99_gmac_phy_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	core99_gmac_phy_reset, %function
core99_gmac_phy_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L8+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L8+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	push	{r4, r5, r6, lr}
	mov	r4, #0
	mov	r0, r4
	bl	LOCK
	ldr	r5, .L8+20
	ldr	r3, .L8+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	MACIO_OUT8
	ldr	r0, [r5]
	bl	MACIO_IN8
	mov	r0, r4
	bl	UNLOCK
	mov	r0, #10
	bl	mdelay
	mov	r0, r4
	bl	LOCK
	ldr	r3, .L8+28
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	MACIO_OUT8
	mov	r0, r4
	bl	UNLOCK
	mov	r0, #10
	bl	mdelay
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	macio_chips
	.word	macio_keylargo
	.word	macio_pangea
	.word	macio_intrepid
	.word	ENODEV
	.word	KL_GPIO_ETH_PHY_RESET
	.word	KEYLARGO_GPIO_OUTPUT_ENABLE
	.word	KEYLARGO_GPIO_OUTOUT_DATA
	.size	core99_gmac_phy_reset, .-core99_gmac_phy_reset
	.comm	macio_pangea,4,4
	.comm	macio_keylargo,4,4
	.comm	macio_intrepid,4,4
	.comm	macio_chips,4,4
	.comm	KL_GPIO_ETH_PHY_RESET,4,4
	.comm	KEYLARGO_GPIO_OUTPUT_ENABLE,4,4
	.comm	KEYLARGO_GPIO_OUTOUT_DATA,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
