	.file	"extr_qla3xxx.c_getPhyType.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Phy: %s\n"
	.text
	.p2align 4
	.type	getPhyType, @function
getPhyType:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, DWORD PTR PHY_TYPE_UNKNOWN[rip]
	cmp	edx, 65535
	je	.L7
	mov	eax, esi
	cmp	esi, 65535
	je	.L7
	mov	esi, DWORD PTR PHY_OUI_1_MASK[rip]
	sal	eax, 6
	and	esi, edx
	and	edx, DWORD PTR PHY_MODEL_MASK[rip]
	mov	ecx, edx
	mov	edx, DWORD PTR MAX_PHY_DEV_TYPES[rip]
	sar	esi, 10
	or	esi, eax
	sar	ecx, 4
	test	edx, edx
	jle	.L7
	sub	edx, 1
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR PHY_DEVICES[rip]
	xor	ebx, ebx
	add	rdx, 1
	sal	rdx, 4
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 16
	add	rax, 16
	cmp	rbx, rdx
	je	.L1
.L4:
	cmp	DWORD PTR [rax], esi
	jne	.L3
	cmp	DWORD PTR 4[rax], ecx
	jne	.L3
	mov	edx, DWORD PTR 12[rax]
	mov	edi, DWORD PTR [rdi]
	lea	rsi, .LC0[rip]
	call	netdev_info@PLT
	mov	rax, QWORD PTR PHY_DEVICES[rip]
	mov	r8d, DWORD PTR 8[rax+rbx]
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore 3
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	getPhyType, .-getPhyType
	.comm	PHY_TYPE_UNKNOWN,4,4
	.comm	PHY_OUI_1_MASK,4,4
	.comm	PHY_MODEL_MASK,4,4
	.comm	PHY_DEVICES,8,8
	.comm	MAX_PHY_DEV_TYPES,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_qla3xxx.c_getPhyType.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Phy: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getPhyType, %function
getPhyType:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	ip, .L8+4
	cmp	r1, r3
	cmpne	r2, r3
	push	{r4, r5, r6, r7, r8, lr}
	moveq	r3, #1
	movne	r3, #0
	mov	r8, r0
	ldr	r0, [ip]
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	ip, .L8+8
	ldr	r4, .L8+12
	ldr	lr, .L8+16
	ldr	ip, [ip]
	ldr	r4, [r4]
	ldr	r5, [lr]
	lsl	r1, r1, #6
	and	ip, ip, r2
	and	r4, r4, r2
	cmp	r5, #0
	orr	ip, r1, ip, asr #10
	asr	r4, r4, #4
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L8+20
	ldr	lr, [r7]
	mov	r2, lr
	b	.L4
.L3:
	cmp	r3, r5
	add	r2, r2, #16
	popeq	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r1, [lr, r3, lsl #4]
	lsl	r6, r3, #4
	cmp	r1, ip
	add	r3, r3, #1
	bne	.L3
	ldr	r1, [r2, #4]
	cmp	r1, r4
	bne	.L3
	ldr	r2, [r2, #12]
	ldr	r0, [r8]
	ldr	r1, .L8+24
	bl	netdev_info
	ldr	r3, [r7]
	add	r6, r3, r6
	ldr	r0, [r6, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	65535
	.word	PHY_TYPE_UNKNOWN
	.word	PHY_OUI_1_MASK
	.word	PHY_MODEL_MASK
	.word	MAX_PHY_DEV_TYPES
	.word	PHY_DEVICES
	.word	.LC0
	.size	getPhyType, .-getPhyType
	.comm	PHY_TYPE_UNKNOWN,4,4
	.comm	PHY_OUI_1_MASK,4,4
	.comm	PHY_MODEL_MASK,4,4
	.comm	PHY_DEVICES,4,4
	.comm	MAX_PHY_DEV_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
