	.file	"extr_mii_fdt.c_mii_fdt_get_phynode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mii_fdt_get_phynode, @function
mii_fdt_get_phynode:
.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
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r12, 4[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rax, props.1931[rip]
	mov	ecx, 4
	mov	rdx, r12
	mov	edi, ebp
	mov	rsi, QWORD PTR [rax+rbx*8]
	call	OF_getencprop@PLT
	test	rax, rax
	jg	.L9
	add	rbx, 1
.L2:
	lea	rdi, props.1931[rip]
	call	nitems@PLT
	cmp	rax, rbx
	ja	.L5
	mov	eax, -1
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rsp]
	call	OF_node_from_xref@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mii_fdt_get_phynode, .-mii_fdt_get_phynode
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"phy-handle"
.LC1:
	.string	"phy"
.LC2:
	.string	"phy-device"
	.section	.data.rel.local,"aw"
	.align 16
	.type	props.1931, @object
	.size	props.1931, 24
props.1931:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.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_mii_fdt.c_mii_fdt_get_phynode.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mii_fdt_get_phynode, %function
mii_fdt_get_phynode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L11
	ldr	r5, .L11+4
	sub	sp, sp, #12
	mov	r6, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r5
	mov	r4, #0
	b	.L2
.L5:
	mov	r3, #4
	mov	r2, sp
	mov	r0, r6
	ldr	r1, [r5], #4
	bl	OF_getencprop
	cmp	r0, #0
	bgt	.L9
	add	r4, r4, #1
.L2:
	mov	r0, r7
	bl	nitems
	cmp	r0, r4
	bhi	.L5
	mvn	r0, #0
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r0, [sp]
	bl	OF_node_from_xref
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LANCHOR0
	.size	mii_fdt_get_phynode, .-mii_fdt_get_phynode
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"phy-handle\000"
	.align	2
.LC2:
	.ascii	"phy\000"
	.align	2
.LC3:
	.ascii	"phy-device\000"
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	props.4215, %object
	.size	props.4215, 12
props.4215:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
