	.file	"extr_igb_ethtool.c_igb_get_module_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Address change required to access page 0xA2, but not supported. Please report the module type to the driver maintainers.\n"
	.text
	.p2align 4
	.type	igb_get_module_info, @function
igb_get_module_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR e1000_media_type_copper[rip]
	je	.L2
	cmp	rax, QWORD PTR e1000_media_type_unknown[rip]
	je	.L2
	mov	esi, DWORD PTR IGB_SFF_8472_COMP[rip]
	mov	rdx, rsp
	mov	rdi, rbp
	call	igb_read_phy_reg_i2c@PLT
	cmp	QWORD PTR E1000_SUCCESS[rip], rax
	je	.L5
.L13:
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR IGB_SFF_8472_SWAP[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	call	igb_read_phy_reg_i2c@PLT
	cmp	QWORD PTR E1000_SUCCESS[rip], rax
	jne	.L13
	mov	eax, DWORD PTR 4[rsp]
	and	eax, DWORD PTR IGB_SFF_ADDRESSING_MODE[rip]
	and	eax, 255
	jne	.L7
	movzx	edx, BYTE PTR [rsp]
	cmp	edx, DWORD PTR IGB_SFF_8472_UNSUP[rip]
	je	.L8
	mov	edx, DWORD PTR ETH_MODULE_SFF_8472[rip]
	mov	DWORD PTR 4[rbx], edx
	mov	edx, DWORD PTR ETH_MODULE_SFF_8472_LEN[rip]
	mov	DWORD PTR [rbx], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdi, .LC0[rip]
	call	hw_dbg@PLT
.L8:
	mov	eax, DWORD PTR ETH_MODULE_SFF_8079[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR ETH_MODULE_SFF_8079_LEN[rip]
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	igb_get_module_info, .-igb_get_module_info
	.comm	e1000_media_type_unknown,8,8
	.comm	e1000_media_type_copper,8,8
	.comm	IGB_SFF_ADDRESSING_MODE,4,4
	.comm	IGB_SFF_8472_UNSUP,4,4
	.comm	IGB_SFF_8472_SWAP,4,4
	.comm	IGB_SFF_8472_COMP,4,4
	.comm	ETH_MODULE_SFF_8472_LEN,4,4
	.comm	ETH_MODULE_SFF_8472,4,4
	.comm	ETH_MODULE_SFF_8079_LEN,4,4
	.comm	ETH_MODULE_SFF_8079,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EIO,4,4
	.comm	E1000_SUCCESS,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_igb_ethtool.c_igb_get_module_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Address change required to access page 0xA2, but no"
	.ascii	"t supported. Please report the module type to the d"
	.ascii	"river maintainers.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_get_module_info, %function
igb_get_module_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L16
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r1
	bl	netdev_priv
	ldr	r2, .L16+4
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L16+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r3, .L16+12
	add	r2, sp, #4
	ldr	r1, [r3]
	mov	r4, r0
	bl	igb_read_phy_reg_i2c
	ldr	r6, .L16+16
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L5
.L13:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L16+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L5:
	ldr	r3, .L16+28
	mov	r0, r4
	ldr	r1, [r3]
	add	r2, sp, #8
	bl	igb_read_phy_reg_i2c
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L13
	ldr	r3, .L16+32
	ldr	r0, [sp, #8]
	ldr	r3, [r3]
	and	r0, r0, r3
	ands	r0, r0, #255
	bne	.L7
	ldr	r3, .L16+36
	ldrb	r2, [sp, #4]	@ zero_extendqisi2
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
	ldr	r2, .L16+40
	ldr	r3, .L16+44
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r5, #4]
	str	r3, [r5]
	b	.L1
.L7:
	ldr	r0, .L16+48
	bl	hw_dbg
.L8:
	ldr	r2, .L16+52
	ldr	r3, .L16+56
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, #0
	str	r2, [r5, #4]
	str	r3, [r5]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	e1000_media_type_copper
	.word	e1000_media_type_unknown
	.word	IGB_SFF_8472_COMP
	.word	E1000_SUCCESS
	.word	EIO
	.word	EOPNOTSUPP
	.word	IGB_SFF_8472_SWAP
	.word	IGB_SFF_ADDRESSING_MODE
	.word	IGB_SFF_8472_UNSUP
	.word	ETH_MODULE_SFF_8472
	.word	ETH_MODULE_SFF_8472_LEN
	.word	.LC0
	.word	ETH_MODULE_SFF_8079
	.word	ETH_MODULE_SFF_8079_LEN
	.size	igb_get_module_info, .-igb_get_module_info
	.comm	e1000_media_type_unknown,4,4
	.comm	e1000_media_type_copper,4,4
	.comm	IGB_SFF_ADDRESSING_MODE,4,4
	.comm	IGB_SFF_8472_UNSUP,4,4
	.comm	IGB_SFF_8472_SWAP,4,4
	.comm	IGB_SFF_8472_COMP,4,4
	.comm	ETH_MODULE_SFF_8472_LEN,4,4
	.comm	ETH_MODULE_SFF_8472,4,4
	.comm	ETH_MODULE_SFF_8079_LEN,4,4
	.comm	ETH_MODULE_SFF_8079,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EIO,4,4
	.comm	E1000_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
